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: fix correct title tag #97068

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

nightnei
Copy link
Contributor

@nightnei nightnei commented Dec 4, 2024

Proposed Changes

After switching to Gutenberg 19.8.0 we have incorrect selector for title. I checked it and it's indeed should be h2, since we have h1 as the main title

Screenshot 2024-12-04 at 17 13 00

Testing Instructions

Visual review should suffice

@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Dec 4, 2024
@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

@ivan-ottinger ivan-ottinger left a comment

Choose a reason for hiding this comment

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

I might be missing something, but which issue this PR should be fixing? 🤔

Because when running the test (VIEWPORT_NAME=desktop TEST_ON_ATOMIC=false GUTENBERG_EDGE=true yarn jest specs/editor/editor__page-basic-flow.ts) with Simple Gutenberg edge site, it is failing and the selector should actually include H1 tag, not H2.

Looking at TeamCity, there is an issue with the different test: specs/editor/editor__post-basic-flow.ts instead. But again, maybe I missed what you meant to fix with the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants