electron/spec/lib
trop[bot] 105acec227
test: disable flaky macOS panel test & refactor screen capture testing (#41461)
* Disable flaky test

Co-authored-by: clavin <clavin@electronjs.org>

* Add helper for storing test artifacts

Co-authored-by: clavin <clavin@electronjs.org>

* Refactor screen capture tests

We have a pattern for inspecting a screen capture, so this refactor codifies that pattern into a helper. This gives us shorter test code, consistency (previously, the display in test code and the display captured could theoretically be different), and better debugging/observability on failure.

Co-authored-by: clavin <clavin@electronjs.org>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org>
2024-02-28 14:55:15 +09:00
..
artifacts.ts test: disable flaky macOS panel test & refactor screen capture testing (#41461) 2024-02-28 14:55:15 +09:00
codesign-helpers.ts fix: prevent node mode to be used as script runner by other apps (#40579) 2023-12-06 11:23:54 +09:00
deprecate-helpers.ts chore: revert deprecate as an internal module (#40146) 2023-10-10 11:50:47 -04:00
events-helpers.ts refactor: use node scheme imports in spec (#38487) 2023-06-15 10:42:27 -04:00
net-helpers.ts feat: add net module to utility process (#40017) 2024-01-04 16:20:37 -05:00
screen-helpers.ts test: disable flaky macOS panel test & refactor screen capture testing (#41461) 2024-02-28 14:55:15 +09:00
spec-helpers.ts feat: add support for configuring system network context proxies (#41417) 2024-02-23 14:56:06 -06:00
video-helpers.js refactor: use for-of instead of for simple array iteration (#39338) 2023-08-07 11:30:15 +02:00
window-helpers.ts test: fixup assertNotWindows (#41045) 2024-01-18 14:04:43 -05:00