test(e2e): align specs with the community edition and record the e2e baseline
The first full e2e run on this branch failed 19 tests, all on features the community edition removed: /api/tier, Stripe, /api/compliance, the billing settings tab, the payment pages and the upgrade dialog. Those checks now assert that the endpoints and pages are gone (404); tier, billing and team-settings probes are dropped from the remaining journeys. The rerun is 410 passed, 18 skipped, 0 failed.
This commit is contained in:
@@ -725,7 +725,6 @@ async function collectProbeContext(page: Page): Promise<ProbeContext> {
|
||||
hooks: '/api/hooks',
|
||||
fleet: '/api/fleet',
|
||||
events: '/api/events?limit=3',
|
||||
tier: '/api/tier',
|
||||
};
|
||||
|
||||
const apiEntries = await Promise.all(
|
||||
@@ -896,7 +895,7 @@ function scorePersona(persona: PersonaDefinition, context: ProbeContext): Person
|
||||
id: 'addiction',
|
||||
label: 'Addiction/return signal',
|
||||
max: 20,
|
||||
score: clampScore((memory?.recalled ? 7 : 0) + (context.api.events?.ok ? 3 : 0) + (context.api.hooks?.ok ? 4 : 0) + (context.api.workspaces?.ok ? 3 : 0) + (context.api.tier?.ok ? 3 : 0), 20),
|
||||
score: clampScore((memory?.recalled ? 7 : 0) + (context.api.events?.ok ? 3 : 0) + (context.api.hooks?.ok ? 4 : 0) + (context.api.workspaces?.ok ? 3 : 0) + (context.api.fleet?.ok ? 3 : 0), 20),
|
||||
evidence: [
|
||||
`External trigger need: ${persona.externalTriggerNeed}.`,
|
||||
`Internal trigger need: ${persona.internalTriggerNeed}.`,
|
||||
|
||||
Reference in New Issue
Block a user