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: Update Gutenberg classes for 8.5 compat #44457

Merged
merged 2 commits into from
Jul 27, 2020

Conversation

sirreal
Copy link
Member

@sirreal sirreal commented Jul 27, 2020

Changes proposed in this Pull Request

Testing instructions

Fixes #

@matticbot
Copy link
Contributor

@sirreal sirreal marked this pull request as draft July 27, 2020 12:26
@sirreal sirreal added the [Status] Needs e2e Testing Gutenberg Edge Run e2e tests with a special site that is running the latest Gutenberg plugin snapshot label Jul 27, 2020
@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.

@sirreal sirreal added [Status] Needs e2e Testing Gutenberg Edge Run e2e tests with a special site that is running the latest Gutenberg plugin snapshot and removed [Status] Needs e2e Testing Gutenberg Edge Run e2e tests with a special site that is running the latest Gutenberg plugin snapshot labels Jul 27, 2020
);
return await driverHelper.verifyTextPresent(
this.driver,
By.css( '.editor-post-publish-panel__header-published' ),
By.css( '.post-publish-panel__postpublish-header' ),
'Scheduled'
Copy link
Member

@WunderBart WunderBart Jul 27, 2020

Choose a reason for hiding this comment

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

This doesn't seem to be set in 8.5.1 anymore:

8.3.0 8.5.1
Screenshot 2020-07-27 15 46 19 Screenshot 2020-07-27 15 45 35

Copy link
Member Author

Choose a reason for hiding this comment

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

The updated selector matches this element. It seems to match "scheduled" in the text.

Screen Shot 2020-07-27 at 19 20 57

It seems like this should work well across versions, but let's see what the tests report.

Copy link
Member

@WunderBart WunderBart Jul 27, 2020

Choose a reason for hiding this comment

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

It was previously matching the header selector, but I think it's OK to keep it as a check for that summary text (unless there's a separate test for it?). I'd only make it lowercased scheduled in the test to avoid confusion.

@sirreal sirreal added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 27, 2020
@sirreal sirreal added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Jul 27, 2020
@fullofcaffeine fullofcaffeine marked this pull request as ready for review July 27, 2020 21:09
@fullofcaffeine fullofcaffeine self-requested a review July 27, 2020 21:13
Copy link
Contributor

@fullofcaffeine fullofcaffeine left a comment

Choose a reason for hiding this comment

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

All tests are passing. Looks good!

@fullofcaffeine fullofcaffeine merged commit 096d475 into master Jul 27, 2020
@fullofcaffeine fullofcaffeine deleted the fix/gb-e2e-schedule-post branch July 27, 2020 21:22
@fullofcaffeine fullofcaffeine removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs e2e Testing Gutenberg Edge Run e2e tests with a special site that is running the latest Gutenberg plugin snapshot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants