From 8ba15c239b5b4964ff9f71f9d4a964518a65273f Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Thu, 18 Jul 2024 20:24:30 +0200 Subject: [PATCH] fix test --- apps/remix-ide-e2e/src/tests/dgit_github.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/dgit_github.test.ts b/apps/remix-ide-e2e/src/tests/dgit_github.test.ts index 87e5fe8caa..3081782e15 100644 --- a/apps/remix-ide-e2e/src/tests/dgit_github.test.ts +++ b/apps/remix-ide-e2e/src/tests/dgit_github.test.ts @@ -102,7 +102,7 @@ module.exports = { .click('*[data-id="remotes-panel"]') .waitForElementVisible('*[data-id="remotes-panel-content"]') .waitForElementVisible({ - selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-origin"]', + selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-origin-default"]', locateStrategy: 'xpath' }) .waitForElementVisible({ @@ -232,7 +232,7 @@ module.exports = { locateStrategy: 'xpath' }) .waitForElementVisible({ - selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-newremote"]', + selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-newremote-default"]', locateStrategy: 'xpath' }) }, @@ -263,7 +263,7 @@ module.exports = { } }) }, - 'remove the remove #group2': function (browser: NightwatchBrowser) { + 'remove the remote #group2': function (browser: NightwatchBrowser) { browser .pause(1000) .click('*[data-id="remotes-panel"]') @@ -278,7 +278,7 @@ module.exports = { }) .pause(1000) .waitForElementNotPresent({ - selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-newremote"]', + selector: '//*[@data-id="remotes-panel-content"]//*[@data-id="remote-detail-newremote-default"]', locateStrategy: 'xpath' }) },