We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07c9785 commit 359a001Copy full SHA for 359a001
1 file changed
packages/cypress/cypress/tests/mocked/pipelines/pipelines.cy.ts
@@ -1099,6 +1099,18 @@ describe('Pipelines', () => {
1099
1100
it('uploads fails with argo workflow', () => {
1101
initIntercepts({});
1102
+
1103
+ // Return empty results for filtered version requests (duplicate-name check)
1104
+ // so the generic initIntercepts mock doesn't cause a false-positive.
1105
+ cy.intercept(
1106
+ {
1107
+ method: 'GET',
1108
+ pathname: `/api/service/pipelines/${projectName}/dspa/apis/v2beta1/pipelines/test-pipeline/versions`,
1109
+ query: { filter: /.*/ },
1110
+ },
1111
+ { pipeline_versions: [], total_size: 0 },
1112
+ );
1113
1114
pipelinesGlobal.visit(projectName);
1115
1116
// Wait for the pipelines table to load
0 commit comments