wait for dumb mode

This commit is contained in:
Test 2024-12-23 15:05:51 -06:00
parent f2f211c629
commit 9b6a0792ff
3 changed files with 4 additions and 0 deletions

View file

@ -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)

View file

@ -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()

View file

@ -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"