Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclarke committed Jan 22, 2025
1 parent 2e0fc04 commit bf8d9b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/tests/queryEditor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,18 @@ describe("queryEditor:", () => {

// linewrap / show whitespace
const actionButtons = await viewWindow.findElements(
ByUIClass("shared_actionButton")
ByUIClass("shared_toggleButton")
);

expect(await actionButtons.length).toBe(2);
expect(await actionButtons[0].getAttribute("innerText")).toBe(
"LINEWRAP"
"Linewrap"
);
expect(await actionButtons[1].getAttribute("innerText")).toBe(
"SHOW WHITESPACE"
"Show Whitespace"
);

(await viewWindow.findElement(ByUIClass("shared_closeAction"))).click();
(await viewWindow.findElement(ByUIClass("shared_closeButton"))).click();

await waitUntilElementNotLocated(
ByUIClass("queryeditor_extendedViewerContainer")
Expand Down

0 comments on commit bf8d9b0

Please sign in to comment.