From c23332d159bb7a35dea303c02becd7fe0c5eb7d2 Mon Sep 17 00:00:00 2001 From: Aleksi Huotala <7612995+alehuo@users.noreply.github.com> Date: Thu, 30 Mar 2023 13:51:47 +0300 Subject: [PATCH] =?UTF-8?q?Vaihda=20opintokokonaisuuden=20selektori=20Play?= =?UTF-8?q?wright-p=C3=A4ivityksen=20aiheuttaman=20regression=20takia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/test/e2e/pages/oppija/dialogs/OsasuoritusDialog.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/test/e2e/pages/oppija/dialogs/OsasuoritusDialog.ts b/web/test/e2e/pages/oppija/dialogs/OsasuoritusDialog.ts index 86c0e1d9d6..5adca36785 100644 --- a/web/test/e2e/pages/oppija/dialogs/OsasuoritusDialog.ts +++ b/web/test/e2e/pages/oppija/dialogs/OsasuoritusDialog.ts @@ -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' }) }