From 09d9e1c486085e8b97dd9be42e47ec8aacf75a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0nan=C3=A7=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 12 Jan 2024 13:12:16 +0300 Subject: [PATCH] Fix browser not found err in TestBrowserPermissions 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 --- cmd/tests/cmd_run_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tests/cmd_run_test.go b/cmd/tests/cmd_run_test.go index f6d642a23ee..eb5f909d3b5 100644 --- a/cmd/tests/cmd_run_test.go +++ b/cmd/tests/cmd_run_test.go @@ -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", }, }