Skip to content

Add Playwright E2E test for heuristic study creation (inspection category)#1870

Open
Akshay-Varma7 wants to merge 1 commit intoruxailab:developfrom
Akshay-Varma7:test/heuristic-study-e2e
Open

Add Playwright E2E test for heuristic study creation (inspection category)#1870
Akshay-Varma7 wants to merge 1 commit intoruxailab:developfrom
Akshay-Varma7:test/heuristic-study-e2e

Conversation

@Akshay-Varma7
Copy link

Description

This PR adds an end-to-end Playwright test covering the heuristic study creation flow in RUXAILAB.
The test validates the current study creation workflow for the Inspection(category) → Heuristic Evaluation .
(also used existing e2e tests as reference)

What this test covers

The following user flow is tested:

  1. Admin login
  2. Create new study
  3. Select category: Inspection
  4. Select method: Heuristic Evaluation
  5. Select study type: Start with Blank Study
  6. Fill study details
  7. Create study
  8. Verify the created study appears on the dashboard

Impact

Some existing E2E tests appear to reference the older test creation workflow. Since the UI now represents these as studies, those tests may fail due to the updated interface.
This test reflects the current study-based workflow.

Local testing

The test was executed locally:

  • Ran this test - Verified successful execution across Chromium and Firefox
  • Screenshot from 2026-03-12 17-17-38

Future improvements

Next planned tests:

  • Testing category study creation flow (one method)- Additional coverage for other study creation flows
    Happy to extend coverage for all study flows(following this pattern) if preferred.

Related Issue

Closes #1869

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Playwright tests reference outdated "test creation" flow instead of current study workflow.

1 participant