Skip to content

Commit 6152822

Browse files
authored
Merge pull request #6099 from ethereum/fix_matomo_e2e
fix E2E matomo
2 parents 8ccdd09 + 0c72763 commit 6152822

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

apps/remix-ide-e2e/src/tests/matomo.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ module.exports = {
9999
.pause(2000)
100100
.waitForElementPresent('*[data-id="beginnerbtn"]', 10000)
101101
.click('[data-id="beginnerbtn"]')
102+
.waitForElementVisible({
103+
selector: `//*[contains(text(), 'Welcome to Remix IDE')]`,
104+
locateStrategy: 'xpath'
105+
})
106+
.waitForElementVisible('*[id="remixTourSkipbtn"]')
107+
.click('*[id="remixTourSkipbtn"]')
102108
.clickLaunchIcon('settings')
103109
.waitForElementNotPresent('[id="settingsMatomoPerfAnalytics"]:checked')
104110
.execute(function () {
@@ -110,8 +116,6 @@ module.exports = {
110116
},
111117
'change settings #group2': function (browser: NightwatchBrowser) {
112118
browser
113-
.waitForElementVisible('*[id="remixTourSkipbtn"]')
114-
.click('*[id="remixTourSkipbtn"]')
115119
.waitForElementVisible('*[data-id="label-matomo-settings"]')
116120
.pause(1000)
117121
.click('*[data-id="label-matomo-settings"]')

0 commit comments

Comments
 (0)