-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
misc: implement webdriver on top of geckodriver in order to reduce overhead maintenance and code #30324
Merged
Merged
misc: implement webdriver on top of geckodriver in order to reduce overhead maintenance and code #30324
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
48c0a37
misc: implement webdriver npm package as the client for the webdriver…
AtofStryker abf7294
misc: go back to xulstore to save browser preferences [run ci]
AtofStryker c7c23f1
add changelog [run ci]
AtofStryker 27bb8bd
chore: fix screenshot resolution [run ci]
AtofStryker ff075cf
fix check-ts issues [run ci]
AtofStryker 31192bc
run windows ci [run ci]
AtofStryker 713932e
Merge branch 'develop' of github.com:cypress-io/cypress into misc/use…
AtofStryker 69b7196
run ci
AtofStryker a937c50
add comments [run ci]
AtofStryker 30b968b
Merge branch 'develop' of github.com:cypress-io/cypress into misc/use…
AtofStryker 5809c5f
build binaries for webdriver impl [run ci]
AtofStryker 7bca33d
Merge branch 'develop' of github.com:cypress-io/cypress into misc/use…
AtofStryker 4f3804d
fix Cypress namespace missing issue. see https://github.com/cypress-i…
AtofStryker 68f50a2
chore: updating v8 snapshot cache
6f33c60
chore: updating v8 snapshot cache
c17f87c
chore: updating v8 snapshot cache
9f647f9
patch edgedriver and preserve dependency paths for webdriver so they …
AtofStryker 226c5ae
fix issues with firefox profile not being created in open mode when o…
AtofStryker e204aab
address comments that came up in review [run ci]
AtofStryker a2b40a6
see if this fixes extension test [run ci]
AtofStryker 132ab07
make sure process kill emits the exit event [run ci]
AtofStryker 5d1aa64
update geckodriver to include contribution patch to types [run ci]
AtofStryker 9e09f84
Merge branch 'develop' of github.com:cypress-io/cypress into misc/use…
AtofStryker 78060ef
Merge branch 'develop' of github.com:cypress-io/cypress into misc/use…
AtofStryker 1d42807
fix misapplication of geckodriver package (accidentally deleted) [run…
AtofStryker 00de09a
empty commit to trigger ci [run ci]
AtofStryker e8ab563
address comments from code review [run ci]
AtofStryker 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 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Bump this version to force CI to re-create the cache from scratch. | ||
|
||
09-30-24-windows-patch-server-2022 | ||
10-08-24-webdriver2 |
This file contains 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 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 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 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 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ import type { SocketShape } from '@packages/socket/lib/types' | |
import type { ClientOptions } from '@urql/core' | ||
|
||
export const urqlFetchSocketAdapter = (io: SocketShape): ClientOptions['fetch'] => { | ||
return (url, fetchOptions = {}) => { | ||
return (url, fetchOptions: RequestInit = {}) => { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💯 |
||
return new Promise<Response>((resolve, reject) => { | ||
// Handle aborted requests | ||
if (fetchOptions.signal) { | ||
|
This file contains 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ran into typings issues, my guess with the updated lock, which is kinda weird but I just chose to strongly type the lines that were failing