Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate deployment profile tests via E2E #4963

Closed
IsaSih opened this issue Jun 16, 2023 · 0 comments · Fixed by #5361
Closed

Automate deployment profile tests via E2E #4963

IsaSih opened this issue Jun 16, 2023 · 0 comments · Fixed by #5361
Assignees
Labels
area/deployment Deployment profiles component/e2e Stories tied to end-to-end tests for automation kind/quality quality improvements, refactoring, Automation via CI, E2E, Integration, CLI or REST API
Milestone

Comments

@IsaSih
Copy link
Contributor

IsaSih commented Jun 16, 2023

Problem Description

BATS will be used (#4962) to verify whether the default and locked fields are being applied to settings.json. Also, that locked fields are not editable by the user via CLI.

The purpose of this epic is to create e2e tests to verify if the first-run dialog is not shown once there's a deployment profile (wether it's SYSTEM's or USER's). If first-run dialog is shown if there are no profiles and settings.json. Also, if locked fields are locked in the UI + not editable.

Proposed Solution

Develop tests to cover the following scenarios on all 3 platforms:

  • NO profiles and NO settings.json (first-run dialog)

  • Start Rancher Desktop with SYSTEM deployment profiles, no settings.json

  • SYSTEM profile and existing settings.json

  • SYSTEM profile and USER profile existing settings.json

  • SYSTEM profile and USER profile, no existing settings.json

  • Start Rancher Desktop with USER deployment profiles only

  • USER deployment profile and existing settings.json

  • Start Rancher Desktop w/ deployment profiles with non-existing settings

  • Start Rancher Desktop with deployment profiles containing wrong data types

  • Start Rancher Desktop w/ bad-formatted deployment profiles

Additional Information

Expected results for each test case is described in the BATS epic #4962.

@IsaSih IsaSih added kind/enhancement New feature or request component/e2e Stories tied to end-to-end tests for automation kind/quality quality improvements, refactoring, Automation via CI, E2E, Integration, CLI or REST API area/deployment Deployment profiles and removed kind/enhancement New feature or request labels Jun 16, 2023
@IsaSih IsaSih added this to the 1.10 milestone Jun 16, 2023
@jandubois jandubois changed the title e2e: Automate deployment profile tests Automate deployment profile tests via E2E Jun 16, 2023
@jandubois jandubois changed the title Automate deployment profile tests via E2E Epic: Automate deployment profile tests via E2E Jun 16, 2023
@ericpromislow ericpromislow changed the title Epic: Automate deployment profile tests via E2E Automate deployment profile tests via E2E Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/deployment Deployment profiles component/e2e Stories tied to end-to-end tests for automation kind/quality quality improvements, refactoring, Automation via CI, E2E, Integration, CLI or REST API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants