Skip to content

Commit

Permalink
test: Update AddSystemsToGroupModal.cy.js to use new selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
gkarat committed Apr 11, 2024
1 parent d133cac commit 78de35c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import {
ALERT,
CONDITIONAL_FILTER,
PT_CONDITIONAL_FILTER_TOGGLE,
DROPDOWN_ITEM,
TABLE,
checkTableHeaders,
Expand Down Expand Up @@ -141,7 +141,7 @@ describe('AddSystemsToGroupModal', () => {
mountModal();

cy.wait('@getHosts');
cy.get(CONDITIONAL_FILTER).click();
cy.get(PT_CONDITIONAL_FILTER_TOGGLE).click();
cy.get(DROPDOWN_ITEM).each(($item, i) => {
expect($item.text()).to.equal(AVAILABLE_FILTER_NAMES[i]);
});
Expand Down

0 comments on commit 78de35c

Please sign in to comment.