Skip to content

Commit

Permalink
Updates following peer review.
Browse files Browse the repository at this point in the history
  • Loading branch information
manstis committed Dec 9, 2024
1 parent 95350a8 commit 4b3339c
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 280 deletions.
15 changes: 6 additions & 9 deletions test/ui-test/lightspeedOneClickTrialUITest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ import axios from "axios";
const trialNotificationMessage =
"Ansible Lightspeed is not configured for your organization, click here to start a 90-day trial.";

before(function () {
if (process.platform !== "darwin") {
this.skip();
}
});

describe("Test One Click Trial feature", () => {
let workbench: Workbench;
let explorerView: WebviewView;
Expand All @@ -42,21 +48,12 @@ describe("Test One Click Trial feature", () => {
let adtView: ViewSection;

beforeEach(function () {
if (process.platform === "darwin") {
this.skip();
}

if (!process.env.TEST_LIGHTSPEED_URL) {
this.skip();
}
});

before(async () => {
// We need this because before() is called ... before beforeEach()
if (process.platform === "darwin") {
return;
}

if (!process.env.TEST_LIGHTSPEED_URL) {
return;
}
Expand Down
271 changes: 0 additions & 271 deletions test/ui-test/lightspeedUiTestExplorer.ts

This file was deleted.

Loading

0 comments on commit 4b3339c

Please sign in to comment.