Add Discover page E2E tests with real API fixture data
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -88,13 +88,11 @@ export function setupApiIntercepts() {
|
||||
|
||||
// Trace detail (must be after traces list intercepts)
|
||||
cy.intercept('GET', /\/api\/logs\/.*\/traces\/\d+/, {
|
||||
statusCode: 200,
|
||||
body: { task_seq: [], events: [] },
|
||||
fixture: 'api/trace-detail.json',
|
||||
}).as('getTraceDetail');
|
||||
|
||||
cy.intercept('GET', /\/api\/filters\/.*\/traces\/\d+/, {
|
||||
statusCode: 200,
|
||||
body: { task_seq: [], events: [] },
|
||||
fixture: 'api/trace-detail.json',
|
||||
}).as('getFilterTraceDetail');
|
||||
|
||||
// Temp filters
|
||||
@@ -119,13 +117,11 @@ export function setupApiIntercepts() {
|
||||
|
||||
// Conformance check params
|
||||
cy.intercept('GET', '/api/log-checks/params*', {
|
||||
statusCode: 200,
|
||||
body: {},
|
||||
fixture: 'api/filter-params.json',
|
||||
}).as('getLogCheckParams');
|
||||
|
||||
cy.intercept('GET', '/api/filter-checks/params*', {
|
||||
statusCode: 200,
|
||||
body: {},
|
||||
fixture: 'api/filter-params.json',
|
||||
}).as('getFilterCheckParams');
|
||||
|
||||
// Dependents (for delete confirmation)
|
||||
|
||||
Reference in New Issue
Block a user