Skip to content

Commit

Permalink
useXpath
Browse files Browse the repository at this point in the history
  • Loading branch information
jasson99 committed Jul 27, 2020
1 parent b0160ee commit 2eb9058
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/acceptance/stepDefinitions/generalContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ When('the user clears all error message from the webUI', function() {
})

Then('no message should be displayed on the webUI', function() {
return client.page.phoenixPage().waitForElementNotPresent('@message')
return client.page
.phoenixPage()
.useXpath()
.waitForElementNotPresent('@message')
})

Then('as {string} the content of {string} should be the same as the local {string}', function(
Expand Down

0 comments on commit 2eb9058

Please sign in to comment.