diff --git a/tests/fulfillment.spec.js b/tests/fulfillment.spec.js index 9b730f15..10d2dfb5 100644 --- a/tests/fulfillment.spec.js +++ b/tests/fulfillment.spec.js @@ -197,7 +197,7 @@ test('Fulfillment', async () => { ]); if (newTab) { - await newTab.waitForLoadState(load, { timeout: 10000 }); + await newTab.waitForLoadState('load', { timeout: 10000 }); await newTab.close(); } else { console.error("New tab did not open");