test: disable CapturableScreen tests on Windows x64 (#41543)
* test: disable CapturableScreen tests on Windows x64 * test: disable js-execute-iframe" case should not crash on win 32-bit
This commit is contained in:
parent
f826506218
commit
fb1b5ca4ce
2 changed files with 8 additions and 6 deletions
|
@ -171,10 +171,8 @@ export class ScreenCapture {
|
|||
* - Linux: virtual screen display is 0x0
|
||||
* - Win32 arm64 (WOA): virtual screen display is 0x0
|
||||
* - Win32 ia32: skipped
|
||||
* - Win32 x64: virtual screen display is 0x0
|
||||
*/
|
||||
export const hasCapturableScreen = () => {
|
||||
return (
|
||||
process.platform === 'darwin' ||
|
||||
(process.platform === 'win32' && process.arch === 'x64')
|
||||
);
|
||||
return process.platform === 'darwin';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue