RadioButton: Make description appear in a Tooltip component (#78010)

This commit is contained in:
Laura Fernández
2023-11-27 13:54:07 +01:00
committed by GitHub
parent 1c270b1dc2
commit e422a92eae
10 changed files with 44 additions and 29 deletions

View File

@@ -78,7 +78,8 @@ describe('Loki query builder', () => {
cy.contains(finalQuery).should('be.visible');
// Change to code editor
cy.contains('label', 'Code').click();
e2e.components.RadioButton.container().filter(':contains("Code")').click();
// We need to test this manually because the final query is split into separate DOM elements using cy.contains(finalQuery).should('be.visible'); does not detect the query.
cy.contains('rate').should('be.visible');
cy.contains('instance1|instance2').should('be.visible');