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

core: reduce DevTools flakiness #14782

Merged
merged 5 commits into from
Feb 14, 2023
Merged

core: reduce DevTools flakiness #14782

merged 5 commits into from
Feb 14, 2023

Conversation

adamraine
Copy link
Member

@adamraine adamraine commented Feb 10, 2023

#14662 has returned. I've only seen it in this one location when we call Page.getFrameTree. We can actually remove this call and replace it with a parentId check.

Also added a pause in bf-cache-failures at the end so there is a guaranteed buffer period between the history restoration and the gatherer cleanup phase.

Should help with the resurgence in e2e tests flakiness.

Fixes #14662

@adamraine adamraine requested a review from a team as a code owner February 10, 2023 04:33
@adamraine adamraine requested review from brendankenny and removed request for a team February 10, 2023 04:33
@adamraine adamraine changed the title core: remove unnecessary Page.getFrameTree usage tests(devtools): reduce e2e flakiness Feb 10, 2023
Copy link
Collaborator

@connorjclark connorjclark left a comment

Choose a reason for hiding this comment

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

LGTM but marking as test: is iffy to me since this changes code in core.

@adamraine adamraine changed the title tests(devtools): reduce e2e flakiness core: reduce DevTools e2e flakiness Feb 14, 2023
@adamraine adamraine changed the title core: reduce DevTools e2e flakiness core: reduce DevTools flakiness Feb 14, 2023
@adamraine adamraine merged commit 43e332a into main Feb 14, 2023
@adamraine adamraine deleted the rm-get-frame-tree branch February 14, 2023 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors running Page.getResourceTree in DevTools e2e tests
5 participants