Merge pull request #25382 from simonedstrom96/add-test-id-to-select-component-input-props
Add testid to Select component
This commit is contained in:
@@ -64,7 +64,7 @@ describe('RepoUrlPickerHostField', () => {
|
||||
</TestApiProvider>,
|
||||
);
|
||||
|
||||
fireEvent.mouseDown(getByTestId('select'));
|
||||
fireEvent.mouseDown(getByTestId('host-select'));
|
||||
expect(getByText('gitlab.com')).toBeInTheDocument();
|
||||
|
||||
const listbox = within(getByRole('combobox'));
|
||||
@@ -93,7 +93,7 @@ describe('RepoUrlPickerHostField', () => {
|
||||
</TestApiProvider>,
|
||||
);
|
||||
|
||||
fireEvent.mouseDown(getByTestId('select'));
|
||||
fireEvent.mouseDown(getByTestId('host-select'));
|
||||
expect(getByText('gitlab.com')).toBeInTheDocument();
|
||||
|
||||
const listbox = within(getByRole('combobox'));
|
||||
|
||||
Reference in New Issue
Block a user