Skip to content

Commit

Permalink
e2e: notification messages per platform
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianriobo authored and anjannath committed Oct 4, 2021
1 parent bcc086e commit c90c043
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/extended/crc/ux/notification/const.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package notification

const (
startMessage string = "OpenShift cluster is running"
stopMessage string = "The OpenShift Cluster was successfully stopped"
deleteMessage string = "The OpenShift Cluster is successfully deleted"
// copyCommandMessage string = "OC Login command copied to clipboard, go ahead and login to your cluster"

notificationWaitTimeout int = 200
Expand Down
4 changes: 4 additions & 0 deletions test/extended/crc/ux/notification/notification_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ type applescriptHandler struct {
}

const (
startMessage string = "OpenShift cluster is running"
stopMessage string = "The OpenShift Cluster was successfully stopped"
deleteMessage string = "The OpenShift Cluster is successfully deleted"

scriptsRelativePath string = "applescripts"
manageNotifications string = "manageNotifications.applescript"
manageNotificationActionGet string = "get"
Expand Down
4 changes: 4 additions & 0 deletions test/extended/crc/ux/notification/notification_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ type gowinxHandler struct {
}

const (
startMessage string = "CodeReady Containers Cluster has started"
stopMessage string = "Cluster stopped"
deleteMessage string = "Cluster deleted"

notificationGroupName string = "CodeReady Containers"
)

Expand Down

0 comments on commit c90c043

Please sign in to comment.