As a QA Engineer, I want to have automated tests for Rocket Insights smoke test

Open
#296 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
playwright, typescript

Research direction

No files, test names, or entry points are named. Start by mapping the listed Rocket Insights tab and type-list scenarios onto the repository’s existing Playwright test structure, then split the work into subtasks. Done means RI-tagged tests cover the listed free and paid-user flows, with feature setup and credit cleanup handled and the tests excluded from smoke and all E2E runs.

Written by the indexing model from the issue text.

Description

Notes:

  • After test => we need to clear the credit option from DB after delete WPR
  • Let tests run only with RI tag (excluded from smoke and all e2e)
  • Before test, we need to enable RI feature if it was disabled with filter
  • Issue could be broken down to subtasks

Modules
1- RI tab
Scenario: Should validate that home page processed by default for fresh install
Scenario: Should validate that free user can add up to 3 URLs
Scenario: Should validate that free user can retest URL
Scenario: Should validate that free user can see report of the processed URL
Scenario: Should display blurred result when add URL while no credit
Scenario: Should display tooltip for failed score
Scenaio: Should display tooltip for dimmed retest and dimmed see report
Scenario: Should display tooltip for dimmed add button
Scenario: Should display tooltip for trimmed URL
Scenario: Should display white banner for free user
Scenario: Should display green limit banner for free user
Scenario: Should display green banner when switch to paid user
Scenario: Should display green limit banner for paid user

2- 'type' List ==> type is post, page, custom post, product
Scenario: Should validate that free user can test page from 'type' list
Scenario: Should validate that free user can retest page from 'type' list
Scenario: Should validate that free user can see report from 'type' list
Scenario: Should display red text when reach URL limit for free user
Scenario: Should display red text when reach credit limit for free user when retest post
Scenario: Should display blur results when free user test URL while no test credit
Scenario: Should display tooltip for failed score in post list and no horizontal scroll

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

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.

More from wp-media/wp-rocket-e2e

All issues in wp-media/wp-rocket-e2e

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.