Skip to content

Commit 780b40d

Browse files
ci-botAniket-Engg
authored andcommitted
fix workspace delete test
1 parent 333bf6b commit 780b40d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ module.exports = {
472472
.currentWorkspaceIs('workspace_name')
473473
},
474474

475-
'Should rename a workspace #group1#pr': function (browser: NightwatchBrowser) {
475+
'Should rename a workspace #group1': function (browser: NightwatchBrowser) {
476476
const selector = 'a[data-id="dropdown-item-workspace_name"] + div[data-id="workspacesubMenuIcon"]'
477477
browser
478478
.waitForElementPresent('*[data-id="workspacesSelect"]')
@@ -503,7 +503,7 @@ module.exports = {
503503
.waitForElementVisible('*[data-id="treeViewDivtreeViewItemtests"]')
504504
},
505505

506-
'Should delete a workspace #group1': function (browser: NightwatchBrowser) {
506+
'Should delete a workspace #group1#pr': function (browser: NightwatchBrowser) {
507507
const selector = 'a[data-id="dropdown-item-workspace_name_1"] + div[data-id="workspacesubMenuIcon"]'
508508
browser
509509
.switchWorkspace('workspace_name_1')
@@ -512,7 +512,6 @@ module.exports = {
512512
.waitForElementVisible(`[data-id="dropdown-item-workspace_name_1"]`)
513513
.waitForElementVisible(selector)
514514
.click(selector)
515-
.waitForElementVisible('*[data-id="workspacesubMenuOverlay"]')
516515
.waitForElementVisible('*[data-id="workspacesubMenuDelete"]')
517516
.click('*[data-id="workspacesubMenuDelete"]') // delete workspace_name_1
518517
.waitForElementVisible('*[data-id="topbarModalModalDialogModalFooter-react"]')

0 commit comments

Comments
 (0)