Make WordPress Core

Opened 20 months ago

Last modified 8 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 (10)

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

20 months ago

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

19 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.

8 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
7 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
7 months ago

talldan commented on PR #200:


#6 @prbot
6 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
3 months ago

talldan commented on PR #1089:

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

#9 @prbot
8 days ago

hellofromtonya commented on PR #1089:

@tellthemachines @talldan Is this PR ready for commit? Does it overlap any of the work that @JustinyAhin is doing?

#10 @prbot
8 days ago

tellthemachines commented on PR #1089:

@hellofromtonya yup, this one's ready to go. It doesn't overlap with Justin's PRs as this is specific to the posts screen and Justin has been focusing on other screens so far.

Note: See TracTickets for help on using tickets.