diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/test/playwright_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/test/playwright_test.go b/internal/test/playwright_test.go index 9cd9ffe..ae4022e 100644 --- a/internal/test/playwright_test.go +++ b/internal/test/playwright_test.go @@ -222,17 +222,17 @@ func TestPlaywrightBrowser(t *testing.T) { t.Skip("skipping hard challenge with deadline") } - var perfomedAction action + var performedAction action var err error for i := 0; i < 5; i++ { - perfomedAction, err = executeTestCase(t, tc, typ, anubisURL) - if perfomedAction == tc.action { + performedAction, err = executeTestCase(t, tc, typ, anubisURL) + if performedAction == tc.action { break } time.Sleep(time.Duration(i+1) * 250 * time.Millisecond) } - if perfomedAction != tc.action { - t.Errorf("unexpected test result, expected %s, got %s", tc.action, perfomedAction) + if performedAction != tc.action { + t.Errorf("unexpected test result, expected %s, got %s", tc.action, performedAction) } if err != nil { t.Fatalf("test error: %v", err) |
