Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit dd098ed

Browse files
committed
Fix TestKeyboardPress panic
This only fixes the panic, but not the underlying error with WaitForEvent. There is clearly an issue with WaitForEvent as we can also see in #1506.
1 parent 104780f commit dd098ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/keyboard_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func TestKeyboardPress(t *testing.T) {
138138
return nil
139139
},
140140
)
141-
assert.NoError(t, err)
141+
require.NoError(t, err)
142142

143143
// Wait for the new tab to complete loading.
144144
assert.NoError(t, newTab.WaitForLoadState("load", nil))

0 commit comments

Comments
 (0)