Skip to content

Commit

Permalink
ic: update nightwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Jul 10, 2017
1 parent 56b4f8a commit a0c75ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -154,7 +154,7 @@
"jsesc": "^2.5.1",
"json5": "^0.5.1",
"mocha": "^3.0.2",
"nightwatch": "^0.9.11",
"nightwatch": "^0.9.16",
"node-sass": "^4.3.0",
"nodemon": "^1.8.1",
"once": "^1.4.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/data/data1.js
Expand Up @@ -38,7 +38,7 @@ describe('Abe', function() {
.useXpath()
.url('http://localhost:3003/abe/editor/autocomplete.html')
.click('//*[@id="colors.multiple"]/option[2]')
.waitForElementVisible('//*[@id="colors"]/div/div/div/div[2]/div/div/div', 3000)
.waitForElementVisible('//*[@id="colors"]/div/div/div/div[2]/div/div/div', 1000)
.assert.containsText('//*[@id="colors"]/div/div/div/div[2]/div/div/div', 'rouge')
.click('//*[@id="colors"]/div/div/div/div[2]/div/div/div/span')
.assert.elementNotPresent('//*[@id="colors"]/div/div/div/div[2]/div/div/div')
Expand All @@ -49,7 +49,7 @@ describe('Abe', function() {
.useXpath()
.url('http://localhost:3003/abe/editor/autocomplete.html')
.setValue('//*[@id="colors.colors_autocomplete"]', 'rouge')
.waitForElementVisible('//*[@id="colors"]/div/div/div/div[3]/div/div[2]/div', 3000)
.waitForElementVisible('//*[@id="colors"]/div/div/div/div[3]/div/div[2]/div', 1000)
.click('//*[@id="colors"]/div/div/div/div[3]/div/div[2]/div')
.waitForElementVisible('//*[@id="colors"]/div/div/div/div[3]/div/div/div', 1000)
.assert.containsText('//*[@id="colors"]/div/div/div/div[3]/div/div/div', 'rouge')
Expand Down

0 comments on commit a0c75ea

Please sign in to comment.