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:
50
cypress/e2e/discoverConformance.cy.js
Normal file
50
cypress/e2e/discoverConformance.cy.js
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
import { loginWithFixtures } from '../support/intercept';
|
||||||
|
|
||||||
|
describe('Discover Conformance Page', () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
loginWithFixtures();
|
||||||
|
cy.visit('/discover/log/297310264/conformance');
|
||||||
|
cy.wait('@getLogCheckParams');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('page loads and loading overlay disappears', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays Rule Settings sidebar', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('Rule Settings').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays Conformance Checking Results heading', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('Conformance Checking Results').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays rule type radio options', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('Have activity').should('be.visible');
|
||||||
|
cy.contains('Activity sequence').should('be.visible');
|
||||||
|
cy.contains('Activity duration').should('be.visible');
|
||||||
|
cy.contains('Processing time').should('be.visible');
|
||||||
|
cy.contains('Waiting time').should('be.visible');
|
||||||
|
cy.contains('Cycle time').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays Clear and Apply buttons', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('button', 'Clear').should('be.visible');
|
||||||
|
cy.contains('button', 'Apply').should('exist');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays Activity list area', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('Activity list').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays default placeholder values in results', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('Conformance Rate').should('be.visible');
|
||||||
|
cy.contains('Cases').should('be.visible');
|
||||||
|
});
|
||||||
|
});
|
||||||
46
cypress/e2e/discoverMap.cy.js
Normal file
46
cypress/e2e/discoverMap.cy.js
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
import { loginWithFixtures } from '../support/intercept';
|
||||||
|
|
||||||
|
describe('Discover Map Page', () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
loginWithFixtures();
|
||||||
|
// Suppress Cytoscape rendering errors in headless mode
|
||||||
|
cy.on('uncaught:exception', () => false);
|
||||||
|
cy.visit('/discover/log/297310264/map');
|
||||||
|
cy.wait('@getDiscover');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('page loads and cytoscape container exists', () => {
|
||||||
|
cy.get('#cy').should('exist');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays left sidebar buttons', () => {
|
||||||
|
// Visualization Setting, Filter, Traces buttons
|
||||||
|
cy.get('.material-symbols-outlined').contains('track_changes').should('exist');
|
||||||
|
cy.get('.material-symbols-outlined').contains('tornado').should('exist');
|
||||||
|
cy.get('.material-symbols-outlined').contains('rebase').should('exist');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays right sidebar Summary button', () => {
|
||||||
|
cy.get('#sidebar_state').should('exist');
|
||||||
|
cy.get('#iconState').should('exist');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('clicking Visualization Setting button toggles sidebar', () => {
|
||||||
|
// Click the track_changes icon (Visualization Setting)
|
||||||
|
cy.contains('span.material-symbols-outlined', 'track_changes').parent('li').click();
|
||||||
|
// SidebarView should open
|
||||||
|
cy.contains('Visualization Setting').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('clicking Summary button toggles sidebar', () => {
|
||||||
|
cy.get('#iconState').click();
|
||||||
|
// SidebarState should open with insights/stats
|
||||||
|
cy.contains('Summary').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('clicking Traces button toggles sidebar', () => {
|
||||||
|
cy.contains('span.material-symbols-outlined', 'rebase').parent('li').click();
|
||||||
|
// SidebarTraces should open
|
||||||
|
cy.contains('Traces').should('be.visible');
|
||||||
|
});
|
||||||
|
});
|
||||||
61
cypress/e2e/discoverPerformance.cy.js
Normal file
61
cypress/e2e/discoverPerformance.cy.js
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
import { loginWithFixtures } from '../support/intercept';
|
||||||
|
|
||||||
|
describe('Discover Performance Page', () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
loginWithFixtures();
|
||||||
|
cy.visit('/discover/log/297310264/performance');
|
||||||
|
cy.wait('@getPerformance');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('page loads and loading overlay disappears', () => {
|
||||||
|
// Loading overlay should not be visible after data loads
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays Time Usage sidebar section', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('Time Usage').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays Frequency sidebar section', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('Frequency').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays sidebar navigation items', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('Cycle Time & Efficiency').should('be.visible');
|
||||||
|
cy.contains('Processing Time').should('be.visible');
|
||||||
|
cy.contains('Waiting Time').should('be.visible');
|
||||||
|
cy.contains('Number of Cases').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays chart titles', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('Average Cycle Time').should('be.visible');
|
||||||
|
cy.contains('Cycle Efficiency').should('be.visible');
|
||||||
|
cy.contains('Average Processing Time').should('be.visible');
|
||||||
|
cy.contains('Average Processing Time by Activity').should('be.visible');
|
||||||
|
cy.contains('Average Waiting Time').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('displays frequency chart titles', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
cy.contains('New Cases').should('be.visible');
|
||||||
|
cy.contains('Number of Cases by Activity').should('be.visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('renders canvas elements for charts', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
// Chart.js renders into canvas elements
|
||||||
|
cy.get('canvas').should('have.length.at.least', 5);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('sidebar navigation scrolls to section', () => {
|
||||||
|
cy.get('.z-\\[9999\\]', { timeout: 10000 }).should('not.exist');
|
||||||
|
// Click on "Waiting Time" in sidebar
|
||||||
|
cy.contains('li', 'Waiting Time').click();
|
||||||
|
// The Waiting Time section should be in view
|
||||||
|
cy.get('#waitingTime').should('exist');
|
||||||
|
});
|
||||||
|
});
|
||||||
File diff suppressed because it is too large
Load Diff
249
cypress/fixtures/api/filter-params.json
Normal file
249
cypress/fixtures/api/filter-params.json
Normal file
@@ -0,0 +1,249 @@
|
|||||||
|
{
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "a",
|
||||||
|
"occurrences": 187,
|
||||||
|
"occurrence_ratio": 0.10048361096184846,
|
||||||
|
"cases": 184,
|
||||||
|
"case_ratio": 0.7301587301587301
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "d",
|
||||||
|
"occurrences": 241,
|
||||||
|
"occurrence_ratio": 0.12950026867275657,
|
||||||
|
"cases": 241,
|
||||||
|
"case_ratio": 0.9563492063492064
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "e",
|
||||||
|
"occurrences": 249,
|
||||||
|
"occurrence_ratio": 0.1337990327780763,
|
||||||
|
"cases": 249,
|
||||||
|
"case_ratio": 0.9880952380952381
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "f",
|
||||||
|
"occurrences": 249,
|
||||||
|
"occurrence_ratio": 0.1337990327780763,
|
||||||
|
"cases": 249,
|
||||||
|
"case_ratio": 0.9880952380952381
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "g",
|
||||||
|
"occurrences": 253,
|
||||||
|
"occurrence_ratio": 0.13594841483073616,
|
||||||
|
"cases": 250,
|
||||||
|
"case_ratio": 0.9920634920634921
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "h",
|
||||||
|
"occurrences": 163,
|
||||||
|
"occurrence_ratio": 0.08758731864588931,
|
||||||
|
"cases": 163,
|
||||||
|
"case_ratio": 0.6468253968253969
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "i",
|
||||||
|
"occurrences": 185,
|
||||||
|
"occurrence_ratio": 0.09940891993551854,
|
||||||
|
"cases": 175,
|
||||||
|
"case_ratio": 0.6944444444444444
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "l",
|
||||||
|
"occurrences": 182,
|
||||||
|
"occurrence_ratio": 0.09779688339602365,
|
||||||
|
"cases": 182,
|
||||||
|
"case_ratio": 0.7222222222222222
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "c",
|
||||||
|
"occurrences": 48,
|
||||||
|
"occurrence_ratio": 0.025792584631918324,
|
||||||
|
"cases": 48,
|
||||||
|
"case_ratio": 0.19047619047619047
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "k",
|
||||||
|
"occurrences": 48,
|
||||||
|
"occurrence_ratio": 0.025792584631918324,
|
||||||
|
"cases": 48,
|
||||||
|
"case_ratio": 0.19047619047619047
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "b",
|
||||||
|
"occurrences": 34,
|
||||||
|
"occurrence_ratio": 0.018269747447608814,
|
||||||
|
"cases": 32,
|
||||||
|
"case_ratio": 0.12698412698412698
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "j",
|
||||||
|
"occurrences": 22,
|
||||||
|
"occurrence_ratio": 0.011821601289629231,
|
||||||
|
"cases": 22,
|
||||||
|
"case_ratio": 0.0873015873015873
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"label": "a",
|
||||||
|
"occurrences": 175,
|
||||||
|
"occurrence_ratio": 0.6944444444444444,
|
||||||
|
"sinks": [
|
||||||
|
"k",
|
||||||
|
"l"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "c",
|
||||||
|
"occurrences": 45,
|
||||||
|
"occurrence_ratio": 0.17857142857142858,
|
||||||
|
"sinks": [
|
||||||
|
"k"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "b",
|
||||||
|
"occurrences": 32,
|
||||||
|
"occurrence_ratio": 0.12698412698412698,
|
||||||
|
"sinks": [
|
||||||
|
"k",
|
||||||
|
"j",
|
||||||
|
"l"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sinks": [
|
||||||
|
{
|
||||||
|
"label": "l",
|
||||||
|
"occurrences": 182,
|
||||||
|
"occurrence_ratio": 0.7222222222222222,
|
||||||
|
"sources": [
|
||||||
|
"a",
|
||||||
|
"b"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "k",
|
||||||
|
"occurrences": 48,
|
||||||
|
"occurrence_ratio": 0.19047619047619047,
|
||||||
|
"sources": [
|
||||||
|
"a",
|
||||||
|
"b",
|
||||||
|
"c"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "j",
|
||||||
|
"occurrences": 22,
|
||||||
|
"occurrence_ratio": 0.0873015873015873,
|
||||||
|
"sources": [
|
||||||
|
"b"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"timeframe": {
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"x": "2022-01-21T03:21:48",
|
||||||
|
"y": 347
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-02-26T08:13:24",
|
||||||
|
"y": 426
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-04-03T13:05:00",
|
||||||
|
"y": 394
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-05-09T17:56:36",
|
||||||
|
"y": 375
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-06-14T22:48:12",
|
||||||
|
"y": 431
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-07-21T03:39:48",
|
||||||
|
"y": 393
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-08-26T08:31:24",
|
||||||
|
"y": 284
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-10-01T13:23:00",
|
||||||
|
"y": 359
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-11-06T18:14:36",
|
||||||
|
"y": 386
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-12-12T23:06:12",
|
||||||
|
"y": 327
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x_axis": {
|
||||||
|
"min": "2022-01-03T00:56:00",
|
||||||
|
"max": "2022-12-31T01:32:00"
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 431
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"traces": [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"count": 95
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"count": 74
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"count": 45
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"count": 22
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
|
"count": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"count": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 7,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 8,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 9,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 10,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 11,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 12,
|
||||||
|
"count": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attrs": []
|
||||||
|
}
|
||||||
@@ -1,18 +1,928 @@
|
|||||||
{
|
{
|
||||||
"cycle_time": {
|
"time": {
|
||||||
"labels": ["Task A", "Task B"],
|
"avg_cycle_time": {
|
||||||
"data": [7200, 3600]
|
"data": [
|
||||||
|
{
|
||||||
|
"x": "2022-01-21T03:21:48",
|
||||||
|
"y": 980220.0
|
||||||
},
|
},
|
||||||
"processing_time": {
|
{
|
||||||
"labels": ["Task A", "Task B"],
|
"x": "2022-02-26T08:13:24",
|
||||||
"data": [5400, 2700]
|
"y": 1000376.129032
|
||||||
},
|
},
|
||||||
"waiting_time": {
|
{
|
||||||
"labels": ["Task A → Task B", "Task B → End"],
|
"x": "2022-04-03T13:05:00",
|
||||||
"data": [1800, 900]
|
"y": 911990.0
|
||||||
},
|
},
|
||||||
"frequency": {
|
{
|
||||||
"labels": ["Task A", "Task B"],
|
"x": "2022-05-09T17:56:36",
|
||||||
"data": [150, 120]
|
"y": 1041860.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-06-14T22:48:12",
|
||||||
|
"y": 985415.625
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-07-21T03:39:48",
|
||||||
|
"y": 938079.130435
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-08-26T08:31:24",
|
||||||
|
"y": 1074680.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-10-01T13:23:00",
|
||||||
|
"y": 1061848.695652
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-11-06T18:14:36",
|
||||||
|
"y": 970119.230769
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-12-12T23:06:12",
|
||||||
|
"y": 1060703.076923
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x_axis": {
|
||||||
|
"min": "2022-01-03T00:56:00",
|
||||||
|
"max": "2022-12-31T01:32:00"
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"min": 0.0,
|
||||||
|
"max": 1074680.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"avg_cycle_efficiency": {
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"x": "2022-01-21T03:21:48",
|
||||||
|
"y": 0.9527980523449506
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-02-26T08:13:24",
|
||||||
|
"y": 0.9516493513262202
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-04-03T13:05:00",
|
||||||
|
"y": 0.9475330648076836
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-05-09T17:56:36",
|
||||||
|
"y": 0.9537265449333607
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-06-14T22:48:12",
|
||||||
|
"y": 0.9528919667258132
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-07-21T03:39:48",
|
||||||
|
"y": 0.9489804015433904
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-08-26T08:31:24",
|
||||||
|
"y": 0.9538748758272698
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-10-01T13:23:00",
|
||||||
|
"y": 0.9548679615433759
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-11-06T18:14:36",
|
||||||
|
"y": 0.9469965631092006
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-12-12T23:06:12",
|
||||||
|
"y": 0.9505469198562757
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x_axis": {
|
||||||
|
"min": "2022-01-03T00:56:00",
|
||||||
|
"max": "2022-12-31T01:32:00"
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"min": 0.0,
|
||||||
|
"max": 1.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"avg_process_time": {
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"x": "2022-01-21T03:21:48",
|
||||||
|
"y": 937067.368421
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-02-26T08:13:24",
|
||||||
|
"y": 953767.741935
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-04-03T13:05:00",
|
||||||
|
"y": 865780.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-05-09T17:56:36",
|
||||||
|
"y": 994600.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-06-14T22:48:12",
|
||||||
|
"y": 939795.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-07-21T03:39:48",
|
||||||
|
"y": 890947.826087
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-08-26T08:31:24",
|
||||||
|
"y": 1026345.714286
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-10-01T13:23:00",
|
||||||
|
"y": 1016363.478261
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-11-06T18:14:36",
|
||||||
|
"y": 923626.153846
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-12-12T23:06:12",
|
||||||
|
"y": 1011540.0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x_axis": {
|
||||||
|
"min": "2022-01-03T00:56:00",
|
||||||
|
"max": "2022-12-31T01:32:00"
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"min": 0.0,
|
||||||
|
"max": 1026345.714286
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"avg_process_time_by_task": {
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"x": "a",
|
||||||
|
"y": 131147.486631
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "b",
|
||||||
|
"y": 136627.058824
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "c",
|
||||||
|
"y": 133261.25
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "d",
|
||||||
|
"y": 132697.095436
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "e",
|
||||||
|
"y": 124442.891566
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "f",
|
||||||
|
"y": 127175.180723
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "g",
|
||||||
|
"y": 127627.826087
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "h",
|
||||||
|
"y": 128163.680982
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "i",
|
||||||
|
"y": 125588.756757
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "j",
|
||||||
|
"y": 101290.909091
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "k",
|
||||||
|
"y": 142543.75
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "l",
|
||||||
|
"y": 138070.879121
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x_axis": {
|
||||||
|
"labels": [
|
||||||
|
"a",
|
||||||
|
"b",
|
||||||
|
"c",
|
||||||
|
"d",
|
||||||
|
"e",
|
||||||
|
"f",
|
||||||
|
"g",
|
||||||
|
"h",
|
||||||
|
"i",
|
||||||
|
"j",
|
||||||
|
"k",
|
||||||
|
"l"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"min": 0.0,
|
||||||
|
"max": 142543.75
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"avg_waiting_time": {
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"x": "2022-01-21T03:21:48",
|
||||||
|
"y": 43152.631579
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-02-26T08:13:24",
|
||||||
|
"y": 46608.387097
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-04-03T13:05:00",
|
||||||
|
"y": 46210.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-05-09T17:56:36",
|
||||||
|
"y": 47260.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-06-14T22:48:12",
|
||||||
|
"y": 45620.625
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-07-21T03:39:48",
|
||||||
|
"y": 47131.304348
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-08-26T08:31:24",
|
||||||
|
"y": 48334.285714
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-10-01T13:23:00",
|
||||||
|
"y": 45485.217391
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-11-06T18:14:36",
|
||||||
|
"y": 46493.076923
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-12-12T23:06:12",
|
||||||
|
"y": 49163.076923
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x_axis": {
|
||||||
|
"min": "2022-01-03T00:56:00",
|
||||||
|
"max": "2022-12-31T01:32:00"
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"min": 0.0,
|
||||||
|
"max": 49163.076923
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"avg_waiting_time_by_edge": {
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"a",
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"y": 6420.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"a",
|
||||||
|
"d"
|
||||||
|
],
|
||||||
|
"y": 7506.352941
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"a",
|
||||||
|
"f"
|
||||||
|
],
|
||||||
|
"y": 5940.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"a",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
"y": 5175.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"a",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
"y": 6260.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"b",
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"y": 6840.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"b",
|
||||||
|
"b"
|
||||||
|
],
|
||||||
|
"y": 3540.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"b",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
"y": 7273.636364
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"b",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
"y": 6288.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"c",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
"y": 11460.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"c",
|
||||||
|
"h"
|
||||||
|
],
|
||||||
|
"y": 6821.73913
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"c",
|
||||||
|
"k"
|
||||||
|
],
|
||||||
|
"y": 13500.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"d",
|
||||||
|
"c"
|
||||||
|
],
|
||||||
|
"y": 11760.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"d",
|
||||||
|
"e"
|
||||||
|
],
|
||||||
|
"y": 7166.694915
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"d",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
"y": 8080.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"d",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
"y": 3600.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"e",
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"y": 7260.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"e",
|
||||||
|
"d"
|
||||||
|
],
|
||||||
|
"y": 6780.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"e",
|
||||||
|
"f"
|
||||||
|
],
|
||||||
|
"y": 7288.474576
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"e",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
"y": 14040.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"e",
|
||||||
|
"k"
|
||||||
|
],
|
||||||
|
"y": 13620.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"e",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
"y": 3780.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"f",
|
||||||
|
"d"
|
||||||
|
],
|
||||||
|
"y": 10140.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"f",
|
||||||
|
"e"
|
||||||
|
],
|
||||||
|
"y": 3940.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"f",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
"y": 6983.271028
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"f",
|
||||||
|
"j"
|
||||||
|
],
|
||||||
|
"y": 8170.909091
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"f",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
"y": 6667.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"g",
|
||||||
|
"c"
|
||||||
|
],
|
||||||
|
"y": 2400.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"g",
|
||||||
|
"e"
|
||||||
|
],
|
||||||
|
"y": 11880.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"g",
|
||||||
|
"f"
|
||||||
|
],
|
||||||
|
"y": 5302.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"g",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
"y": 11400.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"g",
|
||||||
|
"h"
|
||||||
|
],
|
||||||
|
"y": 7592.820513
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"g",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
"y": 7140.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"g",
|
||||||
|
"k"
|
||||||
|
],
|
||||||
|
"y": 8116.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"g",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
"y": 7457.368421
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"h",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
"y": 7288.888889
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"h",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
"y": 6960.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"i",
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"y": 8910.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"i",
|
||||||
|
"b"
|
||||||
|
],
|
||||||
|
"y": 5880.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"i",
|
||||||
|
"c"
|
||||||
|
],
|
||||||
|
"y": 5460.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"i",
|
||||||
|
"d"
|
||||||
|
],
|
||||||
|
"y": 7710.447761
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"i",
|
||||||
|
"e"
|
||||||
|
],
|
||||||
|
"y": 9153.333333
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"i",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
"y": 8640.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"i",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
"y": 6324.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"i",
|
||||||
|
"k"
|
||||||
|
],
|
||||||
|
"y": 3240.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": [
|
||||||
|
"i",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
"y": 7188.75
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x_axis": {
|
||||||
|
"labels": [
|
||||||
|
[
|
||||||
|
"a",
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"a",
|
||||||
|
"d"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"a",
|
||||||
|
"f"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"a",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"a",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"b",
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"b",
|
||||||
|
"b"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"b",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"b",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"c",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"c",
|
||||||
|
"h"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"c",
|
||||||
|
"k"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"d",
|
||||||
|
"c"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"d",
|
||||||
|
"e"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"d",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"d",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"e",
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"e",
|
||||||
|
"d"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"e",
|
||||||
|
"f"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"e",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"e",
|
||||||
|
"k"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"e",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"f",
|
||||||
|
"d"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"f",
|
||||||
|
"e"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"f",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"f",
|
||||||
|
"j"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"f",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"g",
|
||||||
|
"c"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"g",
|
||||||
|
"e"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"g",
|
||||||
|
"f"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"g",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"g",
|
||||||
|
"h"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"g",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"g",
|
||||||
|
"k"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"g",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"h",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"h",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"i",
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"i",
|
||||||
|
"b"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"i",
|
||||||
|
"c"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"i",
|
||||||
|
"d"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"i",
|
||||||
|
"e"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"i",
|
||||||
|
"g"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"i",
|
||||||
|
"i"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"i",
|
||||||
|
"k"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"i",
|
||||||
|
"l"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"min": 0.0,
|
||||||
|
"max": 14040.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"freq": {
|
||||||
|
"cases": {
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"x": "2022-01-21T03:21:48",
|
||||||
|
"y": 30
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-02-26T08:13:24",
|
||||||
|
"y": 25
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-04-03T13:05:00",
|
||||||
|
"y": 30
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-05-09T17:56:36",
|
||||||
|
"y": 26
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-06-14T22:48:12",
|
||||||
|
"y": 28
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-07-21T03:39:48",
|
||||||
|
"y": 27
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-08-26T08:31:24",
|
||||||
|
"y": 17
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-10-01T13:23:00",
|
||||||
|
"y": 24
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-11-06T18:14:36",
|
||||||
|
"y": 28
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "2022-12-12T23:06:12",
|
||||||
|
"y": 17
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x_axis": {
|
||||||
|
"min": "2022-01-03T00:56:00",
|
||||||
|
"max": "2022-12-31T01:32:00"
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 30
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cases_by_task": {
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"x": "a",
|
||||||
|
"y": 184
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "b",
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "c",
|
||||||
|
"y": 48
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "d",
|
||||||
|
"y": 241
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "e",
|
||||||
|
"y": 249
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "f",
|
||||||
|
"y": 249
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "g",
|
||||||
|
"y": 250
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "h",
|
||||||
|
"y": 163
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "i",
|
||||||
|
"y": 175
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "j",
|
||||||
|
"y": 22
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "k",
|
||||||
|
"y": 48
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": "l",
|
||||||
|
"y": 182
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"x_axis": {
|
||||||
|
"labels": [
|
||||||
|
"a",
|
||||||
|
"b",
|
||||||
|
"c",
|
||||||
|
"d",
|
||||||
|
"e",
|
||||||
|
"f",
|
||||||
|
"g",
|
||||||
|
"h",
|
||||||
|
"i",
|
||||||
|
"j",
|
||||||
|
"k",
|
||||||
|
"l"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"y_axis": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 250
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
154
cypress/fixtures/api/trace-detail.json
Normal file
154
cypress/fixtures/api/trace-detail.json
Normal file
@@ -0,0 +1,154 @@
|
|||||||
|
{
|
||||||
|
"task_seq": [
|
||||||
|
"a",
|
||||||
|
"d",
|
||||||
|
"e",
|
||||||
|
"f",
|
||||||
|
"g",
|
||||||
|
"h",
|
||||||
|
"i",
|
||||||
|
"l"
|
||||||
|
],
|
||||||
|
"cases": [
|
||||||
|
{
|
||||||
|
"id": "H00564053",
|
||||||
|
"started_at": "2022-01-03T00:56:00",
|
||||||
|
"completed_at": "2022-01-12T02:29:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00723931",
|
||||||
|
"started_at": "2022-01-04T17:51:00",
|
||||||
|
"completed_at": "2022-01-17T10:00:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00542949",
|
||||||
|
"started_at": "2022-01-10T19:05:00",
|
||||||
|
"completed_at": "2022-01-28T09:38:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00320575",
|
||||||
|
"started_at": "2022-01-12T21:35:00",
|
||||||
|
"completed_at": "2022-01-24T19:38:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00565387",
|
||||||
|
"started_at": "2022-01-20T20:30:00",
|
||||||
|
"completed_at": "2022-02-06T10:57:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00832338",
|
||||||
|
"started_at": "2022-01-29T15:00:00",
|
||||||
|
"completed_at": "2022-02-13T17:46:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00525137",
|
||||||
|
"started_at": "2022-02-05T23:26:00",
|
||||||
|
"completed_at": "2022-02-14T19:47:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00093124",
|
||||||
|
"started_at": "2022-02-09T16:56:00",
|
||||||
|
"completed_at": "2022-02-28T17:38:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00657586",
|
||||||
|
"started_at": "2022-02-14T20:07:00",
|
||||||
|
"completed_at": "2022-02-28T15:21:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00141668",
|
||||||
|
"started_at": "2022-02-17T13:57:00",
|
||||||
|
"completed_at": "2022-03-06T00:01:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00493818",
|
||||||
|
"started_at": "2022-02-20T19:54:00",
|
||||||
|
"completed_at": "2022-03-05T05:06:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00488827",
|
||||||
|
"started_at": "2022-02-21T00:38:00",
|
||||||
|
"completed_at": "2022-03-03T16:24:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00874806",
|
||||||
|
"started_at": "2022-02-24T15:15:00",
|
||||||
|
"completed_at": "2022-03-12T01:12:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00395448",
|
||||||
|
"started_at": "2022-02-26T03:35:00",
|
||||||
|
"completed_at": "2022-03-08T23:11:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00414605",
|
||||||
|
"started_at": "2022-02-26T17:11:00",
|
||||||
|
"completed_at": "2022-03-10T08:50:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00564269",
|
||||||
|
"started_at": "2022-03-04T01:18:00",
|
||||||
|
"completed_at": "2022-03-16T08:14:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00729845",
|
||||||
|
"started_at": "2022-03-05T09:29:00",
|
||||||
|
"completed_at": "2022-03-17T15:25:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00194115",
|
||||||
|
"started_at": "2022-03-09T18:58:00",
|
||||||
|
"completed_at": "2022-03-23T09:01:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00517238",
|
||||||
|
"started_at": "2022-03-21T06:30:00",
|
||||||
|
"completed_at": "2022-04-05T05:27:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "H00377237",
|
||||||
|
"started_at": "2022-03-24T12:06:00",
|
||||||
|
"completed_at": "2022-04-04T15:44:00",
|
||||||
|
"attributes": [],
|
||||||
|
"facets": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,14 +1,50 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"case_id": "CASE-001",
|
"count": 95
|
||||||
"count": 50,
|
|
||||||
"activities": ["Task A", "Task B", "End"]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"case_id": "CASE-002",
|
"count": 74
|
||||||
"count": 30,
|
},
|
||||||
"activities": ["Task A", "End"]
|
{
|
||||||
|
"id": 3,
|
||||||
|
"count": 45
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"count": 22
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
|
"count": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"count": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 7,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 8,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 9,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 10,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 11,
|
||||||
|
"count": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 12,
|
||||||
|
"count": 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -88,13 +88,11 @@ export function setupApiIntercepts() {
|
|||||||
|
|
||||||
// Trace detail (must be after traces list intercepts)
|
// Trace detail (must be after traces list intercepts)
|
||||||
cy.intercept('GET', /\/api\/logs\/.*\/traces\/\d+/, {
|
cy.intercept('GET', /\/api\/logs\/.*\/traces\/\d+/, {
|
||||||
statusCode: 200,
|
fixture: 'api/trace-detail.json',
|
||||||
body: { task_seq: [], events: [] },
|
|
||||||
}).as('getTraceDetail');
|
}).as('getTraceDetail');
|
||||||
|
|
||||||
cy.intercept('GET', /\/api\/filters\/.*\/traces\/\d+/, {
|
cy.intercept('GET', /\/api\/filters\/.*\/traces\/\d+/, {
|
||||||
statusCode: 200,
|
fixture: 'api/trace-detail.json',
|
||||||
body: { task_seq: [], events: [] },
|
|
||||||
}).as('getFilterTraceDetail');
|
}).as('getFilterTraceDetail');
|
||||||
|
|
||||||
// Temp filters
|
// Temp filters
|
||||||
@@ -119,13 +117,11 @@ export function setupApiIntercepts() {
|
|||||||
|
|
||||||
// Conformance check params
|
// Conformance check params
|
||||||
cy.intercept('GET', '/api/log-checks/params*', {
|
cy.intercept('GET', '/api/log-checks/params*', {
|
||||||
statusCode: 200,
|
fixture: 'api/filter-params.json',
|
||||||
body: {},
|
|
||||||
}).as('getLogCheckParams');
|
}).as('getLogCheckParams');
|
||||||
|
|
||||||
cy.intercept('GET', '/api/filter-checks/params*', {
|
cy.intercept('GET', '/api/filter-checks/params*', {
|
||||||
statusCode: 200,
|
fixture: 'api/filter-params.json',
|
||||||
body: {},
|
|
||||||
}).as('getFilterCheckParams');
|
}).as('getFilterCheckParams');
|
||||||
|
|
||||||
// Dependents (for delete confirmation)
|
// Dependents (for delete confirmation)
|
||||||
|
|||||||
Reference in New Issue
Block a user