Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

TestBrowserContextOptionsPermissions fails with the latest k6 #1516

Closed
2 tasks done
inancgumus opened this issue Nov 6, 2024 · 0 comments
Closed
2 tasks done

TestBrowserContextOptionsPermissions fails with the latest k6 #1516

inancgumus opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working ci compatibility k6 core compatibility tests

Comments

@inancgumus
Copy link
Member

inancgumus commented Nov 6, 2024

What?

The TestBrowserContextOptionsPermissions fails with the latest k6 (~v0.55) after an update to Sobek or its dependencies.

--- FAIL: TestBrowserContextOptionsPermissions (0.00s)
    browser_context_options_test.go:21: 
        	Error Trace:	/home/runner/work/xk6-browser/xk6-browser/browser/browser_context_options_test.go:21
        	Error:      	"[]" should have 2 item(s), but has 0
        	Test:       	TestBrowserContextOptionsPermissions
    browser_context_options_test.go:22: 
        	Error Trace:	/home/runner/work/xk6-browser/xk6-browser/browser/browser_context_options_test.go:22
        	Error:      	Not equal: 
        	            	expected: []string{}
        	            	actual  : []string{"camera", "microphone"}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,2 +1,4 @@
        	            	-([]string) {
        	            	+([]string) (len=2) {
        	            	+ (string) (len=6) "camera",
        	            	+ (string) (len=10) "microphone"
        	            	 }
        	Test:       	TestBrowserContextOptionsPermissions
FAIL

Why?

Causing CI tests to fail.

https://github.com/grafana/xk6-browser/actions/runs/11698054594/job/32577732943

How?

No response

Tasks

Tasks

Preview Give feedback
  1. bug
    inancgumus

Related PR(s)/Issue(s)

No response

@inancgumus inancgumus added bug Something isn't working ci compatibility k6 core compatibility tests labels Nov 6, 2024
@inancgumus inancgumus self-assigned this Nov 6, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working ci compatibility k6 core compatibility tests
Projects
None yet
Development

No branches or pull requests

1 participant