- Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
zyresio/playwright
#1Labels
P3-collecting-feedbackfeature-test-runnerPlaywright test specific issuesPlaywright test specific issues
Description
Version
1.46.0
Steps to reproduce
- Use MacOS
- Clone my repo https://github.com/alex-vukov/playwright-symlink
- Run
npm install - In a bash or zsh terminal create a symlink so that
tests-exampleswill appear as a subdirectory link insidetestsby usingln -s $PWD/tests-examples $PWD/tests/tests-examples. - Run
npm run test. Tests insidetests-exampleswill not be executed through the symlink. If you do the same in Windows they are executed correctly.
Expected behavior
I expect the same behaviour in Windows and MacOS. The symlinked tests should be executed in both OS.
Actual behavior
The tests in the symlinked directory are not executed under MacOS but are executed in Windows.
Additional context
No response
Environment
System: OS: macOS 14.3.1 CPU: (10) arm64 Apple M1 Max Memory: 1.14 GB / 32.00 GB Binaries: Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node Yarn: 1.22.22 - /usr/local/bin/yarn npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm pnpm: 9.7.0 - ~/.nvm/versions/node/v18.18.0/bin/pnpm Languages: Bash: 3.2.57 - /bin/bash npmPackages: @playwright/test: ^1.46.0 => 1.46.0barvian, gnawht, pnancke and tenzinhl
Metadata
Metadata
Assignees
Labels
P3-collecting-feedbackfeature-test-runnerPlaywright test specific issuesPlaywright test specific issues