Add Files to Discover entry flow E2E tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
6dd182b5e9
commit
c91d278f1b
2 files changed
+75
No files matched your search
@@ -59,6 +59,12 @@ export function setupApiIntercepts() {
|
||||
body: { success: true },
|
||||
}).as('deleteUserRole');
|
||||
|
||||
// Filter detail (for fetchFunnel when entering filter from Files)
|
||||
cy.intercept('GET', /\/api\/filters\/\d+$/, {
|
||||
statusCode: 200,
|
||||
body: { rules: [], log: { id: 1 }, name: 'filtered-sample' },
|
||||
}).as('getFilterDetail');
|
||||
|
||||
// Discover (map data)
|
||||
cy.intercept('GET', '/api/logs/*/discover', {
|
||||
fixture: 'api/discover.json',
|
||||
|
||||
Reference in new issue
Block a user