Skip to content

Lightpanda: the headless browser designed for AI and automation

chore: fix flaky test

Karl Seguin7343ee5619b2
diff --git a/src/browser/tests/weblocks.html b/src/browser/tests/weblocks.html
index 86e01f7db..88c108455 100644
--- a/src/browser/tests/weblocks.html
+++ b/src/browser/tests/weblocks.html
@@ -440,9 +440,9 @@
const state = await testing.async();
const order = [];
- navigator.locks.request('c', () => {
+ navigator.locks.request('steal-sync', () => {
order.push('A');
- navigator.locks.request('c', { steal: true }, () => {});
+ navigator.locks.request('steal-sync', { steal: true }, () => {});
order.push('B');
return new Promise(() => {});
}).catch(() => order.push('C'));