mirror of
https://github.com/documenso/documenso.git
synced 2025-11-22 20:51:33 +10:00
feat: moved playwright to the web app
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { type Page, expect, test as setup } from '@playwright/test';
|
||||
|
||||
import { STORAGE_STATE } from '../../../../../playwright.config';
|
||||
import { STORAGE_STATE } from '../../../playwright.config';
|
||||
|
||||
const username = process.env.E2E_TEST_USERNAME || '';
|
||||
const email = process.env.E2E_TEST_USER_EMAIL || '';
|
||||
|
||||
@ -27,7 +27,7 @@ test.describe('Document upload test', () => {
|
||||
await page
|
||||
.getByText('Add a documentDrag & drop your document here.')
|
||||
.locator('input[type=file]')
|
||||
.setInputFiles('./apps/web/src/tests/e2e/documenso.pdf');
|
||||
.setInputFiles('./src/tests/e2e/documenso.pdf');
|
||||
});
|
||||
|
||||
test('user can see /documents page', async ({ page }: { page: Page }) => {
|
||||
|
||||
Reference in New Issue
Block a user