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
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/how-tos/testing/integration/rerunning.adoc
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,21 +13,41 @@ See also xref:/how-tos/configuring/rerunning.adoc[Retriggering build pipelines].
13
13
14
14
.Procedure
15
15
16
-
. Identify the IntegrationTestScenario that needs to be rerun. For a given snapshot, you can only rerun one IntegrationTestScenario. The related snapshot can be found on the pipelineRun details page in the UI, as shown in the example below:
16
+
- If you want to rerun *all* the IntegrationTestScenarios, directly go to step `3.a.`
17
+
18
+
. Identify the IntegrationTestScenario that needs to be rerun. For a given snapshot, if you like, you can only rerun one IntegrationTestScenario. The related snapshot can be found on the pipelineRun details page in the UI, as shown in the example below:
. To rerun within the UI, click on the three vertical dots on the right side of the details page mentioned above. From the expanded menu, select "Rerun". Alternatively, follow the below steps to rerun via the CLI.
22
24
23
-
. Label the snapshot with `test.appstudio.openshift.io/run`, assigning the scenario name you wish to rerun as its value.
25
+
. To rerun integration tests via CLI:
26
+
27
+
.. If you want to rerun all the IntegrationTestScenarios, label the snapshot with `test.appstudio.openshift.io/run`, assigning *all* as its value.
This will rerun all IntegrationTestScenarios, both optional and required, provided their context matches the Snapshot.
38
+
39
+
.. Or, if you just want to rerun a specific IntegrationTestScenario, label the snapshot with `test.appstudio.openshift.io/run`, assigning the scenario name you wish to rerun as its value.
This will rerun the specified IntegrationTestScenario, regardless of whether its context matches the Snapshot.
50
+
31
51
. The tests are re-triggered automatically. Once they are re-triggered, the system removes the label, allowing you to apply a new label for a different scenario if you wish to test multiple scenarios.
0 commit comments