From 615c31d7b72d107927be815487b5dbb8bc8d2717 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 29 Jan 2024 11:34:17 +0100 Subject: [PATCH] fix test --- apps/remix-ide-e2e/src/tests/workspace_git.test.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts index 9bb7038a83..3142dedf15 100644 --- a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts @@ -382,13 +382,11 @@ module.exports = { .execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() }) .pause(100) .waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]') - .openFile('contracts') - .openFile('contracts/hooks') - .openFile('contracts/hooks/examples') - .openFile('contracts/hooks/examples/FullRange.sol') + .openFile('src') + .openFile('src/Counter.sol') .pause(1000) .getEditorValue((content) => { - browser.assert.ok(content.indexOf(`contract FullRange is BaseHook`) !== -1, + browser.assert.ok(content.indexOf(`contract Counter is BaseHook {`) !== -1, 'Incorrect content') }) }, @@ -406,4 +404,4 @@ url = https://github.com/bunsenstraat/empty3 [submodule "testactionsub"] path = testactionsub url = https://github.com/bunsenstraat/testactions -` \ No newline at end of file +`