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: performance regression due to enabling ScopeMemoryCachePerContext #28327

Merged
merged 6 commits into from
Nov 14, 2023

Conversation

ryanthemanuel
Copy link
Collaborator

Additional details

This fix basically reverses the commit that was done to try and prevent the font flooding. The only addition is a change to ensure that #28150 stays fixed (namely this commit).

Steps to test

n/a

How has the user experience changed?

n/a

PR Tasks

Copy link

cypress bot commented Nov 13, 2023

1 flaky test on run #52276 ↗︎

0 217 21 0 Flakiness 1

Details:

Update packages/driver/src/dom/elements/complexElements.ts
Project: cypress Commit: 962bc85e32
Status: Passed Duration: 10:05 💡
Started: Nov 14, 2023 5:01 PM Ended: Nov 14, 2023 5:11 PM
Flakiness  cypress/e2e/scaffold-component-testing.cy.ts • 1 flaky test • launchpad-e2e

View
Output

Test Artifacts
scaffolding component testing > react-vite-ts-unconfigured > scaffolds component testing for React and Vite Test Replay Screenshots

Review all test suite changes for PR #28327 ↗︎

@@ -53,7 +53,7 @@ describe('src/cypress/dom/visibility', () => {
expect(fn()).to.be.true
})

it('returns false window and body > window height', () => {
it('returns false if window and body < window height', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what this title wrong before?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Things should only be scrollable if they're > than the height not <.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically this is the opposite of line 45.

@ryanthemanuel ryanthemanuel merged commit 16d6430 into develop Nov 14, 2023
@ryanthemanuel ryanthemanuel deleted the ryanm/fix/cached-requests branch November 14, 2023 17:10
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 14, 2023

Released in 13.5.1.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.5.1, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cached (status 304) requests may take longer than they used to
4 participants