From a647c154600af0ebf5cd00cf47a5330bdfe9adb4 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 5 Dec 2020 17:19:53 +0100 Subject: [PATCH] test(e2e): missed this one --- e2e/specs/scroll-behavior.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 () { -- 2.47.3