aboutsummaryrefslogtreecommitdiff
path: root/internal/test/playwright_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/test/playwright_test.go')
-rw-r--r--internal/test/playwright_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/test/playwright_test.go b/internal/test/playwright_test.go
index d722427..88368c7 100644
--- a/internal/test/playwright_test.go
+++ b/internal/test/playwright_test.go
@@ -228,17 +228,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)