Make WordPress Core

Opened 17 months ago

Last modified 12 days ago

#49507 assigned enhancement

Add end-to-end tests for edit posts page

Reported by: talldanwp Owned by: talldanwp
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch has-unit-tests
Focuses: Cc:


It'd be great to explore adding more e2e tests for WordPress, and the edit posts/all posts page seems like a good place to start.

I've written a few of these in Gutenberg and I'd like to work on adding some for core.

Change History (8)

This ticket was mentioned in Slack in #hosting-community by mike. View the logs.

17 months ago

This ticket was mentioned in PR #200 on WordPress/wordpress-develop by talldan.

16 months ago

## Description

Fixes https://core.trac.wordpress.org/ticket/49507

Adds e2e tests for the edit posts page. This is currently a work in progress and not quite ready for review.

This ticket was mentioned in PR #1089 on WordPress/wordpress-develop by tellthemachines.

5 months ago

  • Keywords has-patch has-unit-tests added

Sequel to #200, fixes element targeting issues in some of the tests.

Trac ticket: https://core.trac.wordpress.org/ticket/49507

#4 @prbot
4 months ago

azaozz commented on PR #200:

Should this be closed in favour of https://github.com/WordPress/wordpress-develop/pull/1089? Thinking 1089 is ready to go in, all tests green :)

#5 @prbot
4 months ago

talldan commented on PR #200:


#6 @prbot
3 months ago

JustinyAhin commented on PR #1089:

I've run the tests, and they work as expected.

@tellthemachines I was wondering, does it make sense to add a README to the e2e folder with information about how to run the test, how to enable headless mode for the tests for instance?

Also, what does this needs to get merged?

#8 @prbot
12 days ago

talldan commented on PR #1089:

There's a README over here @JustinyAhin - https://github.com/WordPress/wordpress-develop/pull/1451.

Note: See TracTickets for help on using tickets.