You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if_, err:=c.ExpectString("Value for param `message` of type `string`? (Default is `hello`)"); err!=nil {
51
-
returnerr
52
-
}
53
-
54
-
if_, err:=c.ExpectString("hello"); err!=nil {
55
-
returnerr
56
-
}
57
-
58
-
if_, err:=c.SendLine("test-e2e"); err!=nil {
59
-
returnerr
60
-
}
61
-
62
-
if_, err:=c.ExpectString("Value for param `filename` of type `string`?"); err!=nil {
63
-
returnerr
64
-
}
65
-
66
-
if_, err:=c.SendLine("output"); err!=nil {
67
-
returnerr
68
-
}
69
-
70
-
if_, err:=c.ExpectEOF(); err!=nil {
71
-
returnerr
72
-
}
73
-
74
-
c.Close()
75
-
returnnil
76
-
},
77
-
})
78
-
})
79
-
80
-
t.Run("Start PipelineRun using pipeline start interactively using --use-param-defaults and some of the params not having default ", func(t*testing.T) {
81
-
tkn.RunInteractiveTests(t, &cli.Prompt{
82
-
CmdArgs: []string{
83
-
"pipeline", "start", "output-pipeline",
84
-
"--use-param-defaults",
85
-
"-w=name=shared-data,emptyDir=",
86
-
},
87
-
Procedure: func(c*expect.Console) error {
88
-
89
-
if_, err:=c.ExpectString("Value for param `filename` of type `string`?"); err!=nil {
90
-
returnerr
91
-
}
92
-
93
-
if_, err:=c.SendLine("README.md"); err!=nil {
94
-
returnerr
95
-
}
96
-
97
-
if_, err:=c.ExpectEOF(); err!=nil {
98
-
returnerr
99
-
}
100
-
101
-
c.Close()
102
-
returnnil
103
-
},
104
-
})
105
-
})
45
+
// t.Run("Start PipelineRun using pipeline start interactively with SA as 'pipeline' ", func(t *testing.T) {
// if _, err := c.ExpectString("Value for param `message` of type `string`? (Default is `hello`)"); err != nil {
51
+
// return err
52
+
// }
53
+
54
+
// if _, err := c.ExpectString("hello"); err != nil {
55
+
// return err
56
+
// }
57
+
58
+
// if _, err := c.SendLine("test-e2e"); err != nil {
59
+
// return err
60
+
// }
61
+
62
+
// if _, err := c.ExpectString("Value for param `filename` of type `string`?"); err != nil {
63
+
// return err
64
+
// }
65
+
66
+
// if _, err := c.SendLine("output"); err != nil {
67
+
// return err
68
+
// }
69
+
70
+
// if _, err := c.ExpectEOF(); err != nil {
71
+
// return err
72
+
// }
73
+
74
+
// c.Close()
75
+
// return nil
76
+
// },
77
+
// })
78
+
// })
79
+
80
+
// t.Run("Start PipelineRun using pipeline start interactively using --use-param-defaults and some of the params not having default ", func(t *testing.T) {
81
+
// tkn.RunInteractiveTests(t, &cli.Prompt{
82
+
// CmdArgs: []string{
83
+
// "pipeline", "start", "output-pipeline",
84
+
// "--use-param-defaults",
85
+
// "-w=name=shared-data,emptyDir=",
86
+
// },
87
+
// Procedure: func(c *expect.Console) error {
88
+
89
+
// if _, err := c.ExpectString("Value for param `filename` of type `string`?"); err != nil {
90
+
// return err
91
+
// }
92
+
93
+
// if _, err := c.SendLine("README.md"); err != nil {
94
+
// return err
95
+
// }
96
+
97
+
// if _, err := c.ExpectEOF(); err != nil {
98
+
// return err
99
+
// }
100
+
101
+
// c.Close()
102
+
// return nil
103
+
// },
104
+
// })
105
+
// })
106
106
107
107
t.Run("Start PipelineRun using pipeline start interactively with --param flag and --use-param-defaults and some of the params not having default ", func(t*testing.T) {
0 commit comments