skopix 2.0.14 → 2.0.15
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.
package/cli/commands/agent.js
CHANGED
|
@@ -250,9 +250,9 @@ export async function agentCommand(options) {
|
|
|
250
250
|
const wantReport = test.generateReport !== false;
|
|
251
251
|
const browserZoom = test.browserZoom || 1;
|
|
252
252
|
const ctx = await browser.newContext({
|
|
253
|
-
viewport: { width:
|
|
253
|
+
viewport: { width: 1280, height: 800 },
|
|
254
254
|
deviceScaleFactor: 1,
|
|
255
|
-
...(wantReport ? { recordVideo: { dir: sessionDir, size: { width:
|
|
255
|
+
...(wantReport ? { recordVideo: { dir: sessionDir, size: { width: 1280, height: 800 } } } : {}),
|
|
256
256
|
});
|
|
257
257
|
const page = await ctx.newPage();
|
|
258
258
|
const applyZoom = async () => {
|
|
@@ -3082,9 +3082,9 @@ function startReplay(test, setupTest, activeRuns, reportsDir, currentUser, env)
|
|
|
3082
3082
|
const browserZoom = test.browserZoom || 1;
|
|
3083
3083
|
|
|
3084
3084
|
const ctx = await chromiumBrowser.newContext({
|
|
3085
|
-
viewport: { width:
|
|
3085
|
+
viewport: { width: 1280, height: 800 },
|
|
3086
3086
|
deviceScaleFactor: 1,
|
|
3087
|
-
...(wantReport ? { recordVideo: { dir: sessionDir, size: { width:
|
|
3087
|
+
...(wantReport ? { recordVideo: { dir: sessionDir, size: { width: 1280, height: 800 } } } : {}),
|
|
3088
3088
|
});
|
|
3089
3089
|
const page = await ctx.newPage();
|
|
3090
3090
|
// Apply zoom after page loads, not via addInitScript (which affects setup steps too)
|
package/package.json
CHANGED