Skip to content

Exclude renew and upgrade URLs from E2E broken link checks to prevent unintended order creation #343

@hanna-meda

Description

@hanna-meda

The E2E test introduced in PR #329 that validates WP Rocket settings pages for broken links is currently following wp-rocket.me/renew/ and wp-rocket.me/upgrade/ URLs.

These URLs trigger order creation on the production website when accessed, which has resulted in hundreds of unintended pending orders being generated by the E2E test account (mai+autoe2e@wp-media.me).

Expected:
E2E broken link checks should not follow or validate URLs that:

  • Contain /renew/
  • Contain /upgrade/
    The test should ignore any URL that triggers transactional side effects.

Related Slack discussion.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions