Skip to content

Commit 806b198

Browse files
committed
fix test
1 parent 9074989 commit 806b198

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,13 +382,11 @@ module.exports = {
382382
.execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() })
383383
.pause(100)
384384
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]')
385-
.openFile('contracts')
386-
.openFile('contracts/hooks')
387-
.openFile('contracts/hooks/examples')
388-
.openFile('contracts/hooks/examples/FullRange.sol')
385+
.openFile('src')
386+
.openFile('src/Counter.sol')
389387
.pause(1000)
390388
.getEditorValue((content) => {
391-
browser.assert.ok(content.indexOf(`contract FullRange is BaseHook`) !== -1,
389+
browser.assert.ok(content.indexOf(`contract Counter is BaseHook {`) !== -1,
392390
'Incorrect content')
393391
})
394392
},
@@ -406,4 +404,4 @@ url = https://github.com/bunsenstraat/empty3
406404
[submodule "testactionsub"]
407405
path = testactionsub
408406
url = https://github.com/bunsenstraat/testactions
409-
`
407+
`

0 commit comments

Comments
 (0)