Skip to content

Commit

Permalink
e2e: ux feature for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianriobo authored and anjannath committed Oct 4, 2021
1 parent a0f383b commit bcc086e
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions test/e2e/features/ux.feature
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
@ux
@ux
Feature: UX Test

Tets CRC usage with ux components.
* Handle CRC install/ uninstall operations based on installer distribution
* Manage CRC through the tray

@darwin
@install @darwin
Scenario: Install CRC
Given an environment where CRC is not installed
When install CRC from installer
Then CRC is installed

@darwin

@install @windows
Scenario: Install CRC
Given an environment where CRC is not installed
When install CRC from installer
Then reboot is required

@darwin @windows
Scenario: Install tray
When install CRC tray
Then tray should be installed
And tray icon should be accessible

@darwin
@darwin @windows
Scenario: Start the cluster
Given fresh tray installation
When start the cluster from the tray
Expand All @@ -26,7 +32,7 @@ Feature: UX Test
And tray should show cluster as running
And user should get notified with cluster state as running

@darwin
@darwin @windows
Scenario Outline: Connect to the cluster
Given a running cluster
When using copied oc login command for <ocp-user>
Expand All @@ -39,15 +45,15 @@ Feature: UX Test
| kubeadmin |
| developer |

@darwin
@darwin @windows
Scenario: Stop the cluster
Given a running cluster
When stop the cluster from the tray
Then cluster should be stopped
And tray should show cluster as stopped
And user should get notified with cluster state as stopped

@darwin
@darwin @windows
Scenario: Restart the cluster
Given a stopped cluster
When start the cluster from the tray
Expand Down

0 comments on commit bcc086e

Please sign in to comment.