From f5c8a689eb89ad6bab3e560b8fc001f687bdea37 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Wed, 23 Sep 2015 13:47:42 +0200 Subject: [PATCH] fix filters e2e firefox --- e2e/full/backlog.e2e.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/e2e/full/backlog.e2e.js b/e2e/full/backlog.e2e.js index d598fe34..100a7786 100644 --- a/e2e/full/backlog.e2e.js +++ b/e2e/full/backlog.e2e.js @@ -426,7 +426,7 @@ describe('backlog', function() { }); }); - describe('filters', function() { + describe.only('filters', function() { it('show filters', async function() { let transition = utils.common.transitionend('.menu-secondary.filters-bar', 'opacity'); @@ -451,11 +451,11 @@ describe('backlog', function() { expect(newUsCount).to.be.below(usCount); + htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body'); + // clear status await filterQ.clear(); - htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body'); - await htmlChanges(); }); @@ -465,17 +465,20 @@ describe('backlog', function() { let htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body'); let ref = await backlogHelper.getTestingFilterRef(); + ref = ref.replace('#', ''); + await filterQ.sendKeys(ref); await htmlChanges(); let newUsCount = await userstories.count(); expect(newUsCount).to.be.equal(1); + htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body'); + // clear status await filterQ.clear(); - htmlChanges = await utils.common.outerHtmlChanges('.backlog-table-body'); await htmlChanges(); });