[PR #745] [CLOSED] refactor: end-to-end tests #1155

Closed
opened 2026-02-26 19:32:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/745
Author: @G3root
Created: 12/9/2023
Status: Closed

Base: mainHead: reafctor-e2e


📝 Commits (10+)

📊 Changes

17 files changed (+499 additions, -605 deletions)

View changed files

📝 apps/marketing/src/components/constants.ts (+1 -1)
📝 package.json (+1 -1)
📝 packages/app-tests/e2e/pr-711-deletion-of-documents.spec.ts (+91 -104)
📝 packages/app-tests/e2e/pr-713-add-document-search-to-command-menu.spec.ts (+44 -54)
📝 packages/app-tests/e2e/pr-718-add-stepper-component.spec.ts (+14 -21)
📝 packages/app-tests/e2e/test-auth-flow.spec.ts (+4 -2)
packages/app-tests/fixtures/document.ts (+179 -0)
packages/app-tests/fixtures/index.ts (+31 -0)
packages/app-tests/fixtures/user.ts (+101 -0)
📝 packages/app-tests/package.json (+2 -1)
📝 packages/app-tests/playwright.config.ts (+10 -1)
📝 packages/lib/server-only/document/create-document.ts (+9 -1)
📝 packages/lib/server-only/user/create-user.ts (+9 -1)
packages/prisma/seed/pr-711-deletion-of-documents.ts (+0 -221)
packages/prisma/seed/pr-713-add-document-search-to-command-menu.ts (+0 -167)
packages/prisma/seed/pr-718-add-stepper-component.ts (+0 -28)
📝 turbo.json (+3 -2)

📄 Description

what this PR do ?

  • Remove fixed seeded records for testing.
  • Generate fresh fixture records prior to each test and perform cleanups upon test completion.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/745 **Author:** [@G3root](https://github.com/G3root) **Created:** 12/9/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `reafctor-e2e` --- ### 📝 Commits (10+) - [`b85aa95`](https://github.com/documenso/documenso/commit/b85aa95a50261345c4c8889c9defc9df4300d867) feat: add user fixture - [`03fa566`](https://github.com/documenso/documenso/commit/03fa5669b47686458b915aa55f55b73cb60200d8) feat: add document fixture - [`1a0f715`](https://github.com/documenso/documenso/commit/1a0f715927db9d46a170966752717daf1461af2c) feat: add fixture - [`4eb4a02`](https://github.com/documenso/documenso/commit/4eb4a02ba83c2108b9e17dbbb2cc4aa58e1685fc) fix: remove explicit type casting - [`0642051`](https://github.com/documenso/documenso/commit/0642051c71aaa56b89bb61e1a161712385382d8e) feat: add logout route - [`8125194`](https://github.com/documenso/documenso/commit/812519437a552b85edce90d92e1fa44246de68e6) feat: add other options - [`458cbf6`](https://github.com/documenso/documenso/commit/458cbf60be24b6ef8166e8ba3766bde2959ca620) refactor: remove seed script - [`2da47fc`](https://github.com/documenso/documenso/commit/2da47fc8ac297a2b2497d81a63a30228350bda21) feat: use fixture - [`b0215be`](https://github.com/documenso/documenso/commit/b0215be25f2abc1323996a5f5d8e2ecf82fac070) feat: use fixture - [`ffc629f`](https://github.com/documenso/documenso/commit/ffc629fad1b27c81ebf1ceb482bfc2e70c0e47f7) feat: use fixture ### 📊 Changes **17 files changed** (+499 additions, -605 deletions) <details> <summary>View changed files</summary> 📝 `apps/marketing/src/components/constants.ts` (+1 -1) 📝 `package.json` (+1 -1) 📝 `packages/app-tests/e2e/pr-711-deletion-of-documents.spec.ts` (+91 -104) 📝 `packages/app-tests/e2e/pr-713-add-document-search-to-command-menu.spec.ts` (+44 -54) 📝 `packages/app-tests/e2e/pr-718-add-stepper-component.spec.ts` (+14 -21) 📝 `packages/app-tests/e2e/test-auth-flow.spec.ts` (+4 -2) ➕ `packages/app-tests/fixtures/document.ts` (+179 -0) ➕ `packages/app-tests/fixtures/index.ts` (+31 -0) ➕ `packages/app-tests/fixtures/user.ts` (+101 -0) 📝 `packages/app-tests/package.json` (+2 -1) 📝 `packages/app-tests/playwright.config.ts` (+10 -1) 📝 `packages/lib/server-only/document/create-document.ts` (+9 -1) 📝 `packages/lib/server-only/user/create-user.ts` (+9 -1) ➖ `packages/prisma/seed/pr-711-deletion-of-documents.ts` (+0 -221) ➖ `packages/prisma/seed/pr-713-add-document-search-to-command-menu.ts` (+0 -167) ➖ `packages/prisma/seed/pr-718-add-stepper-component.ts` (+0 -28) 📝 `turbo.json` (+3 -2) </details> ### 📄 Description what this PR do ? - Remove fixed seeded records for testing. - Generate fresh fixture records prior to each test and perform cleanups upon test completion. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:32:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1155
No description provided.