WordPress.org

Make WordPress Core

Opened 15 months ago

Last modified 39 hours 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:

Description

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 (7)

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


14 months ago

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


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


2 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 weeks 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 weeks ago

talldan commented on PR #200:

Yep!

#6 @prbot
4 days 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?

Note: See TracTickets for help on using tickets.