Skip to content

Commit

Permalink
chore: use different names for the same tests for base and dialog dro…
Browse files Browse the repository at this point in the history
…pdown #1959
  • Loading branch information
marek-mihok committed May 10, 2023
1 parent 09de5d0 commit 027f2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/dropdown.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ describe('Dropdown.tsx', () => {
expect(wave.args[name]).toMatchObject(['1', '3'])
})

it('Does not modify disabled choice on Select/Deselect all', () => {
it('Does not modify disabled choice on Select/Deselect all in a dialog dropdown', () => {
const { getByText, getByTestId } = render(<XDropdown model={{ ...dialogProps, choices: choicesDisabled, values: ['2', '3'] }} />)

expect(wave.args[name]).toMatchObject(['2', '3'])
Expand Down

0 comments on commit 027f2ae

Please sign in to comment.