This branch contains the upcoming Svelte Society website featuring a new design and data that lives in a database. Currently being deployed to https://beta.sveltesociety.dev
Steps to get running:
bun ibun run --bun devAdd all the relevant .env variables:
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_AUTHORIZATION_CALLBACK_URL=http://localhost:5173/auth/callback
DB_PATH=local.db
EVENT_DB_PATH=local_event.db
NIXPACKS_NODE_VERSION=20
DB_PATH=local.db
This project uses Playwright for end-to-end testing with comprehensive test coverage.
# Run all E2E tests
bun run test:integration
# Run tests in UI mode (interactive)
bun run test:integration:ui
# Run tests in headed mode (see browser)
bun run test:integration:headed
tests/README.mddocs/TESTING_GUIDE.mddocs/PRD_PLAYWRIGHT_E2E_TESTING.mdAll tests follow the Page Object Model pattern:
import { test, expect } from '@playwright/test'
import { HomePage, ContentListPage } from '../pages'
import { setupDatabaseIsolation } from '../helpers/database-isolation'
test.describe('Feature', () => {
test.beforeEach(async ({ page }) => {
await setupDatabaseIsolation(page)
})
test('can do something', async ({ page }) => {
const homePage = new HomePage(page)
await homePage.goto()
// ... test implementation
})
})
For more details, see the Testing Guide.