wp-media / wp-media/wp-rocket-e2e

Timeouts error on templates for LRC test

Open
#202 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Test Maintenance
Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
3d 22h
Merged PRs (30d)
3

Description

Before submitting an issue please check that you’ve completed the following steps:

  • Made sure you’re on the latest version
  • Used the search feature to ensure that the bug hasn’t been reported before

Describe the bug
When running lrc tests during template visits, there's always a timeout on the 2nd to the last template.

To Reproduce
Steps to reproduce the behavior:

  1. Run lrc test: npm run test:lrc
  2. During test run, see timeout error for template: 4787-2

Expected behavior
We should not have timeout during template visits

Screenshots
Image

Additional context
While doing a light debug, I removed the template in question but the timeout moves to the last template in the list: lrc_will_site

Acceptance Criteria (for WP Media team use only)

  • LRC tests should pass without failing from timeout.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running npm run test:lrc and observe the timeout around template 4787-2 and lrc_will_site. Trace the LRC test entry point and template-visit handling to determine why the timeout shifts when a template is removed; done means the LRC tests pass without timeout failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, playwright, typescript
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.