chore: cleanup

This commit is contained in:
pit
2023-09-26 12:19:59 +01:00
parent 2e2ef4c20b
commit fba38f7b02
4 changed files with 6 additions and 10 deletions

View File

@ -15,15 +15,6 @@ NEXT_PRIVATE_DATABASE_URL="postgres://documenso:password@127.0.0.1:54320/documen
# Defines the URL to use for the database when running migrations and other commands that won't work with a connection pool. # Defines the URL to use for the database when running migrations and other commands that won't work with a connection pool.
NEXT_PRIVATE_DIRECT_DATABASE_URL="postgres://documenso:password@127.0.0.1:54320/documenso" NEXT_PRIVATE_DIRECT_DATABASE_URL="postgres://documenso:password@127.0.0.1:54320/documenso"
# [[E2E Tests]]
E2E_TEST_USERNAME="Test User"
E2E_TEST_USER_EMAIL="test_user@mail.com"
E2E_TEST_USER_PASSWORD="tesst_user"
E2E_TEST_SIGNER_EMAIL="test_signer@mail.com"
E2E_TEST_SIGNER_NAME="Test Signer"
E2E_TEST_SIGNING_SUBJECT="Sign this document"
E2E_TEST_SIGNING_MESSAGE="Please sign this document"
# [[STORAGE]] # [[STORAGE]]
# OPTIONAL: Defines the storage transport to use. Available options: database (default) | s3 # OPTIONAL: Defines the storage transport to use. Available options: database (default) | s3
NEXT_PUBLIC_UPLOAD_TRANSPORT="database" NEXT_PUBLIC_UPLOAD_TRANSPORT="database"

View File

@ -16,7 +16,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Copy env - name: Copy env
run: cp .env.example .env run: cp ./apps/web/.env.example .env
- name: Build - name: Build
run: npm run build run: npm run build
- name: Install Playwright Browsers - name: Install Playwright Browsers

View File

@ -2,6 +2,10 @@
E2E_TEST_USERNAME="Test" E2E_TEST_USERNAME="Test"
E2E_TEST_USER_EMAIL="mytestuser@mail.com" E2E_TEST_USER_EMAIL="mytestuser@mail.com"
E2E_TEST_USER_PASSWORD="test_password" E2E_TEST_USER_PASSWORD="test_password"
E2E_TEST_SIGNER_NAME="Test Signer"
E2E_TEST_SIGNER_EMAIL="testsigner@mail.com"
E2E_TEST_SIGNING_SUBJECT="Test subject"
E2E_TEST_SIGNING_MESSAGE="Test message"
# [[SMTP]] # [[SMTP]]
# OPTIONAL: Defines the transport to use for sending emails. Available options: smtp-auth (default) | smtp-api | mailchannels # OPTIONAL: Defines the transport to use for sending emails. Available options: smtp-auth (default) | smtp-api | mailchannels

View File

@ -9,6 +9,7 @@
"start": "next start", "start": "next start",
"lint": "next lint", "lint": "next lint",
"copy:pdfjs": "node ../../scripts/copy-pdfjs.cjs", "copy:pdfjs": "node ../../scripts/copy-pdfjs.cjs",
"dev:test": "playwright test",
"e2e:test": "start-server-and-test \"npm run start\" http://localhost:3000 \"playwright test\"" "e2e:test": "start-server-and-test \"npm run start\" http://localhost:3000 \"playwright test\""
}, },
"dependencies": { "dependencies": {