skopix 2.0.36 → 2.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1799,7 +1799,7 @@ export async function dashboardCommand(options) {
|
|
|
1799
1799
|
const { url, selector } = JSON.parse(await readBody(req));
|
|
1800
1800
|
try {
|
|
1801
1801
|
const testerId = Math.random().toString(36).slice(2, 10);
|
|
1802
|
-
await startStepTester(testerId, url, selector
|
|
1802
|
+
await startStepTester(testerId, url, selector);
|
|
1803
1803
|
sendJSON(res, 200, { testerId });
|
|
1804
1804
|
} catch (err) { sendJSON(res, 500, { error: err.message }); }
|
|
1805
1805
|
return;
|
|
@@ -3815,7 +3815,7 @@ async function syncTestsToLibrary(suitesDir) {
|
|
|
3815
3815
|
|
|
3816
3816
|
const stepTesterSessions = new Map(); // testerId -> { browser, ctx, page }
|
|
3817
3817
|
|
|
3818
|
-
async function startStepTester(testerId, url, selector
|
|
3818
|
+
async function startStepTester(testerId, url, selector) {
|
|
3819
3819
|
const { chromium } = await import('playwright');
|
|
3820
3820
|
const browser = await chromium.launch({ headless: false, args: ['--no-sandbox'] });
|
|
3821
3821
|
const ctx = await browser.newContext({ viewport: { width: 1280, height: 800 } });
|
package/package.json
CHANGED