Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed May 22, 2024
1 parent 6781a38 commit 5d3702b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ describe('Pipeline create runs', () => {
const mockExperiment = mockExperiments[0];
const mockCloneRun = buildMockRunKF({
display_name: 'Clone of Test run',
run_id: 'cloned-run-id',
run_id: 'clone-run-id',
experiment_id: mockExperiment.experiment_id,
});

Expand Down Expand Up @@ -195,9 +195,7 @@ describe('Pipeline create runs', () => {
paramsSection.findParamById('neighbors').find('input').should('have.value', '1');
paramsSection.findParamById('standard_scaler').should('have.value', 'false');

cloneRunPage
.mockCreateRun(projectName, mockPipelineVersion, mockCloneRun)
.as('cloneRun');
cloneRunPage.mockCreateRun(projectName, mockPipelineVersion, mockCloneRun).as('cloneRun');
cloneRunPage.submit();

cy.wait('@cloneRun').then((interception) => {
Expand Down Expand Up @@ -571,7 +569,7 @@ describe('Pipeline create runs', () => {
const mockExperiment = mockExperiments[0];
const mockCloneRecurringRun = buildMockJobKF({
display_name: 'Clone of Test job',
recurring_run_id: 'cloned-job-id',
recurring_run_id: 'clone-job-id',
experiment_id: mockExperiment.experiment_id,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ describe('Pipeline topology', () => {
verifyRelativeURL(`/pipelineRuns/${projectId}/pipelineRun/clone/${mockRun.run_id}`);
});

it.only('Test pipeline job clone navigation', () => {
it('Test pipeline job clone navigation', () => {
pipelineRunJobDetails.visit(projectId, mockJob.recurring_run_id);
pipelineRunJobDetails.selectActionDropdownItem('Clone');
verifyRelativeURL(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ const CloneRunPage: React.FC<PathProps> = ({ breadcrumbPath, contextPath }) => {
breadcrumb={
<Breadcrumb>
{breadcrumbPath}
<BreadcrumbItem isActive>
{run ? `Clone of ${run.display_name}` : 'Clone'}
</BreadcrumbItem>
<BreadcrumbItem isActive>{run ? `Clone of ${run.display_name}` : 'Clone'}</BreadcrumbItem>
</Breadcrumb>
}
loaded={loaded}
Expand Down

0 comments on commit 5d3702b

Please sign in to comment.