Move fixture to e2e
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,11 @@
|
||||
import { e2e } from '@grafana/e2e';
|
||||
import { selectors } from '@grafana/e2e-selectors';
|
||||
import { response } from '../../mocks/long-trace-response';
|
||||
|
||||
describe('Trace view', () => {
|
||||
it('Can lazy load big traces', () => {
|
||||
e2e.flows.login('admin', 'admin');
|
||||
e2e()
|
||||
.intercept('GET', '/api/traces/long-trace', {
|
||||
fixture: 'long-trace-response.json',
|
||||
})
|
||||
.as('longTrace');
|
||||
e2e().intercept('/api/traces/long-trace', response).as('longTrace');
|
||||
|
||||
e2e.pages.Explore.visit();
|
||||
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
"types": ["cypress"]
|
||||
},
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["**/*.ts", "../../packages/grafana-e2e/cypress/support/index.d.ts"]
|
||||
"include": ["**/*.ts", "../../packages/grafana-e2e/cypress/support/index.d.ts", "../mocks/*.ts"]
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user