Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nprizal committed Jan 15, 2025
1 parent 9d8750a commit c8f1647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/runner/playwright_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func TestPlaywrightRun_TestSkipped(t *testing.T) {
t.Errorf("Playwright.Run(%q) RunResult.Status = %v, want %v", testCases, result.Status(), RunStatusPassed)
}

test := result.tests[" chromium skipped.spec.js it is skipped/it is skipped"]
test := result.tests[" chromium skipped.spec.js it is skipped/it is skipped/skipped.spec.js:4"]
if test.Status != TestStatusSkipped {
t.Errorf("Playwright.Run(%q) test.Status = %v, want %v", testCases, test.Status, TestStatusSkipped)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/runner/rspec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func TestRspecRun_TestSkipped(t *testing.T) {
t.Errorf("Rspec.Run(%q) RunResult.Status = %v, want %v", testCases, result.Status(), RunStatusPassed)
}

test := result.tests["skipped/is skipped"]
test := result.tests["skipped/is skipped/./testdata/rspec/spec/skipped_spec.rb[1:1]"]
if test.Status != TestStatusSkipped {
t.Errorf("Rspec.Run(%q) test.Status = %v, want %v", testCases, test.Status, TestStatusSkipped)
}
Expand Down

0 comments on commit c8f1647

Please sign in to comment.