Cleanup #52780
mgr/dashboard: refactor e2e tests with cucumber-like tests
Status:
New
Priority:
Normal
Assignee:
-
Category:
Build, CI, Dependencies & Tools
Target version:
-
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Tags:
Description
Replace e2e tests with a natural language/Cucumber-like (Gherkin) implementation:
Feature: Cluster Expansion Wizard # The first example has two steps Scenario: User lands to Dashboard for the first time Given the Cluster is Bootstrapped When the User logs in to the Dashboard Then the page "Welcome" is displayed Scenario: User proceeds with the Cluster Expansion Wizard Given the User is on Welcome Screen When the User clicks on Start Then the page "Host selection" is displayed
Cypress has support for Gherking language: https://www.npmjs.com/package/cypress-cucumber-preprocessor