Add E2E tests for my-account, account info modal, and compare tab

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 20:52:38 +08:00
parent 1a4062487e
commit 6641bc1f8f
7 changed files with 217 additions and 31 deletions

View File

@@ -86,6 +86,17 @@ export function setupApiIntercepts() {
fixture: 'api/traces.json',
}).as('getFilterTraces');
// Trace detail (must be after traces list intercepts)
cy.intercept('GET', /\/api\/logs\/.*\/traces\/\d+/, {
statusCode: 200,
body: { task_seq: [], events: [] },
}).as('getTraceDetail');
cy.intercept('GET', /\/api\/filters\/.*\/traces\/\d+/, {
statusCode: 200,
body: { task_seq: [], events: [] },
}).as('getFilterTraceDetail');
// Temp filters
cy.intercept('GET', '/api/temp-filters/*/discover', {
fixture: 'api/discover.json',