Skip to content

Commit

Permalink
wait for dumb mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick-Erichsen committed Dec 23, 2024
1 parent f2f211c commit 9b6a079
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class Autocomplete {init {
}

idea {
waitFor(ofMinutes(5)) { isDumbMode().not() }
with(textEditor()) {
val userMsg = "TEST_USER_MESSAGE_0"
editor.insertTextAtLine(0, 0, userMsg)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class GUI {


idea {
waitFor(ofMinutes(5)) { isDumbMode().not() }
step("Manually open the webview") {
// Manually open the webview
find<ComponentFixture>(byXpath("//div[@text='Continue']"), ofSeconds((10))).click()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ class Onboarding {
}

idea {
waitFor(ofMinutes(5)) { isDumbMode().not() }

// Wait for the default "Main.java" tab to load
// Our "continue_tutorial.java.ft" tab loads first, but then "Main.java" takes focus.
// So we need to wait for that to occur, and then focus on "continue_tutorial.java.ft"
Expand Down

0 comments on commit 9b6a079

Please sign in to comment.