Skip to content

Commit

Permalink
selectApp method updated
Browse files Browse the repository at this point in the history
  • Loading branch information
zentestuken committed Dec 18, 2024
1 parent 4b57d78 commit bdf006c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default {

selectApplicationInModal: (appName, isSelected = true) => {
const targetCheckbox = selectApplicationModal
.find(MultiColumnListRow(including(appName), { isContainer: false }))
.find(MultiColumnListRow(matching(new RegExp(`${appName}-\\d\\..+`)), { isContainer: false }))
.find(Checkbox());
cy.do(targetCheckbox.click());
cy.expect(targetCheckbox.has({ checked: isSelected }));
Expand Down

0 comments on commit bdf006c

Please sign in to comment.