From 3d13638f026c26775a63d1a11053065196f3b88e Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 5 Dec 2020 17:17:18 +0100 Subject: [PATCH] test(e2e): update for safari --- e2e/specs/scroll-behavior.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 () { -- 2.47.3