Quick follow up on share link tests (#7401)

* pierremtb/adhoc-quick-sharelink-follow-up

* Update snapshots

* Update snapshots

* Remove Linux from 2000 tests

* Revert "Remove Linux from 2000 tests"

This reverts commit ad9bc58dd7.

* Remove Linux from 2000 tests and guard linux in the app too

* Revert "Remove Linux from 2000 tests and guard linux in the app too"

This reverts commit e13983eb12.

* Break out test in two

* Not

* Add debug prints

* Try to force userAgent in pw config

* Revert "Try to force userAgent in pw config"

This reverts commit d1e6d7c7be.

* Clean up

* Add sad fix

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Pierre Jacquier
2025-06-11 13:24:38 -04:00
committed by GitHub
parent 9a549ff379
commit 5f1f579d4b
2 changed files with 17 additions and 7 deletions

View File

@ -261,6 +261,9 @@ export function platform(): Platform {
if (navigator.platform === 'Windows' || navigator.platform === 'Win32') {
return 'windows'
}
if (navigator.platform?.indexOf('Linux') === 0) {
return 'linux'
}
// Chrome only, but more accurate than userAgent.
let userAgentDataPlatform: unknown