electron/spec/lib
Calvin a6133e85d1
test: disable flaky macOS panel test & refactor screen capture testing (#41441)
* Disable flaky test

* Add helper for storing test artifacts

* 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.
2024-02-28 12:54:20 +09:00
..
artifacts.ts test: disable flaky macOS panel test & refactor screen capture testing (#41441) 2024-02-28 12:54:20 +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 (#41441) 2024-02-28 12:54:20 +09:00
spec-helpers.ts feat: add support for configuring system network context proxies (#41335) 2024-02-22 12:08:25 -05: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