Skip to content

Commit

Permalink
Add force true to mark as dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Shakira authored and Shakira committed Aug 13, 2024
1 parent 0c3a986 commit 82f0ab7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ class DataViewFunctions {
.find('.mat-checkbox-input')
.should('have.attr', 'aria-checked', 'true');
//change status of posts
cy.get(DataViewLocators.controlActionsBtn).find(DataViewLocators.markAsDropdown).click();
cy.get(DataViewLocators.controlActionsBtn)
.find(DataViewLocators.markAsDropdown)
.click({ force: true });
cy.get('.mat-select-panel').find('#select-option-published').click();
//verify all posts have changed status
cy.get(DataViewLocators.postPreview)
Expand Down

0 comments on commit 82f0ab7

Please sign in to comment.