Module cleanup and tests
CI / ci (push) Failing after 7s

This commit is contained in:
2026-05-24 23:13:45 +02:00
parent 63d83e999a
commit 5dc9b3b8d4
72 changed files with 2545 additions and 1220 deletions
+3 -3
View File
@@ -22,13 +22,13 @@ export async function waitForFoundryReady(page, timeout = 30000) {
}
/**
* Attend que le module Video View Manager soit actif
* Attend que le module Scrying Pool soit actif
* @param {import('@playwright/test').Page} page - La page Playwright
* @param {number} timeout - Timeout en ms (défaut: 15000)
*/
export async function waitForVVMModule(page, timeout = 15000) {
await page.waitForFunction(() => {
const module = game.modules?.get?.('video-view-manager');
const module = game.modules?.get?.('scrying-pool');
return module?.active === true;
}, { timeout });
}
@@ -100,7 +100,7 @@ export async function openPlayerPrivacyPanel(page, userId) {
await openFoundrySidebar(page);
// Naviguer vers les paramètres du module
await clickFoundryButton(page, 'button:has-text("Video View Manager")');
await clickFoundryButton(page, 'button:has-text("Scrying Pool")');
await page.waitForTimeout(1000);
// Cliquer sur le bouton Player Privacy