microsoft / microsoft/playwright
[Bug]: Wrong navigation timing entry type on page reload on firefox
- Dominant language
- TypeScript
- Stars
- 96.3k
- Forks
- 6.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 180
Description
### Version
1.59.1
### Steps to reproduce
1. Clone my repo https://github.com/Smrtnyk/PW-repros
2. Checkout the "reload" branch
3. npm install
4. run the tests
Observe that test fails only on firefox
I tested this on real firefox and there I do see the "reload" as entry type
### Expected behavior
I would expect firefox to work the same as webkit and chromium
### Actual behavior
Firefox has nav timing entry type as "navigate" instead of "reload"
### Additional context
_No response_
### Environment
```shell
System:
OS: Windows 11 10.0.26200
CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13950HX
Memory: 31.44 GB / 63.69 GB
Binaries:
Node: 24.11.0 - C:\workspaces\devtools\node.EXE
npm: 11.12.1 - C:\workspaces\devtools\npm.CMD
pnpm: 10.33.0 - C:\Users\milan.keser\AppData\Roaming\npm\pnpm.CMD
IDEs:
VSCode: 1.112.0 - C:\Users\milan.keser\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
opencode: 1.4.6 - C:\Users\milan.keser\AppData\Roaming\npm\opencode.CMD
npmPackages:
@playwright/test: 1.59.1 => 1.59.1
```
Contributor guide
Research direction
Start by cloning the linked PW-repros repository, checking out the "reload" branch, installing dependencies, and running its tests to reproduce the Firefox-only failure. Trace how Playwright reports the navigation timing entry type for page reloads, then verify that Firefox reports "reload" consistently with Chromium and WebKit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing-qa, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100