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

Playwright Utils: Change preference update method in setIsFixedToolbar #51659

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

Mamaduka
Copy link
Member

@Mamaduka Mamaduka commented Jun 19, 2023

What?

This is similar to #51560.

I noticed that the #49733 test still needs to be fixed. PR updates the setIsFixedToolbar utility method to directly use the core/preferences store to set editor preferences.

Why?

Removes extra checks and sets preference value needed for tests. Also, I'm out of ideas why preferences might be leaking.

Testing Instructions

CI checks should pass.

@Mamaduka Mamaduka self-assigned this Jun 19, 2023
@Mamaduka Mamaduka added [Type] Enhancement A suggestion for improvement. [Tool] E2E Test Utils /packages/e2e-test-utils labels Jun 19, 2023
@Mamaduka Mamaduka requested a review from jeryj June 19, 2023 15:44
Copy link
Contributor

@alexstine alexstine left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@kevin940726 kevin940726 left a comment

Choose a reason for hiding this comment

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

Nice 👍

@Mamaduka Mamaduka merged commit 3c4ad8d into trunk Jun 20, 2023
@Mamaduka Mamaduka deleted the update/set-is-fixed-toolbar-dispatch branch June 20, 2023 04:05
@github-actions github-actions bot added this to the Gutenberg 16.1 milestone Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Tool] E2E Test Utils /packages/e2e-test-utils [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants