Skip to content

Commit d66d389

Browse files
committed
-S
fix(tests): increase tooltip visibility timeout to accommodate async positioning Signed-off-by: Mohamed Fall <ps.hackmaster@gmail.com>
1 parent a9a1aaf commit d66d389

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-integration/cypress/integration/searchinput.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ describe('Search Input Demo Test', () => {
5353
it('Verify advanced search and its handlers work', () => {
5454
cy.get('#enabled-search .pf-v6-c-panel').should('not.exist');
5555
cy.get('#enabled-search .pf-v6-c-input-group .pf-v6-c-input-group__item > button').eq(0).click();
56-
cy.get('#enabled-search .pf-v6-c-panel').should('be.visible');
56+
// Tooltip visibility is async due to requestAnimationFrame-based positioning
57+
cy.get('#enabled-search .pf-v6-c-panel', { timeout: 6000 }).should('be.visible');
5758

5859
cy.get('#enabled-search .pf-v6-c-form-control > input').eq(0).type('test');
5960
cy.get('#enabled-search .pf-v6-c-text-input-group__text-input').should('have.value', 'username:test');

0 commit comments

Comments
 (0)