Skip to content

Commit

Permalink
fix(tests): add hard fix for cy test with animation (valor-software#5318
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ludmilanesvitiy authored and leo6104 committed Oct 10, 2019
1 parent 4c98fec commit 3c2b2b1
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 3c2b2b1

Please sign in to comment.