Skip to content

Commit

Permalink
fix(tests): add hard fix for cy test with animation (#5318)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludmilanesvitiy authored and Domainv committed Jul 10, 2019
1 parent f550605 commit 8397f82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/support/accordion.po.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ export class AccordionPo extends BaseComponent {
clickOnAccordionGroup(baseSelector: string, itemIndex: number) {
cy.get(`${baseSelector} accordion-group button`)
.eq(itemIndex)
.click();
.click()
.wait(500);
}

isItemContentVisible(baseSelector: string, itemIndex: number, visible: boolean) {
Expand Down

0 comments on commit 8397f82

Please sign in to comment.