Fixed CI
Checks / test (push) Failing after 9m9s

This commit is contained in:
ab committed 2026-09-24 16:10:08 +03:00
1 parent 5b56b4a4cc
commit 7fdf4803ed
21 files changed
+49 -35

No files matched your search

+12
View File
@@ -1,3 +1,15 @@
const { chromium } = require('playwright');
function launchBrowser() {
const channel = process.env.MEGURI_BROWSER_CHANNEL || 'chrome';
return chromium.launch({
headless: true,
...(channel === 'chromium' ? {} : { channel }),
});
}
exports.launchBrowser = launchBrowser;
exports.openSetup = async (page, name) => {
await page.waitForFunction(()=>window.Alpine && Alpine.$data(document.body).ready && Alpine.$data(document.body).workspace);
const combined=['Schedules','Escalations & routing','Variables & rules'].includes(name);