Frontmatter
| id | 7260 |
| title | Correct Playwright Output Directory |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Sep 26, 2025, 4:09 PM |
| updatedAt | Sep 26, 2025, 4:10 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7260 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 7262 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 26, 2025, 4:10 PM |
The Playwright test runner was incorrectly creating a
test-resultsdirectory at the project root, instead of within thetest/playwrightdirectory as intended.Resolution
playwright.config.mjsfile was modified to use absolute paths fortestDirandoutputDir. This was achieved by using Node.js'spathandurlmodules to ensure the paths are always resolved correctly, regardless of the directory from which the test command is run.testscript inpackage.jsonwas updated to explicitly specify the path to the configuration file using the-cflag (playwright test -c test/playwright/playwright.config.mjs).This combination ensures that all test artifacts are consistently and correctly placed in
test/playwright/test-results.