-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
10.9.0 Release #4747
10.9.0 Release #4747
Conversation
chrisbreiding
commented
Sep 21, 2022
•
edited
Loading
edited
- 10.9.0 Changelog #4752
- Document Cypress.require() #4681
- docs: add docs for new cacheAcrossSpecs cy.session option #4746
- update docs for async attach feature #4753
- Update browser launch options for env key #4730
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
* update docs for async attach feature * Apply suggestions from code review Co-authored-by: Emily Rohrbough <[email protected]> * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Chris Breiding <[email protected]> * fix md issues Co-authored-by: Emily Rohrbough <[email protected]> Co-authored-by: Chris Breiding <[email protected]>
Co-authored-by: Matt Henkes <[email protected]>
Co-authored-by: Lachlan Miller <[email protected]> Co-authored-by: Paul Jaffre <[email protected]> Co-authored-by: Emily Rohrbough <[email protected]> Co-authored-by: Adam Murray <[email protected]> Co-authored-by: Adam Murray <[email protected]>
content/api/commands/origin.md
Outdated
```js | ||
it('tests somesite.com', () => { | ||
cy.origin('somesite.com', () => { | ||
// makes custom commands available to all subsequent |
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.
Is this all subsequent calls within this test, within this spec, or within this cypress run?
Same question for the rest of this section - "persisted between cy.origin callbacks" (for how long?), "makes commands defined in this file available to all callbacks for somesite.com" (all callbacks this cypress run? Wouldn't that imply some pollution / lack of test isolation?)
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.
All calls within the spec. I'll update the comment to make that clear.
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.
Addressed in 59809e4
content/api/commands/origin.md
Outdated
interactions with the window are performed within the block which can | ||
communicate with the cross-origin page | ||
|
||
#### Incorrect usage |
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.
#### Incorrect usage | |
#### **<Icon name="exclamation-triangle" color="red"></Icon> Incorrect Usage** |
Should this have the red exclamation triangle?
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.
seems like it would make sense, though you should probably render it to see what the bolding and heading level do together ####
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.
content/api/cypress-api/require.md
Outdated
|
||
## Examples | ||
|
||
See [`cy.origin()` Dependencies / Sharing Code]() for example usages. |
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.
This is currently missing the link
content/api/cypress-api/require.md
Outdated
|
||
## Examples | ||
|
||
See [`cy.origin()` Dependencies / Sharing Code]() for example usages. |
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.
See [`cy.origin()` Dependencies / Sharing Code]() for example usages. | |
See [`cy.origin()` Dependencies / Sharing Code](/api/commands/origin#Dependencies-Sharing-Code) for example usages. |
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.
Good catch! Fixed in 5653543