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 5e2b4f1
Show file tree
Hide file tree
Showing 6 changed files with 258 additions and 271 deletions.
12 changes: 12 additions & 0 deletions test/ui-test/lightspeedOneClickTrialUITest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
ViewControl,
ViewSection,
VSBrowser,
until,
WebElement,
WebView,
WebviewView,
Expand All @@ -30,6 +31,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 Down Expand Up @@ -258,6 +265,11 @@ describe("Test One Click Trial feature", () => {
await tab.select();
await tab.sendKeys(Key.CONTROL, "z", "z", "z", Key.NULL);
await editorView.closeAllEditors();

// The undo's don't seem to (always) work.. So discard changes
const dialog = new ModalDialog();
await dialog.pushButton(`Don't Save`);
await dialog.getDriver().wait(until.stalenessOf(dialog), 2000);
});

it("Sign out using Accounts global action", async () => {
Expand Down
271 changes: 0 additions & 271 deletions test/ui-test/lightspeedUiTestExplorer.ts

This file was deleted.

Loading

0 comments on commit 5e2b4f1

Please sign in to comment.