From c7ea729bf3e46c3af43602bba7738919e28a394a Mon Sep 17 00:00:00 2001 From: Thomas Ebert Date: Mon, 8 Apr 2024 21:05:22 +0200 Subject: [PATCH] chore: Looks like NC28 also updated strings... --- e2e/linkeditor.28.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/linkeditor.28.spec.ts b/e2e/linkeditor.28.spec.ts index 18b4993..6d964d5 100644 --- a/e2e/linkeditor.28.spec.ts +++ b/e2e/linkeditor.28.spec.ts @@ -1,16 +1,16 @@ import { test, expect, type Page } from "@playwright/test"; const adminLogin = async (page: Page) => { - await page.getByPlaceholder("Account name or email").fill(process.env.NEXTCLOUD_ADMIN_USER!); - await page.getByPlaceholder("Account name or email").press("Tab"); + await page.getByPlaceholder("Login with username or email").fill(process.env.NEXTCLOUD_ADMIN_USER!); + await page.getByPlaceholder("Login with username or email").press("Tab"); await page.getByPlaceholder("Password").fill(process.env.NEXTCLOUD_ADMIN_PASSWORD!); await page.getByPlaceholder("Password").press("Enter"); }; const testUserLogin = async (page: Page) => { // Log in as other user - await page.getByPlaceholder("Account name or email").fill("testuser-1"); - await page.getByPlaceholder("Account name or email").press("Tab"); + await page.getByPlaceholder("Login with username or email").fill("testuser-1"); + await page.getByPlaceholder("Login with username or email").press("Tab"); await page.getByPlaceholder("Password").fill("testuser-1-password"); await page.getByPlaceholder("Password").press("Enter"); };