Commit Graph

11 Commits

Author SHA1 Message Date
Neil MacDougall e020b5fb90
Accessibility tests (#12900)
* WIP: Accessibility e2e test suite and support

* Add e2e job for accessibility tests

* Fix a11y tests

* Remove test

* Fix lint issues

* Add report upload

* Upload a11y screenshots

* Remove failure gate on a11y screenshots

* Test debugging

* Fix lint

* Fix setup issue

* Tweak tests

* Create a11y report

* Fix screenshot folder

* Build out more tests to cover a11y
2025-02-24 16:25:21 +00:00
a-arias 55ac47f88e add initial percy covergae 2025-02-05 14:53:37 -07:00
Izaac Zavaleta e02501901a Adjust cypress execution to generate html report on Jenkins 2024-10-08 12:50:30 -07:00
Francesco Torchia b26686d979
Add e2e custom command: isVisible
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-02-14 15:51:30 +01:00
yonasberhe23 67e6d6f515
actions on cluster tests (#9946)
* actions on cluster tests

---------

Co-authored-by: Yonas Berhe <yberhe@Yonass-MacBook-Pro.local>
2023-11-15 11:41:56 -08:00
Richard Cox ff065e508e Beef up flaky extension banner test
- banner should be visibile when test starts
- banner is visible if v3 setting is not 'true' and there is a missing helm repo
- previously confirmed the repo is missing, now confirm the v3 setting is correct
- split rancher api commands out from base commands, added get/set commands
2023-07-21 11:15:19 +01:00
yonasberhe23 2c18619932
ui automation: update workflow: create standard user, add tags to tests (#9029)
* add standard user to workflow

* update create user logic and added cypress-grep plugin

* added admin and standard user tags to tests, updated workflow in test.yaml

* update workflow file and added adminUser tag to setup

---------

Co-authored-by: Yonas Berhe <yberhe@Yonass-MacBook-Pro.local>
2023-07-04 11:17:24 -07:00
Giuseppe Leo 1c6b5ac666
Generate coverage value for both unit and E2E tests (#6690)
* Correct Jest coverage configuration

* Add coverage upload

* Exclude operationsl scripts from linting

* Rephrase title based on pull request title, run and attempt, with fallback for commits

* Add instrumentation for E2E coverage report

* Add merge logic to the coverage files

* Add instrumentalization for Cypress to generate coverage for E2E

* Download artifacts before merge coverage in CI

* Merge fix

* Copy coverage files before artifact upload

* Add summary after running tests

* Change restriction rules about coverage for pull_request and push

* Add documentation for the coverage

* Correct test documentation folder restructuring

* Add inclusion list for Cypress coverage; add scripts as exclusion

* Extend ignored path to be parsed for Jest to improve performances

* Workflow cleanup

* Checkout current branch head on test runs

* Submit separated coverage with different flags
2022-09-30 10:36:36 +02:00
Giuseppe Leo 698194fea3
Create E2E tests for cluster CRUD operations (#6284)
* Set data test id and allow complex component to have default and inherited values for all the actions

* Create cluster tests with steps; Create cluster E2E test

* Extend command to use selector matchers

* Create test for cluster navigation and deletion

* Extend commands to find by id as in get method

* Extend documentation with guidelines and info about E2E

* Correct cluster delete and details tests to get menu within speciftc cluster row

* Add remaining E2E tests for the cluster

* Add baseUrl to the paths

* Add RKE2 selection on cluster creation for CI

* Add E2E debugging information

* Rename clluster manager E2E for consistency

* Correct data test ID after rebase

* Prevent cluster provider errors if no management parameter is provided

* Prevent accessing objects in mutation if none is provided

* Remove imported cluster sample due discarded logic

* Reset RKE2 switch on cluster creation

* Adjust test naming for cluster manager

* Group tests under scoped cases
2022-08-17 20:48:20 +02:00
Giuseppe Leo dc26bd93c6
Reset user preferences on E2E start or requests (#6535)
* Add user preference command for Cypress stubs

* Include global types to Cypres TS configuration

* Prevent distributed interface issues on lint
2022-08-05 10:00:21 +02:00
Giuseppe Leo a71dee857e
Update Cypress to version 10 (#6146)
* Run Cypress migration scripts; Update failing parts

* Move env var assignments to Cypress configuration; Correct env patterns

* Correct imports within the Cypress tests

* Correct TS linting configuration errors after update

* Return directly spec path in cypress configuration
2022-07-27 15:53:36 +02:00