Skip to content

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 6, 2024
1 parent 104780f commit dd098ed
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 dd098ed

Please sign in to comment.