Skip to content

Commit

Permalink
Try to fix esm import error in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Nov 15, 2024
1 parent a60aa91 commit 4c41d9a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import { Then, When } from "@cucumber/cucumber";
import { getZoweExplorerContainer } from "../../../../__common__/shared.wdio";
import { Notification, NotificationType, Workbench } from "wdio-vscode-service";
import { Notification, Workbench } from "wdio-vscode-service";

When("a user opens Zowe Explorer", async function () {
this.zoweExplorerPane = await getZoweExplorerContainer();
Expand All @@ -26,7 +26,7 @@ Then("the Show Config dialog should appear", async function () {
await browser.waitUntil(async () => {
const notifications = [
...(await (this.workbench as Workbench).getNotifications()),
...(await notificationCenter.getNotifications(NotificationType.Error)),
...(await notificationCenter.getNotifications("error" as any)),
];
for (const n of notifications) {
const msg = await n.getMessage();
Expand Down

0 comments on commit 4c41d9a

Please sign in to comment.