Skip to content

Commit

Permalink
Fix integration tests and update cross-spawn
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Nov 18, 2024
1 parent 72c4764 commit f5113e5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Then("the Show Config dialog should appear", async function () {
let configNotification: Notification;
const notificationCenter = await (this.workbench as Workbench).openNotificationsCenter();
await browser.waitUntil(async () => {
// Notification may be visible or hidden, handle both cases
const notifications = [
...(await (this.workbench as Workbench).getNotifications()),
...(await notificationCenter.getNotifications("error" as any)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ When(/a user who has profile with (.*) auth in team config/, function (authType:
// See https://github.com/zowe/zowe-cli/issues/2273
this.authType = authType;
const testConfig = JSON.parse(fs.readFileSync(USER_CONFIG_FILE.replace(".user", ""), "utf-8"));
testConfig.profile[`zosmf_${authType}`] = {
testConfig.profiles[`zosmf_${authType}`] = {
type: "zosmf",
properties: {},
secure: authType === "basic" ? ["user", "password"] : ["tokenValue"],
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f5113e5

Please sign in to comment.