test(smoke): fix three stale assertions (calc path, title, plugin slug) #3

Merged
peptiderepo merged 1 commits from claude/fix-smoke-assertions-20260609 into main 2026-06-09 06:45:07 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 80ad1eb0f9 - Show all commits

View File

@@ -29,7 +29,7 @@ test.describe('Homepage', () => {
test('renders site name in page title', async ({ page }) => { test('renders site name in page title', async ({ page }) => {
await page.goto('/'); await page.goto('/');
await expect(page).toHaveTitle(/peptiderepo/i); await expect(page).toHaveTitle(/peptide ?repo/i);
}); });
test('wp-admin bar present (logged-in session)', async ({ page }) => { test('wp-admin bar present (logged-in session)', async ({ page }) => {

View File

@@ -14,7 +14,7 @@
import { test, expect } from '@playwright/test'; import { test, expect } from '@playwright/test';
const CALC_PATH = process.env.CALC_PAGE_PATH ?? '/reconstitution-calculator/'; const CALC_PATH = process.env.CALC_PAGE_PATH ?? '/calculator/';
test.describe('Reconstitution Calculator', () => { test.describe('Reconstitution Calculator', () => {
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {

View File

@@ -25,7 +25,7 @@ const REQUIRED_PLUGINS = [
'peptide-search-ai', 'peptide-search-ai',
'peptide-repo-core', 'peptide-repo-core',
'peptide-reconstitution-calculator', 'peptide-reconstitution-calculator',
'pr-autoblogger', 'prautoblogger',
'peptide-starter-theme', // theme, shown differently — checked separately 'peptide-starter-theme', // theme, shown differently — checked separately
]; ];