Open
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-examples
will appear as a subdirectory link insidetests
by usingln -s $PWD/tests-examples $PWD/tests/tests-examples
. - Run
npm run test
. Tests insidetests-examples
will 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.0