Commit 5cad1401 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix broken test

parent 76119cb1
...@@ -425,7 +425,7 @@ export default { ...@@ -425,7 +425,7 @@ export default {
}, },
template: ` template: `
<tr> <tr :class="{ 'js-child-row': model.isChildren }">
<td> <td>
<a v-if="!model.isFolder" <a v-if="!model.isFolder"
class="environment-name" class="environment-name"
......
...@@ -262,7 +262,7 @@ describe('Environment', () => { ...@@ -262,7 +262,7 @@ describe('Environment', () => {
// wait for next async request // wait for next async request
setTimeout(() => { setTimeout(() => {
expect(component.$el.querySelectorAll('.child-row').length).toEqual(1); expect(component.$el.querySelectorAll('.js-child-row').length).toEqual(1);
expect(component.$el.querySelector('td.text-center > a.btn').textContent).toContain('Show all'); expect(component.$el.querySelector('td.text-center > a.btn').textContent).toContain('Show all');
Vue.http.interceptors = _.without(Vue.http.interceptors, folderInterceptor); Vue.http.interceptors = _.without(Vue.http.interceptors, folderInterceptor);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment