Skip to content

Commit

Permalink
fix browser size
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouzekri committed Aug 4, 2017
1 parent 46d1d33 commit 95726f3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/e2e/specs/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
const devServer = browser.globals.devServerURL

browser
.resizeWindow(1280, 800)
.url(devServer)
.waitForElementVisible('.vue-map-container .gm-style', 8000)
.execute((selector) => {
Expand Down Expand Up @@ -52,9 +53,9 @@ module.exports = {
browser.moveToElement('.vue-map', relX, relY).mouseButtonClick()
browser.pause(10000)
browser
.assert.containsText('.card .card-item:nth-child(1) strong', '48.857487002645485')
.assert.containsText('.card .card-item:nth-child(2) strong', '2.35107421875')
.assert.containsText('.card .card-item:nth-child(3) strong', '1 Rue de la Coutellerie, 75004 Paris, France')
.assert.containsText('.card .card-item:nth-child(1) strong', '48.86031047029195')
.assert.containsText('.card .card-item:nth-child(2) strong', '2.3455810546875')
.assert.containsText('.card .card-item:nth-child(3) strong', '36 Rue des Bourdonnais, 75001 Paris, France')
.assert.elementPresent('main')
}
}

0 comments on commit 95726f3

Please sign in to comment.