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 commitad9bc58dd7
. * 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 commite13983eb12
. * 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 commitd1e6d7c7be
. * Clean up * Add sad fix --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user