Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao583 committed Jul 29, 2024
1 parent 146279b commit 1ac0d1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -936,19 +936,6 @@ describe('Pipelines', () => {
);
});

it('navigates to pipeline version details page via pipeline name', () => {
initIntercepts({});
pipelinesGlobal.visit(projectName);
pipelinesTable.find();

const pipelineRow = pipelinesTable.getRowById(initialMockPipeline.pipeline_id);
pipelineRow.findPipelineNameLink(initialMockPipeline.display_name).click();

verifyRelativeURL(
`/pipelines/${projectName}/pipeline/view/${initialMockPipeline.pipeline_id}/${initialMockPipelineVersion.pipeline_version_id}`,
);
});

it('delete pipeline and versions', () => {
initIntercepts({});
pipelinesGlobal.visit(projectName);
Expand Down Expand Up @@ -1332,4 +1319,4 @@ const createDeletePipelineIntercept = (pipelineId: string) =>
times: 1,
},
mockSuccessGoogleRpcStatus({}),
);
);

Check failure on line 1322 in frontend/src/__tests__/cypress/cypress/tests/mocked/pipelines/pipelines.cy.ts

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Insert `⏎`

Check failure on line 1322 in frontend/src/__tests__/cypress/cypress/tests/mocked/pipelines/pipelines.cy.ts

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Insert `⏎`
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const EmptyNIMModelServingCard: React.FC = () => {
border: '1px solid var(--pf-v5-global--BorderColor--100)',
borderRadius: 16,
}}
data-testid="single-serving-platform-card"
data-testid="nvidia-nim-model-serving-platform-card"
>
<CardTitle>
<TextContent>
Expand Down

0 comments on commit 1ac0d1f

Please sign in to comment.