From 9effef13acc9838c0aa8c535c453b09f4c4b899e Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 10 Jul 2024 23:15:47 +0000 Subject: [PATCH] ci: update tests/README.md file --- tests/README.md | 224 ++++++++++++++++++++++++------------------------ 1 file changed, 112 insertions(+), 112 deletions(-) diff --git a/tests/README.md b/tests/README.md index 1398769f4..886a5c846 100644 --- a/tests/README.md +++ b/tests/README.md @@ -1,115 +1,3 @@ -# Tests description for cypress/latest/e2e/unit_tests - -## `advanced_filtering.spec.ts` - -- **Describe:** Advanced filtering testing - - **It:** Create fake machine inventories - - **It:** Two machine inventories should appear by filtering on test-filter - - **It:** One machine inventory should appear by filtering on test-filter-one - - **It:** No machine inventory should appear by filtering on test-bad-filter - - **It:** Delete all fake machine inventories - -## `deploy_app.spec.ts` - -- **Describe:** Deploy application in fresh Elemental Cluster - - **It:** Deploy Alerting Drivers application - - **It:** Remove Alerting Drivers application - -## `elemental_operator.spec.ts` - -- **Describe:** Install Elemental Operator - - **It:** Add local chartmuseum repo - - **It:** Install latest dev Elemental operator - - **It:** Install latest stable Elemental operator - -## `elemental_plugin.spec.ts` - -- **Describe:** Install Elemental plugin - - **It:** Add elemental-ui repo - - **It:** Add rancher-ui-plugin-charts repo - - **It:** Enable extension support - - **It:** Install Elemental plugin - -## `first_connection.spec.ts` - -- **Describe:** First login on Rancher - - **It:** Log in and accept terms and conditions - -## `machine_inventory.spec.ts` - -- **Describe:** Machine inventory testing - - **It:** Check that machine inventory has been created - - **It:** Check we can see our embedded hardware labels - - **It:** Create Elemental cluster - - **It:** Check Elemental cluster status - -## `machine_registration.spec.ts` - -- **Describe:** Machine registration testing - - **It:** Create machine registration with default options - - **It:** Create machine registration with labels and annotations - - **It:** Delete machine registration - - **It:** Edit a machine registration with edit config button - - **It:** Edit a machine registration with edit YAML button - - **It:** Clone a machine registration - - **It:** Download Machine registration YAML - - **It:** Check machine registration label name size - - **It:** Check machine registration label value size - - **It:** Create Machine registration we will use to test adding a node - - **It:** Create Machine registration we will use to test adding a node - -## `machine_selector.spec.ts` - -- **Describe:** Machine selector testing - - **It:** Testing selector without any rule - - **It:** Testing selector with unmatching rule - - **It:** Testing selector with matching rule - -## `menu.spec.ts` - -- **Describe:** Menu testing - - **It:** Check Elemental logo - - **It:** Check Elemental menu - -## `reset.spec.ts` - -- **Describe:** Reset testing - - **It:** Enable reset in machine inventory - - **It:** Reset node by deleting the cluster - - **It:** Create Elemental cluster - -## `upgrade-operator.spec.ts` - -- **Describe:** Elemental operator upgrade tests - - **It:** Add elemental-operator dev repo - - **It:** Upgrade Elemental operator - - **It:** Check Elemental UI after upgrade - -## `upgrade-ui-extension.spec.ts` - -- **Describe:** UI extension upgrade tests - - **It:** Add elemental-ui dev repo - - **It:** Upgrade Elemental UI extension - - **It:** Check Elemental UI after upgrade - -## `upgrade.spec.ts` - -- **Describe:** Upgrade tests - - **It:** Delete stable channel for RKE2 upgrade - - **It:** Add dev channel for RKE2 upgrade - - **It:** Check OS Versions - - **It:** Upgrade one node different methods if rke2 or k3s - - **It:** Cannot create two upgrade groups targeting the same cluster - - **It:** Delete OS Versions Channels - -## `user.spec.ts` - -- **Describe:** User role testing - - **It:** Create standard user - - **It:** Create elemental user - - **It:** Elemental user should access the OS management menu - - **It:** Standard user should not access the OS management menu - # Tests description for e2e ## `airgap_test.go` @@ -310,3 +198,115 @@ - **By:** Checking OS version on +h+ after upgrade - **By:** Checking cluster state after upgrade +# Tests description for cypress/latest/e2e/unit_tests + +## `advanced_filtering.spec.ts` + +- **Describe:** Advanced filtering testing + - **It:** Create fake machine inventories + - **It:** Two machine inventories should appear by filtering on test-filter + - **It:** One machine inventory should appear by filtering on test-filter-one + - **It:** No machine inventory should appear by filtering on test-bad-filter + - **It:** Delete all fake machine inventories + +## `deploy_app.spec.ts` + +- **Describe:** Deploy application in fresh Elemental Cluster + - **It:** Deploy Alerting Drivers application + - **It:** Remove Alerting Drivers application + +## `elemental_operator.spec.ts` + +- **Describe:** Install Elemental Operator + - **It:** Add local chartmuseum repo + - **It:** Install latest dev Elemental operator + - **It:** Install latest stable Elemental operator + +## `elemental_plugin.spec.ts` + +- **Describe:** Install Elemental plugin + - **It:** Add elemental-ui repo + - **It:** Add rancher-ui-plugin-charts repo + - **It:** Enable extension support + - **It:** Install Elemental plugin + +## `first_connection.spec.ts` + +- **Describe:** First login on Rancher + - **It:** Log in and accept terms and conditions + +## `machine_inventory.spec.ts` + +- **Describe:** Machine inventory testing + - **It:** Check that machine inventory has been created + - **It:** Check we can see our embedded hardware labels + - **It:** Create Elemental cluster + - **It:** Check Elemental cluster status + +## `machine_registration.spec.ts` + +- **Describe:** Machine registration testing + - **It:** Create machine registration with default options + - **It:** Create machine registration with labels and annotations + - **It:** Delete machine registration + - **It:** Edit a machine registration with edit config button + - **It:** Edit a machine registration with edit YAML button + - **It:** Clone a machine registration + - **It:** Download Machine registration YAML + - **It:** Check machine registration label name size + - **It:** Check machine registration label value size + - **It:** Create Machine registration we will use to test adding a node + - **It:** Create Machine registration we will use to test adding a node + +## `machine_selector.spec.ts` + +- **Describe:** Machine selector testing + - **It:** Testing selector without any rule + - **It:** Testing selector with unmatching rule + - **It:** Testing selector with matching rule + +## `menu.spec.ts` + +- **Describe:** Menu testing + - **It:** Check Elemental logo + - **It:** Check Elemental menu + +## `reset.spec.ts` + +- **Describe:** Reset testing + - **It:** Enable reset in machine inventory + - **It:** Reset node by deleting the cluster + - **It:** Create Elemental cluster + +## `upgrade-operator.spec.ts` + +- **Describe:** Elemental operator upgrade tests + - **It:** Add elemental-operator dev repo + - **It:** Upgrade Elemental operator + - **It:** Check Elemental UI after upgrade + +## `upgrade-ui-extension.spec.ts` + +- **Describe:** UI extension upgrade tests + - **It:** Add elemental-ui dev repo + - **It:** Upgrade Elemental UI extension + - **It:** Check Elemental UI after upgrade + +## `upgrade.spec.ts` + +- **Describe:** Upgrade tests + - **It:** Delete stable channel for RKE2 upgrade + - **It:** Add dev channel for RKE2 upgrade + - **It:** Check OS Versions + - **It:** Upgrade one node different methods if rke2 or k3s + - **It:** Cannot create two upgrade groups targeting the same cluster + - **It:** Delete OS Versions Channels + +## `user.spec.ts` + +- **Describe:** User role testing + - **It:** Create standard user + - **It:** Create elemental user + - **It:** Elemental user should access the OS management menu + - **It:** Standard user should not access the OS management menu +