Cypress: pods and namespaces to params & param for the 'src' and 'dest' checks (#864)

This commit is contained in:
Adam Kol
2022-02-28 17:23:33 +02:00
committed by GitHub
parent 817c17ad32
commit f37abfff88
3 changed files with 49 additions and 28 deletions

View File

@@ -148,9 +148,9 @@ func getDefaultConfigCommandArgs() []string {
func runCypressTests(t *testing.T, cypressRunCmd string) {
cypressCmd := exec.Command("bash", "-c", cypressRunCmd)
t.Logf("running command: %v", cypressCmd.String())
out, err := cypressCmd.Output()
out, err := cypressCmd.CombinedOutput()
if err != nil {
t.Errorf("error running cypress, error: %v", err)
t.Errorf("error running cypress, error: %v, output: %v", err, string(out))
return
}