Skip to content

Commit

Permalink
Revert copy required files from before suite to before scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianriobo committed Apr 6, 2021
1 parent a82d0fd commit 8cdf65d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/crcsuite/ux/uxsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/code-ready/crc/test/e2e/crcsuite/ux/notification"
"github.com/code-ready/crc/test/e2e/crcsuite/ux/tray"
"github.com/cucumber/godog"
"github.com/cucumber/messages-go/v10"
)

var trayHandler tray.Tray
Expand Down Expand Up @@ -51,7 +52,7 @@ func FeatureContext(s *godog.Suite, bundleLocation *string, pullSecretFile *stri
getNotification)
s.Step(`^a (.*) cluster$`,
guaranteeClusterState)
s.BeforeSuite(func() {
s.BeforeScenario(func(*messages.Pickle) {
copyRequiredResources(tray.RequiredResourcesPath)
copyRequiredResources(installer.RequiredResourcesPath)
copyRequiredResources(notification.RequiredResourcesPath)
Expand Down

0 comments on commit 8cdf65d

Please sign in to comment.