Skip to content

Commit

Permalink
Vaihda opintokokonaisuuden selektori Playwright-päivityksen aiheuttam…
Browse files Browse the repository at this point in the history
…an regression takia
  • Loading branch information
alehuo authored and ilkkahanninen committed Mar 31, 2023
1 parent 4b3132a commit 7ea6746
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/test/e2e/pages/oppija/dialogs/OsasuoritusDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ export class OsasuoritusDialog {

constructor(page: Page) {
this.dropdown = page.getByTestId('dropdown-osasuoritus')
this.nimiField = page.getByLabel('Opintokokonaisuuden nimi')
this.nimiField = page.getByRole('textbox', {
name: 'Opintokokonaisuuden nimi'
})
this.submitBtn = page.getByRole('button', { name: 'Lisää osasuoritus' })
}

Expand Down

0 comments on commit 7ea6746

Please sign in to comment.