Skip to content

Commit

Permalink
UI test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TamiTakamiya committed May 22, 2024
1 parent f4ed5a2 commit ea9962d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/ui-test/lightspeedUiTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function lightspeedUIAssetsTest(): void {
const body = await webviewView.findWebElement(By.xpath("//body"));
const welcomeMessage = await body.getText();
expect(welcomeMessage).to.contain(
"Welcome to Ansible Lightspeed for Visual Studio Code.",
"Experience smarter automation using Ansible Lightspeed",
);
});

Expand Down Expand Up @@ -106,7 +106,7 @@ export function lightspeedUIAssetsTest(): void {
"//div[contains(@class, 'statusbar-item') and " +
"contains(@class, 'has-background-color') and " +
"contains(@class, 'warning-kind') and " +
".//a/text()='Lightspeed (not logged in)']",
".//a/text()='Lightspeed (Not logged in)']",
),
);
expect(lightspeedStatusBarItem).not.to.be.undefined;
Expand All @@ -126,7 +126,7 @@ export function lightspeedUIAssetsTest(): void {
By.xpath(
"//div[contains(@class, 'statusbar-item') and " +
"not (contains(@class, 'has-background-color')) and " +
".//a/text()='Lightspeed (not logged in)']",
".//a/text()='Lightspeed (Not logged in)']",
),
);
expect(lightspeedStatusBarItem).not.to.be.undefined;
Expand Down

0 comments on commit ea9962d

Please sign in to comment.