skopix 2.0.15 → 2.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skopix",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "description": "Browser-based QA tool — record tests by using your app, replay them deterministically, generate Playwright code automatically",
5
5
  "main": "cli/index.js",
6
6
  "bin": {
@@ -2240,9 +2240,9 @@ body.viewer-mode .saved-test-row { cursor: default !important; }
2240
2240
  <div style="display:flex;align-items:center;gap:8px">
2241
2241
  <label style="font-family:var(--mono);font-size:12px;color:var(--muted);white-space:nowrap">Browser zoom:</label>
2242
2242
  <select class="form-select" id="re-browser-zoom" style="padding:5px 8px;font-size:12px;width:90px">
2243
- <option value="1">100%</option>
2243
+ <option value="1" selected>100%</option>
2244
2244
  <option value="0.9">90%</option>
2245
- <option value="0.8" selected>80%</option>
2245
+ <option value="0.8">80%</option>
2246
2246
  <option value="0.75">75%</option>
2247
2247
  <option value="0.67">67%</option>
2248
2248
  </select>
@@ -5467,7 +5467,7 @@ async function confirmAddToSuite() {
5467
5467
  }
5468
5468
 
5469
5469
  // ── RECORDED TEST EDITOR ────────────────────────────────────────────────────
5470
- let reEditorState = { scope: null, testId: null, steps: [], testName: '', url: '', reusable: false, setup: '', credentials: '', tags: [], generateReport: true, browserZoom: 0.8 };
5470
+ let reEditorState = { scope: null, testId: null, steps: [], testName: '', url: '', reusable: false, setup: '', credentials: '', tags: [], generateReport: true, browserZoom: 1 };
5471
5471
  let reAssertInsertAfter = -1;
5472
5472
 
5473
5473
  async function openRecordedTestEditor(scope, testId) {
@@ -5475,7 +5475,7 @@ async function openRecordedTestEditor(scope, testId) {
5475
5475
  const res = await fetch(API_BASE + '/api/test/' + encodeURIComponent(scope) + '/' + encodeURIComponent(testId));
5476
5476
  const test = await res.json();
5477
5477
  if (!res.ok) { showToast(test.error || 'Failed to load test'); return; }
5478
- reEditorState = { scope, testId, steps: JSON.parse(JSON.stringify(test.steps || [])), testName: test.name || '', url: test.url || '', reusable: !!test.reusable, setup: test.setup || '', credentials: test.credentials || '', tags: test.tags || [], generateReport: test.generateReport !== false, browserZoom: test.browserZoom || 0.8 };
5478
+ reEditorState = { scope, testId, steps: JSON.parse(JSON.stringify(test.steps || [])), testName: test.name || '', url: test.url || '', reusable: !!test.reusable, setup: test.setup || '', credentials: test.credentials || '', tags: test.tags || [], generateReport: test.generateReport !== false, browserZoom: test.browserZoom || 1 };
5479
5479
  document.getElementById('re-name').value = reEditorState.testName;
5480
5480
  document.getElementById('re-url').value = reEditorState.url;
5481
5481
  document.getElementById('re-reusable').checked = reEditorState.reusable;
@@ -5737,7 +5737,7 @@ async function saveRecordedEdits() {
5737
5737
  const url = document.getElementById('re-url').value.trim();
5738
5738
  const reusable = document.getElementById('re-reusable').checked;
5739
5739
  const generateReport = document.getElementById('re-generate-report')?.checked !== false;
5740
- const browserZoom = parseFloat(document.getElementById('re-browser-zoom')?.value || '0.8');
5740
+ const browserZoom = parseFloat(document.getElementById('re-browser-zoom')?.value || '1');
5741
5741
  const setup = document.getElementById('re-setup').value || null;
5742
5742
  const credentials = document.getElementById('re-credentials')?.value || '';
5743
5743
  const tags = (document.getElementById('re-tags')?.value || '').split(',').map(t => t.trim()).filter(Boolean);