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

Commit

Permalink
Fix TestKeyboardPress panic
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
inancgumus committed Nov 7, 2024
1 parent 740dac8 commit 17a865f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/keyboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func TestKeyboardPress(t *testing.T) {
return nil
},
)
assert.NoError(t, err)
require.NoError(t, err)

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

0 comments on commit 17a865f

Please sign in to comment.