From 943de1f01f7232d65f2e1052378a6cc731c8b14d Mon Sep 17 00:00:00 2001 From: davrot Date: Sun, 23 Feb 2025 01:07:00 +0000 Subject: [PATCH] =?UTF-8?q?Dateien=20nach=20=E2=80=9Etests/e2e=E2=80=9C=20?= =?UTF-8?q?hochladen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/e2e/repo-files.test.e2e.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/repo-files.test.e2e.ts b/tests/e2e/repo-files.test.e2e.ts index 196ed0086c..ab8813eff9 100644 --- a/tests/e2e/repo-files.test.e2e.ts +++ b/tests/e2e/repo-files.test.e2e.ts @@ -10,7 +10,7 @@ import { expect } from '@playwright/test'; import { test, dynamic_id, save_visual } from './utils_e2e.ts'; -test.use({user: 'user2'}); +test.use({ user: 'user2' }); test('drap and drop upload', async ({ page }, workerInfo) => { const response = await page.goto(`/user2/file-uploads/_upload/main/`); @@ -24,9 +24,9 @@ test('drap and drop upload', async ({ page }, workerInfo) => { const dt = new DataTransfer(); // add items in different folders - dt.items.add(new File(["Filecontent"], 'dir1/file1.txt', { type: 'text/plain' })); - dt.items.add(new File(["Another file's content"], 'double/nested/file.txt', { type: 'text/plain' })); - dt.items.add(new File(["Root file"], 'root_file.txt', { type: 'text/plain' })); + dt.items.add(new File(["Filecontent (dir1/file1.txt)"], 'dir1/file1.txt', { type: 'text/plain' })); + dt.items.add(new File(["Another file's content (double/nested/file.txt)"], 'double/nested/file.txt', { type: 'text/plain' })); + dt.items.add(new File(["Root file (root_file.txt)"], 'root_file.txt', { type: 'text/plain' })); return dt; });