From dd098ed19fb8e80938bf3d27a4c1ad5bbf784527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0nan=C3=A7=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 6 Nov 2024 13:54:15 -0500 Subject: [PATCH] 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. --- tests/keyboard_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/keyboard_test.go b/tests/keyboard_test.go index 4f07aa028..5158ad244 100644 --- a/tests/keyboard_test.go +++ b/tests/keyboard_test.go @@ -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))