Repository navigation
fix(electron): count the trigger in waitForWindow's and waitForDownload's timeout #2504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
5ab6e6f
docs(electron): list waitForDownload's no-inspector failure
kdy1 25b056a
fix(electron): take no window waitForWindow's trigger opened after it…
kdy1 ad7edfc
fix(electron): name waitForDownload where an app with no inspector is…
kdy1 c4c4ecf
docs(electron): say where a download before the first window goes, in…
kdy1 bf12a7b
fix(electron): bound waitForWindow's and waitForDownload's triggers b…
kdy1 08408e9
fix(electron): bound waitForDownload's reads of the app's downloads b…
kdy1 40a98ed
fix(electron): wait on a trigger that returns no promise
kdy1 1942e9e
test(electron): accept either timeout message for a download wait wit…
kdy1 9747ba0
fix(electron): run no download trigger for a step cancelled while the…
kdy1 cfe9716
fix(electron): show no window for a waitForWindow cancelled while its…
kdy1 6312a81
fix(electron): give no download a name the app took itself in the dow…
kdy1 772ab23
docs(electron): say a download is numbered around a file the app wrot…
kdy1 371d309
fix(electron): end a window or download wait as cancelled when its st…
kdy1 69bfadf
fix(electron): end a download wait as cancelled while it asks a busy …
kdy1 e050a7a
fix(electron): run no window wait's trigger for a step cancelled befo…
kdy1 9727ec0
fix(electron): number a download only around names the app took in th…
kdy1 8c81353
chore(electron): add a changeset for the window and download wait fixes
kdy1 a418b54
docs(electron): keep the download naming rules in the reference only
kdy1 59091af
fix(electron): show no window for a step cancelled while the window i…
kdy1 0337141
test(electron-testbed): accept the busy-main-process message for the …
kdy1 893e2c8
test(electron-testbed): say what the late waitForWindow case checks
kdy1 a6535dd
docs(electron): say which downloads the engine places and numbers
kdy1 e9ba4f0
fix(electron): word a cancelled waitForDownload the same on every path
kdy1 539067f
fix(electron): time out a download wait whose last read the deadline …
kdy1 07c9562
test(electron): number a download around a name the app took before i…
kdy1 7b0cf60
test(electron): wait for the held download's file before the test rem…
kdy1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@e2e-dev/electron': patch | ||
| --- | ||
|
|
||
| `electron.waitForWindow()` and `electron.waitForDownload()` count their trigger's time in their timeout, as `browser.waitForPopup()` and `browser.waitForDownload()` do: a trigger that hangs fails the wait at its timeout, and a window or download that arrives after it is not taken. A wait whose step is cancelled ends as `CANCELLED` at once, runs no trigger when cancelled before it starts, and shows no window it opened. A download wait also ends in its time while the app's main process is too busy to answer. A download the engine saves is numbered around a file of that name the app wrote in the downloads folder itself, rather than replacing it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.