Make WordPress Core

Opened 2 weeks ago

Closed 2 weeks ago

Last modified 2 weeks ago

#63657 closed enhancement (wontfix)

Lacking of thorough e2e testing

Reported by: amandasilvasantos's profile amandasilvasantos Owned by:
Milestone: Priority: normal
Severity: normal Version: trunk
Component: General Keywords: has-patch has-unit-tests
Focuses: tests Cc:

Description

While WordPress currently uses Playwright for E2E testing, there are notable limitations in terms of test coverage depth, maintenance effort, and non-technical contributor accessibility. I propose introducing testRigor into the E2E test suite as a complementary tool.

Key Benefits

  • Plain English Tests: Write tests in natural language, making them accessible to all contributors.
  • Low Maintenance: Resilient to UI changes thanks to AI-driven selectors.
  • Tests across devices: Run tests across browsers and devices with no extra setup.
  • Reusable Test Steps: Abstract common flows into shareable, readable steps.
  • Faster Execution: Cloud-based parallel test runs speed up feedback loops.
  • Non-Developer Friendly: Empowers QA, designers, and content creators to contribute with tests.

Change History (8)

This ticket was mentioned in PR #9182 on WordPress/wordpress-develop by amandassa-tR.


2 weeks ago
#1

  • Keywords has-patch has-unit-tests added

https://core.trac.wordpress.org/ticket/63657#no0

I set up an environment for tests with testRigor and integrated into CI. It is ready to test the latest version and further improved with even more tests in plain english.

Addition of new E2E tests in plain english.

Add successful ci integration

Add testRigor tests

#2 in reply to: ↑ description ; follow-up: @SirLouen
2 weeks ago

  • Resolution set to invalid
  • Status changed from new to closed

Replying to amandasilvasantos:

While WordPress currently uses Playwright for E2E testing, there are notable limitations in terms of test coverage depth, maintenance effort, and non-technical contributor accessibility. I propose introducing testRigor into the E2E test suite as a complementary tool.

Looks good, I think we should implement it.

#3 in reply to: ↑ 2 ; follow-ups: @TobiasBg
2 weeks ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

Replying to SirLouen:

Looks good, I think we should implement it.

Then we should leave the ticket open :-)

#4 in reply to: ↑ 3 @amandasilvasantos
2 weeks ago

Replying to TobiasBg:

Replying to SirLouen:

Looks good, I think we should implement it.

Then we should leave the ticket open :-)

Hi! Do you guys think it's possible for us to get a mainteiner to create the github env variables in order to proceed the testing of this enhancement? What can I do to have further progress with this PR? Thanks in advance!

#5 in reply to: ↑ 3 @SirLouen
2 weeks ago

  • Resolution set to invalid
  • Status changed from reopened to closed

Replying to TobiasBg:

Replying to SirLouen:

Looks good, I think we should implement it.

Then we should leave the ticket open :-)

@TobiasBg I was being totally sarcastic with this shameless spamming reporter.
Do your diligence, and you will know what I'm talking about.

#6 @johnbillion
2 weeks ago

  • Focuses ui sustainability removed
  • Milestone Awaiting Review deleted
  • Resolution changed from invalid to wontfix

Let's close this off properly. The WordPress core project is not going to invest time currently into an alternative e2e test platform, especially one that operates via a third party SaaS.

The existing e2e infrastructure uses Playwright, the same as the Gutenberg project, and switching to a different e2e platform doesn't magically increase coverage.

#7 follow-up: @TobiasBg
2 weeks ago

@SirLouen: Sorry for not understanding your sarcasm or not "doing my diligence"... Please remember that it's not always easy to spot humor in written texts (especially for non-native speakers), so that it's often better to refrain from using it in work tools like Trac or to only use it in addition, and maybe marked appropriately, to a proper explanation of an action. Based on your first reply, I simply thought that closing the ticket as invalid happened by accident, which is why I had reopened it.

#8 in reply to: ↑ 7 @SirLouen
2 weeks ago

Replying to TobiasBg:

Please remember that it's not always easy to spot humor in written texts (especially for non-native speakers)

It was not humorous, I was being completely hostile against the spammer, in spammer's language.

so that it's often better to refrain from using it in work tools like Trac or to only use it in addition, and maybe marked appropriately, to a proper explanation of an action. Based on your first reply, I simply thought that closing the ticket as invalid happened by accident, which is why I had reopened it.

If you want to further discuss on this, I invite you to come by in today's meeting @ 3PM in #core-test Slack channel.

Note: See TracTickets for help on using tickets.