Skip to content

Commit c634fb9

Browse files
#RI-5760 - fix test
1 parent 3e342cf commit c634fb9

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

redisinsight/ui/src/pages/rdi/pipeline-management/pages/job/Job.spec.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ describe('Job', () => {
6868
expect(pushMock).not.toBeCalled()
6969
})
7070

71-
it('should render proper link', () => {
72-
render(<Job {...instance(mockedProps)} />)
73-
74-
expect(screen.getByTestId('rdi-pipeline-transformation-link')).toHaveAttribute('href', 'https://docs.redis.com/latest/rdi/data-transformation/data-transformation-pipeline/')
75-
})
76-
7771
it('should render Panel and disable dry run btn', () => {
7872
const { queryByTestId } = render(<Job {...instance(mockedProps)} />)
7973

redisinsight/ui/src/pages/rdi/pipeline-management/pages/job/JobsWrapper.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ describe('JobWrapper', () => {
104104
it('should render proper link', () => {
105105
render(<JobWrapper />)
106106

107-
expect(screen.getByTestId('rdi-pipeline-transformation-link')).toHaveAttribute('href', 'https://docs.redis.com/latest/rdi/data-transformation/data-transformation-pipeline/')
107+
expect(screen.getByTestId('rdi-pipeline-transformation-link')).toHaveAttribute('href', 'https://redis.io/docs/latest/integrate/redis-data-integration/ingest/data-pipelines/transform-examples/?utm_source=redisinsight&utm_medium=rdi&utm_campaign=job_file')
108108
})
109109

110110
it('should send telemetry event with proper data', () => {

0 commit comments

Comments
 (0)