Skip to content

Commit

Permalink
chore: Looks like NC28 also updated strings...
Browse files Browse the repository at this point in the history
  • Loading branch information
te-online committed Apr 8, 2024
1 parent 856b4d1 commit c7ea729
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/linkeditor.28.spec.ts
Original file line number Diff line number Diff line change
@@ -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");
};
Expand Down

0 comments on commit c7ea729

Please sign in to comment.