Compare commits
2 Commits
claude/smo
...
claude/gat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a26bfaa4d | ||
|
|
a09d210895 |
5
.github/workflows/deploy-app.yml
vendored
5
.github/workflows/deploy-app.yml
vendored
@@ -79,7 +79,10 @@ jobs:
|
||||
|
||||
deploy-production:
|
||||
name: Deploy to Production
|
||||
needs: [deploy-staging]
|
||||
# Smoke is now a GATE: a smoke FAILURE blocks production. A deliberately
|
||||
# skipped smoke (run_smoke: false) still allows prod via the if-condition.
|
||||
needs: [deploy-staging, smoke]
|
||||
if: ${{ !cancelled() && needs.deploy-staging.result == 'success' && needs.smoke.result != 'failure' }}
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
steps:
|
||||
|
||||
@@ -100,8 +100,8 @@ test.describe('WP Admin — Peptide Repo Core admin', () => {
|
||||
// PR Core registers the peptide CPT which creates a "Peptides" menu item
|
||||
const nav = page.locator('#adminmenu');
|
||||
await expect(nav).toBeVisible();
|
||||
// "Peptides" top-level menu item is registered by the peptide CPT
|
||||
await expect(nav.locator('text=Peptides')).toBeVisible({ timeout: 10_000 });
|
||||
// PR Core registers the peptide CPT, which adds a post_type=peptide admin menu/submenu (label-agnostic).
|
||||
await expect(nav.locator('a[href*="post_type=peptide"]').first()).toBeAttached({ timeout: 10_000 });
|
||||
});
|
||||
|
||||
test('PR Core Settings page loads', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user