fix filters e2e firefox

stable
Juanfran 2015-09-23 13:47:42 +02:00
parent 46122072f7
commit f5c8a689eb
1 changed files with 7 additions and 4 deletions

View File

@ -426,7 +426,7 @@ describe('backlog', function() {
}); });
}); });
describe('filters', function() { describe.only('filters', function() {
it('show filters', async function() { it('show filters', async function() {
let transition = utils.common.transitionend('.menu-secondary.filters-bar', 'opacity'); let transition = utils.common.transitionend('.menu-secondary.filters-bar', 'opacity');
@ -451,11 +451,11 @@ describe('backlog', function() {
expect(newUsCount).to.be.below(usCount); expect(newUsCount).to.be.below(usCount);
htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body');
// clear status // clear status
await filterQ.clear(); await filterQ.clear();
htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body');
await htmlChanges(); await htmlChanges();
}); });
@ -465,17 +465,20 @@ describe('backlog', function() {
let htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body'); let htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body');
let ref = await backlogHelper.getTestingFilterRef(); let ref = await backlogHelper.getTestingFilterRef();
ref = ref.replace('#', ''); ref = ref.replace('#', '');
await filterQ.sendKeys(ref); await filterQ.sendKeys(ref);
await htmlChanges(); await htmlChanges();
let newUsCount = await userstories.count(); let newUsCount = await userstories.count();
expect(newUsCount).to.be.equal(1); expect(newUsCount).to.be.equal(1);
htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body');
// clear status // clear status
await filterQ.clear(); await filterQ.clear();
htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body');
await htmlChanges(); await htmlChanges();
}); });