✨ feat: enhance admin API helpers with CRUD operations for collections and seed data management
- Added functions for creating, updating, deleting, and listing collection entries in admin API. - Introduced seed data management for consistent test content across tests. - Updated global setup and teardown processes to ensure seeded content is created and cleaned up. - Refactored existing tests to utilize seeded content for improved reliability and maintainability.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { defineConfig, devices } from "@playwright/test"
|
||||
import { TEST_BASE_URL } from "./tests/fixtures/test-constants"
|
||||
|
||||
/**
|
||||
* Playwright configuration for tibi-svelte projects.
|
||||
@@ -42,7 +43,7 @@ export default defineConfig({
|
||||
|
||||
use: {
|
||||
/* Read from .env PROJECT_NAME or override via CODING_URL env var */
|
||||
baseURL: process.env.CODING_URL || "https://localhost:3000",
|
||||
baseURL: TEST_BASE_URL,
|
||||
headless: true,
|
||||
ignoreHTTPSErrors: true,
|
||||
trace: "on",
|
||||
|
||||
Reference in New Issue
Block a user