Skip to content

Commit

Permalink
Add wait to failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclarke committed Jul 19, 2023
1 parent 0f75c7f commit e73821d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/tests/simple.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import {ByUIClass, client, goToPage} from "./_utils";
test("select version query", async () => {
await goToPage("edgedb/editor");

const editor = await driver.findElement(By.className("cm-content"));
const editor = await driver.wait(
until.elementLocated(By.className("cm-content"))
);
await editor.sendKeys("select sys::get_version_as_str()");

const runButton = driver.findElement(ByUIClass("repl_runButton"));
Expand Down

0 comments on commit e73821d

Please sign in to comment.