6 Commits

Author SHA1 Message Date
Cass Agent f85dcbe20b style(js): prettier wrap pages assets, e2e tests, and CSS
Application pages JS, service worker, CSS, and the e2e/unit test tree
were rewritten by the same formatter pass as the vendor files: quotes,
wrapping, trailing commas, and import sort. Viewer behavior is
unchanged.

- src/pages_assets/*.js, styles.css, sw.js, virtual-list.test.html
- tests/e2e, tests/html_export, tests/pages-*.mjs, tests/performance
- tests/accessibility, tests/playwright.config.ts

Co-authored-by: Grok <noreply@x.ai>
2026-09-21 10:07:26 -04:00
Dicklesworthstone 0a9a0f736c fix: stabilize ci browser and cross-platform tests 2026-05-29 12:48:26 -04:00
Dicklesworthstone d365d0a726 fix(e2e): Cross-browser test compatibility fixes
- Skip clipboard tests on Firefox/WebKit (file:// URL limitations)
- Skip WebKit offline mode test (setOffline unreliable with file://)
- Improve console error filtering for Firefox security warnings
- Adjust print text brightness threshold (203.9 → 210)

Closes bd-2ozg: All 171 E2E tests now pass across chromium/firefox/webkit.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 00:01:15 -05:00
Dicklesworthstone a595757062 test(e2e): Improve Playwright test suite stability and coverage
Comprehensive improvements to E2E test infrastructure addressing flaky tests
and improving test reliability. Enhances test utilities with better wait
strategies, adds robust clipboard testing, and improves accessibility testing
for keyboard navigation.

- Refactor global-setup.ts with improved server readiness detection (+131 LOC)
- Expand test-utils.ts with helper functions for common assertions (+182 LOC)
- Fix flaky encryption/password-flow tests with proper async handling
- Stabilize collapsible, copy-clipboard, and theme-toggle interaction tests
- Improve keyboard navigation accessibility tests
- Update CDN fallback and print preview tests for reliability
- Add setup metadata for test fixtures
- Configure Playwright for better parallel execution

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-25 23:30:36 -05:00
Dicklesworthstone fb4b7db45f test(e2e): Enhance E2E test suite with export and clipboard tests
Expand E2E testing coverage with export functionality tests,
clipboard interaction tests, and improved test utilities.

- Add tests/e2e/exports/ directory for export testing
- Create copy-clipboard.spec.ts for clipboard operations
- Enhance password-flow.spec.ts and basic-render.spec.ts
- Update global-setup.ts and test-utils.ts
- Add .env.test for test environment configuration
- Update playwright.config.ts and package-lock.json

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-25 21:04:41 -05:00
Dicklesworthstone 0d33da3945 test: Add E2E test infrastructure with Playwright
Set up end-to-end testing framework with Playwright configuration
and test suite scaffolding.

- Create tests/e2e/ directory structure
- Add tests/tsconfig.json for test compilation
- Update tests/package.json with Playwright deps

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-25 20:51:53 -05:00