Skip to content

Commit c116390

Browse files
ci-botAniket-Engg
authored andcommitted
fix workspace rename test. reduce zindex which was interfering with modals
1 parent 0fdd104 commit c116390

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,15 +480,16 @@ module.exports = {
480480
.waitForElementVisible('*[data-id="dropdown-item-workspace_name"]')
481481
.waitForElementVisible(selector)
482482
.click(selector)
483+
// .waitForElementVisible('*[data-id="workspacesubMenuOverlay"]', 5000)
484+
// .waitForElementVisible('*[data-id="workspacesubMenuRename"]', 5000)
483485
.click('*[data-id="workspacesubMenuRename"]') // rename workspace_name
484-
.useCss()
485486
// .waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]')
486487
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextRename"]')
487488
.click('*[data-id="modalDialogCustomPromptTextRename"]')
488489
.clearValue('*[data-id="modalDialogCustomPromptTextRename"]')
489490
.setValue('*[data-id="modalDialogCustomPromptTextRename"]', 'workspace_name_renamed')
490491
.waitForElementPresent('[data-id="topbarModalModalDialogModalFooter-react"] .modal-ok')
491-
.click('[data-id="topbarModalModalDialogModalFooter-react"] .modal-ok')
492+
.click('[data-id="topbarModalModalDialogModalFooter-react"] > .modal-ok')
492493
.pause(2000)
493494
.switchWorkspace('workspace_name_1')
494495
.pause(2000)
@@ -497,7 +498,6 @@ module.exports = {
497498
.switchWorkspace('workspace_name_renamed')
498499
.pause(2000)
499500
.currentWorkspaceIs('workspace_name_renamed')
500-
.expandAllFolders()
501501
.waitForElementVisible('*[data-id="treeViewDivtreeViewItemtests"]')
502502
},
503503

libs/remix-ui/tabs/src/lib/components/DropdownMenu.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.custom-dropdown-wrapper {
22
position: relative;
33
display: inline-block;
4-
z-index: 9999;
4+
z-index: 1000;
55
}
66

77
.custom-dropdown-trigger {
@@ -84,4 +84,4 @@
8484

8585
.custom-dropdown-item.border-bottom {
8686
border-bottom: 1px solid var(--secondary);
87-
}
87+
}

0 commit comments

Comments
 (0)