Select: Add data-testid to Input (#87105)
* Select: Add custom input component * Forward data-testid * Add input selector * Props check
This commit is contained in:
1 parent
ec6f59a678
commit
7f1b2ef205
4 files changed
+20
-2
No files matched your search
@@ -72,9 +72,9 @@ describe('Loki query builder', () => {
|
||||
// Add labels to remove error
|
||||
e2e.components.QueryBuilder.labelSelect().should('be.visible').click();
|
||||
// wait until labels are loaded and set on the component before starting to type
|
||||
e2e.components.QueryBuilder.labelSelect().children('div').children('input').type('i');
|
||||
e2e.components.QueryBuilder.inputSelect().type('i');
|
||||
cy.wait('@labelsRequest');
|
||||
e2e.components.QueryBuilder.labelSelect().children('div').children('input').type('nstance{enter}');
|
||||
e2e.components.QueryBuilder.inputSelect().type('nstance{enter}');
|
||||
e2e.components.QueryBuilder.matchOperatorSelect()
|
||||
.should('be.visible')
|
||||
.click({ force: true })
|
||||
|
||||
Reference in new issue
Block a user