From: Eduardo San Martin Morote Date: Sat, 5 Dec 2020 16:17:18 +0000 (+0100) Subject: test(e2e): update for safari X-Git-Tag: v4.0.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d13638f026c26775a63d1a11053065196f3b88e;p=thirdparty%2Fvuejs%2Frouter.git test(e2e): update for safari --- diff --git a/e2e/specs/scroll-behavior.js b/e2e/specs/scroll-behavior.js index d7168283..292d3cb0 100644 --- a/e2e/specs/scroll-behavior.js +++ b/e2e/specs/scroll-behavior.js @@ -17,10 +17,8 @@ module.exports = { .execute(function () { window.scrollTo(0, 100) - // works in Safari - document.querySelector('li:nth-child(2) a').click() }) - // .click('li:nth-child(2) a') + .click('li:nth-child(2) a') .waitForElementPresent('.view.foo', TIMEOUT) .assert.containsText('.view', 'foo') .execute(function () {