From: Eduardo San Martin Morote Date: Sat, 5 Dec 2020 16:19:53 +0000 (+0100) Subject: test(e2e): missed this one X-Git-Tag: v4.0.0~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a647c154600af0ebf5cd00cf47a5330bdfe9adb4;p=thirdparty%2Fvuejs%2Frouter.git test(e2e): missed this one --- diff --git a/e2e/specs/scroll-behavior.js b/e2e/specs/scroll-behavior.js index 292d3cb0..5d365696 100644 --- a/e2e/specs/scroll-behavior.js +++ b/e2e/specs/scroll-behavior.js @@ -62,11 +62,7 @@ module.exports = { null, 'restore scroll position on back again' ) - - .execute(function () { - // for Safari... - document.querySelector('li:nth-child(3) a').click() - }) + .click('li:nth-child(3) a') .waitForElementPresent('.view.bar', TIMEOUT) .assert.evaluate( function () {