mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix command-palette e2e test
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
bc188837a0
commit
35903c05a0
3 files changed
+18
-16
No files matched your search
@@ -24,9 +24,9 @@ describe("Lens command palette", () => {
|
||||
utils.itIf(!isWindows)("opens command dialog from menu", async () => {
|
||||
await app.evaluate(async ({ app }) => {
|
||||
await app.applicationMenu
|
||||
.getMenuItemById("view")
|
||||
.submenu.getMenuItemById("command-palette")
|
||||
.click();
|
||||
?.getMenuItemById("view")
|
||||
?.submenu?.getMenuItemById("command-palette")
|
||||
?.click();
|
||||
});
|
||||
await window.waitForSelector(".Select__option >> text=Hotbar: Switch");
|
||||
}, 10*60*1000);
|
||||
|
||||
Reference in new issue
Block a user