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

[E2E][GB 11.9] Click to add the line-height setting in the tool panel before cheking for its presence #57921

Merged
merged 1 commit into from
Nov 10, 2021

Conversation

fullofcaffeine
Copy link
Contributor

@fullofcaffeine fullofcaffeine commented Nov 10, 2021

Changes proposed in this Pull Request

Before Gutenberg 11.9, line-height was always shown in the Typography panel, but 11.9 introduces changes to the panel that
requires the user to add some settings manually. Discussion about the rationale can be found in this Slack thread: p1636568230296600/1636417237.235700-slack-C7YPUHBB2.

This setting is still present for all themes in WPCOM regardless of theme support, so the code
here still relevant: https://github.com/Automattic/wp-calypso/blob/trunk/apps/editing-toolkit/editing-toolkit-plugin/common/index.php#L179-L182

Testing instructions

  • The wp-calypso-gutenberg-post-editor-spec.js suite of tests should pass.

Related to: #57451.

@fullofcaffeine fullofcaffeine requested review from scinos, WunderBart and a team as code owners November 10, 2021 19:05
@matticbot matticbot added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Nov 10, 2021
@fullofcaffeine fullofcaffeine added the caused-by-gutenberg-upgrade Labels an issue (or PR) as caused by or related to a Gutenberg upgrade on WPCOM. label Nov 10, 2021
@github-actions
Copy link

github-actions bot commented Nov 10, 2021

@fullofcaffeine fullofcaffeine force-pushed the fix/line-height-e2e-test branch from 0ed62d2 to c665247 Compare November 10, 2021 19:05
@fullofcaffeine fullofcaffeine force-pushed the fix/line-height-e2e-test branch from c665247 to 4f68116 Compare November 10, 2021 19:06
@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

Copy link
Contributor

@noahtallen noahtallen left a comment

Choose a reason for hiding this comment

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

LGTM -- do we run gutenberg tests in this PR or after merging?

@fullofcaffeine
Copy link
Contributor Author

fullofcaffeine commented Nov 10, 2021

LGTM -- do we run gutenberg tests in this PR or after merging?

I've tested locally, but I'll run from this PR now just in case. Thanks!

@fullofcaffeine
Copy link
Contributor Author

The failing tests are not related to the changes.

@fullofcaffeine fullofcaffeine merged commit fc644a5 into trunk Nov 10, 2021
@fullofcaffeine fullofcaffeine deleted the fix/line-height-e2e-test branch November 10, 2021 22:26
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Nov 10, 2021
nelsonec87 pushed a commit that referenced this pull request Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
caused-by-gutenberg-upgrade Labels an issue (or PR) as caused by or related to a Gutenberg upgrade on WPCOM.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants