Skip to content

Commit

Permalink
ic: trying to fix the functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Dec 20, 2016
1 parent 9b6507f commit e771bd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/functional/index.js
Expand Up @@ -127,9 +127,10 @@ describe('Abe', function() {
.url('http://localhost:3003/abe/editor/articles/ftest.html#slug')
.waitForElementVisible('//body')
.assert.title('Abe')
.pause(1000)
.click("//div[@class='btns']/button[3]")
.pause(2000)
//.assert.containsText("//div[@class='display-status']/span", "publish") // don't pass in Travis
.assert.containsText("//div[@class='display-status']/span", "publish")
.url('http://localhost:3003/abe/editor')
.waitForElementVisible('//body')
.assert.cssClassPresent("//table[@id='navigation-list']/tbody/tr[1]/td[6]/a", "label-published");
Expand Down

0 comments on commit e771bd9

Please sign in to comment.