-
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
feat: (origin) handle waiting for aliased intercepts #21579
Merged
Merged
Conversation
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
Thanks for taking the time to open a PR!
|
mschile
requested review from
mjhenkes,
AtofStryker,
chrisbreiding and
emilyrohrbough
and removed request for
jennifer-shehane
May 20, 2022 04:51
mschile
changed the title
feat (origin): handle waiting for aliased intercepts
feat: (origin) handle waiting for aliased intercepts
May 20, 2022
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
AtofStryker
reviewed
May 20, 2022
packages/driver/cypress/integration/e2e/origin/commands/waiting.spec.ts
Outdated
Show resolved
Hide resolved
emilyrohrbough
approved these changes
May 23, 2022
5 tasks
AtofStryker
reviewed
May 23, 2022
AtofStryker
approved these changes
May 23, 2022
mjhenkes
approved these changes
May 24, 2022
tgriesser
added a commit
that referenced
this pull request
May 25, 2022
…pack * develop: test(launchpad): skip failure due to recaptcha on windows, enable more windows jobs (#21620) docs: add "Steps to test" to PR template (#21606) feat: (origin) handle waiting for aliased intercepts (#21579) fix: handle git watch error (#21600) fix: Successfully create new specs files that do not have a known extension (#21593) chore: release 9.7.0 fix: do not allow experimentalSessionAndOrigin to be available in CT … (#21588) chore: sort the frameworks select dropdown in a more logical way (#21553) Trigger Build fix: disable ct testing when run via binary (#21540) chore: Update Chrome (beta) to 102.0.5005.61 (#21556) chore: release @cypress/react-v5.12.5 fix: add support for Next.js v12.1.6 (#21516) chore: release @cypress/schematic-v1.7.0 feat(cypress/schematic): add headed option and other fixes (#21415) chore: release @cypress/vite-dev-server-v2.2.3 fix: handle specs with white space in vite-dev-server (#21386) Empty commit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
User facing changelog
cy.origin
to support waiting for aliased intercepted requests.Additional details
Cypress.state
within the primary domain. As such, when waiting on an aliased intercepted request withincy.origin
, a message is sent to the primary domain to handle the waiting. The response or error is then sent back to the the secondary domain.How has the user experience changed?
Before:
After:
Waiting on intercepted request:
Error when request not called:
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?