Skip to content

Commit 663e968

Browse files
authored
Merge pull request #4452 from cypress-io/content/update-cy.origin-api-page
Update cy.origin API docs with last-minute changes
2 parents 8f594fd + 92da125 commit 663e968

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

content/api/commands/origin.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,6 @@ cy.origin(
170170
)
171171
```
172172

173-
Note: You can just replace `sentArgs` with `args` if you want, the naming in
174-
this example is purely for clarity.
175-
176173
### Yielding a value
177174

178175
Values returned or yielded from the callback function **must** be serializable
@@ -487,6 +484,7 @@ before(() => {
487484

488485
it('clicks the secondary origin link', () => {
489486
cy.origin('somesite.com', () => {
487+
cy.visit('/page')
490488
cy.clickLink('Click Me')
491489
})
492490
})

0 commit comments

Comments
 (0)