We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5baa6c7 commit 401befbCopy full SHA for 401befb
apps/tests/integrations/extensions/pageAction.mjs
@@ -17,6 +17,17 @@ async function spinLock(predicate) {
17
}
18
19
await TestManager.withBrowser(['http://example.com/'], async (window) => {
20
+ await spinLock(() =>
21
+ window
22
+ ?.windowTabs()
23
+ .map(
24
+ (tab) =>
25
+ tab.view.browser?.mInitialized &&
26
+ tab.view.websiteState === 'complete',
27
+ )
28
+ .reduce((p, c) => p && c, true),
29
30
+
31
await TestManager.test('pageAction - Icon & Panel', async (test) => {
32
const extension = ExtensionTestUtils.loadExtension(
33
{
0 commit comments