Skip to content

Commit

Permalink
test: prefix the selector for program-select
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkrulltott committed Feb 26, 2024
1 parent e606195 commit 5393850
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/programDimensions.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ I.e. Scheduled date works like this:

openInputSidebar()

cy.getBySel('program-select').click()
cy.getBySel('program-dimensions-program-select').click()

cy.contains(E2E_PROGRAM.programName).click()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const ProgramSelect = ({ prefix }) => {
}
placeholder={i18n.t('Choose a program')}
maxHeight="max(60vh, 460px)"
dataTest="program-select"
dataTest="program-dimensions-program-select"
filterable
noMatchText={i18n.t('No programs found')}
prefix={selectedProgram?.id ? prefix : ''}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const ProgramFilter = ({ setSelectedProgramId, selectedProgramId }) => {
}}
placeholder={i18n.t('Filter by program usage')}
maxHeight="max(60vh, 460px)"
dataTest="program-select"
dataTest="tet-dimensions-program-select"
filterable
noMatchText={i18n.t('No programs found')}
prefix={selectedProgramId && i18n.t('Program')}
Expand Down

0 comments on commit 5393850

Please sign in to comment.