Skip to content

Commit 0754b74

Browse files
committed
fix more e2e
1 parent 8793432 commit 0754b74

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ module.exports = {
110110
.executeScriptInTerminal('remix.exeCurrent()')
111111
.scrollToLine(33)
112112
.waitForElementPresent('.highlightLine34', 60000)
113-
.checkElementStyle('.highlightLine34', 'background-color', 'rgba(0,0,0,0)')
113+
.checkElementStyle('.highlightLine34', 'background-color', 'rgba(0, 0, 0, 0)')
114114
.scrollToLine(40)
115115
.waitForElementPresent('.highlightLine41', 60000)
116-
.checkElementStyle('.highlightLine41', 'background-color', 'rgba(0,0,0,0)')
116+
.checkElementStyle('.highlightLine41', 'background-color', 'rgba(0, 0, 0, 0)')
117117
.scrollToLine(50)
118118
.waitForElementPresent('.highlightLine51', 60000)
119-
.checkElementStyle('.highlightLine51', 'background-color', 'rgba(0,0,0,0)')
119+
.checkElementStyle('.highlightLine51', 'background-color', 'rgba(0, 0, 0, 0)')
120120
},
121121

122122
'Should remove 1 highlight from source code #group1':
@@ -132,8 +132,8 @@ module.exports = {
132132
.waitForElementVisible('li[data-id="treeViewLitreeViewItemcontracts/3_Ballot.sol"]')
133133
.click('li[data-id="treeViewLitreeViewItemcontracts/3_Ballot.sol"]')
134134
.waitForElementNotPresent('.highlightLine33', 60000)
135-
.checkElementStyle('.highlightLine41', 'background-color', 'rgba(0,0,0,0)')
136-
.checkElementStyle('.highlightLine51', 'background-color', 'rgba(0,0,0,0)')
135+
.checkElementStyle('.highlightLine41', 'background-color', 'rgba(0, 0, 0, 0)')
136+
.checkElementStyle('.highlightLine51', 'background-color', 'rgba(0, 0, 0, 0)')
137137
},
138138

139139
'Should remove all highlights from source code #group1': function (browser: NightwatchBrowser) {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = {
4545
.verifyCallReturnValue('0x5B38Da6a701c568545dCfcB03FcB875f56beddC4', ['0:address: 0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108'])
4646
},
4747

48-
'Should keep the delegation status after reloae & switching accounts #group1': function (browser: NightwatchBrowser) {
48+
'Should keep the delegation status after reload & switching accounts #group1': function (browser: NightwatchBrowser) {
4949
browser
5050
.refresh()
5151
.clickLaunchIcon('udapp')
@@ -60,6 +60,7 @@ module.exports = {
6060
'Should remove the delegation #group1': function (browser: NightwatchBrowser) {
6161
browser
6262
.waitForElementVisible('*[data-id="delete-delegation"]')
63+
.click('*[data-id="remixDRValueLabel"]')
6364
.click('*[data-id="delete-delegation"]')
6465
.modalFooterOKClick('udappNotify')
6566
.waitForElementNotPresent('*[data-id="delete-delegation"]')

0 commit comments

Comments
 (0)