Skip to content

Commit 6e8231a

Browse files
Merge pull request #3561 from RedisInsight/fe/feature/RI-5891_update_text
#RI-5891 - update no data text
2 parents 07e56dc + 2e727c9 commit 6e8231a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

redisinsight/ui/src/pages/rdi/pipeline-management/components/dry-run-job-commands/DryRunJobCommands.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('DryRunJobCommands', () => {
2626
render(<DryRunJobCommands />)
2727
})
2828

29-
expect(screen.getByTestId('commands-output')).toHaveTextContent('No Redis commands provided.')
29+
expect(screen.getByTestId('commands-output')).toHaveTextContent('No Redis commands provided by the server.')
3030
})
3131

3232
it('should render no commands message if there is no commands', async () => {
@@ -41,7 +41,7 @@ describe('DryRunJobCommands', () => {
4141
render(<DryRunJobCommands />)
4242
})
4343

44-
expect(screen.getByTestId('commands-output')).toHaveTextContent('No Redis commands provided.')
44+
expect(screen.getByTestId('commands-output')).toHaveTextContent('No Redis commands provided by the server.')
4545
})
4646

4747
it('should render transformations', async () => {

redisinsight/ui/src/pages/rdi/pipeline-management/components/dry-run-job-commands/DryRunJobCommands.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface Props {
1111
target?: string
1212
}
1313

14-
const NO_COMMANDS_MESSAGE = 'No Redis commands provided.'
14+
const NO_COMMANDS_MESSAGE = 'No Redis commands provided by the server.'
1515

1616
const DryRunJobCommands = ({ target }: Props) => {
1717
const { results } = useSelector(rdiDryRunJobSelector)

redisinsight/ui/src/pages/rdi/pipeline-management/components/dry-run-job-transformations/DryRunJobTransformations.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('DryRunJobTransformations', () => {
2323
(rdiDryRunJobSelector as jest.Mock).mockImplementationOnce(rdiDryRunJobSelectorMock)
2424

2525
render(<DryRunJobTransformations />)
26-
expect(screen.getByTestId('transformations-output')).toHaveTextContent('No transformation results provided.')
26+
expect(screen.getByTestId('transformations-output')).toHaveTextContent('No transformation results provided by the server.')
2727
})
2828

2929
it('should render transformations', () => {

redisinsight/ui/src/pages/rdi/pipeline-management/components/dry-run-job-transformations/DryRunJobTransformations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useSelector } from 'react-redux'
44
import { rdiDryRunJobSelector } from 'uiSrc/slices/rdi/dryRun'
55
import MonacoJson from 'uiSrc/components/monaco-editor/components/monaco-json'
66

7-
const NO_TRANSFORMATION_MESSAGE = 'No transformation results provided.'
7+
const NO_TRANSFORMATION_MESSAGE = 'No transformation results provided by the server.'
88

99
const DryRunJobTransformations = () => {
1010
const { results } = useSelector(rdiDryRunJobSelector)

0 commit comments

Comments
 (0)