mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
test: rerun failed tests individually (#48386)
test: rerun failed tests individually (#48205)
* test: rerun failed tests individually
* ci: use screencapture-nag-remover
Needed to bypass the popup message "bash" is requesting to bypass the system private window picker and directly access your screen and audio.
* Revert "chore: test with 1st quadrant of the window"
No longer needed because of the addition of the
screencapture-nag-remover script.
This reverts commit f4a7e04c0b.
* test: fixup navigationHistory flake
* rerun test up to 3 times
This commit is contained in:
committed by
GitHub
parent
f5617bbc6a
commit
a59beb5570
@@ -78,13 +78,9 @@ function areColorsSimilar (
|
||||
}
|
||||
|
||||
function displayCenter (display: Electron.Display): Electron.Point {
|
||||
// On macOS, we get system prompt to ask permission for screen capture
|
||||
// taking up space in the center. As a workaround, choose
|
||||
// area of the application window which is not covered by the prompt.
|
||||
// TODO: Remove this when the prompt situation is resolved.
|
||||
return {
|
||||
x: display.size.width / (process.platform === 'darwin' ? 4 : 2),
|
||||
y: display.size.height / (process.platform === 'darwin' ? 4 : 2)
|
||||
x: display.size.width / 2,
|
||||
y: display.size.height / 2
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user