Skip to content

Commit

Permalink
Added restart scenario for tray testing
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianriobo committed Apr 6, 2021
1 parent 8cdf65d commit 1317cc0
Showing 1 changed file with 28 additions and 16 deletions.
44 changes: 28 additions & 16 deletions test/e2e/features/tray.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,40 @@ Feature: Tray
And tray should show cluster as running
And user should get notified with cluster state as running


# @darwin
# @darwin @evaluate
# Scenario: Start Cluster with wrong pull secret
# Given fresh crc tray installation
# When start the cluster from the tray
# And set a wrong pull secret file
# Then should get a pop up warning about the pull secret

# @darwin @testdata
# Scenario: Stop Cluster
# @darwin @evaluate
# Scenario Outline: Connect the cluster
# Given a running cluster
# When stop the cluster from the tray
# Then cluster should be stopped
# And user should get a notification
# And tray should show cluster as stopped

# @darwin @testdata
# Scenario: Restart Cluster
# Given a stopped cluster
# When start the cluster from the tray
# Then cluster should be started
# And user should get a notification
# And tray should show cluster as running
# When copy oc login commmand for "<user>"
# And paste copied command to a terminal
# Then user should get notified with command copied
# And user can connect to the cluster as "<user>"

# Examples:
# | user
# | kubeadmin
# | developer

@darwin
Scenario: Stop 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
Scenario: Restart Cluster
Given a stopped cluster
When start the cluster from the tray
Then cluster should be started
And tray should show cluster as running
And user should get notified with cluster state as running


0 comments on commit 1317cc0

Please sign in to comment.