Browse Source

test: wait for drop down menu in filter to be available

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3801/head
Raju Udava 2 years ago committed by braks
parent
commit
b4ffe42006
  1. 5
      scripts/cypress/support/page_objects/mainPage.js

5
scripts/cypress/support/page_objects/mainPage.js

@ -396,7 +396,7 @@ export class _mainPage {
.find(".ant-btn-primary")
.contains("Add Sort Option")
.click();
cy.getActiveMenu(".nc-dropdown-sort-menu")
cy.getActiveMenu(".nc-dropdown-sort-menu:has(.nc-sort-field-select div)")
.find(".nc-sort-field-select div")
.first()
.click();
@ -434,7 +434,8 @@ export class _mainPage {
.find(".ant-btn-primary")
.contains("Add Filter")
.click();
cy.getActiveMenu(".nc-dropdown-filter-menu")
cy.getActiveMenu(".nc-dropdown-filter-menu:has(.nc-filter-field-select)")
.find(".nc-filter-field-select")
.should("exist")
.last()

Loading…
Cancel
Save