Fix intermittently failing Playwright tests in main (#6541)

# Description of Changes
[#6474](https://github.com/Stirling-Tools/Stirling-PDF/pull/6474)
updated the IndexedDB schema number to v9, but a couple of Playwright
tests were explicitly creating a DB in v4 schema, which then caused
inconsistently failing tests because the DB upgrade process is
asynchronous and sometimes was too slow to upgrade, causing the test to
get into an invalid state.

Also fixes the screenshots directory exclusion since the frontend folder
was restructured.
This commit is contained in:
James Brunton
2026-06-05 11:34:32 +00:00
committed by GitHub
parent a61fe012d7
commit 9ab404b2e6
3 changed files with 130 additions and 114 deletions
+1 -1
View File
@@ -279,4 +279,4 @@ docs/type3/signatures/
*.playwright-mcp.png
# Local screenshot artifacts from *-screenshots.spec.ts
frontend/screenshots/
frontend/editor/screenshots/