Skip to content
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

fix: cleanup cross-origin logs between tests #28465

Closed
wants to merge 8 commits into from
8 changes: 8 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
## 13.6.1

_Released 12/19/2023 (PENDING)_

**Bugfixes:**

- Release cy.origin logs between tests. Fixed in [#28465](https://github.com/cypress-io/cypress/issues/28465).
emilyrohrbough marked this conversation as resolved.
Show resolved Hide resolved

## 13.6.1

_Released 12/5/2023_

**Bugfixes:**
Expand Down
2 changes: 2 additions & 0 deletions packages/app/src/runner/event-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,8 @@ export class EventManager {
})
}

// remove cross-origin log references from previous test
crossOriginLogs = {}
Cypress.primaryOriginCommunicator.toAllSpecBridges('test:before:run:async', ...args)
})

Expand Down
Loading