Skip to content

Commit

Permalink
Fix browser not found err in TestBrowserPermissions
Browse files Browse the repository at this point in the history
Keeping the expected error message to contain a minimal part of the
error so that if we change the error again, this test won't bail.

Related: grafana/xk6-browser#1136
  • Loading branch information
inancgumus authored and mstoykov committed Jan 12, 2024
1 parent 04a8119 commit 5a8879c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tests/cmd_run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2204,7 +2204,7 @@ func TestBrowserPermissions(t *testing.T) {
},
}`,
expectedExitCode: 108,
expectedError: "error building browser on IterStart: launching browser: exec: \"k6-browser-fake-cmd\": executable file not found",
expectedError: "k6-browser-fake-cmd",
},
}

Expand Down

0 comments on commit 5a8879c

Please sign in to comment.