Skip to content

Commit 4b8e489

Browse files
set time range before opening service and operations (#1023) (#1040)
Signed-off-by: Yulong Ruan <[email protected]> (cherry picked from commit c644c39) Co-authored-by: Yulong Ruan <[email protected]>
1 parent 264b370 commit 4b8e489

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

cypress/integration/plugins/observability-dashboards/1_trace_analytics_dashboard.spec.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ describe('Testing dashboard table', () => {
2929
},
3030
});
3131
setTimeFilter();
32+
});
33+
34+
it('Adds the percentile filters', () => {
3235
cy.get(
3336
'[data-test-subj="trace-groups-service-operation-accordian"]'
3437
).click();
35-
});
3638

37-
it('Adds the percentile filters', () => {
3839
cy.contains(' >= 95 percentile').click({ force: true });
3940
cy.wait(delayTime);
4041
cy.contains(' >= 95 percentile').click({ force: true });
@@ -60,13 +61,19 @@ describe('Testing dashboard table', () => {
6061

6162
it('Opens latency trend popover', () => {
6263
setTimeFilter(true);
64+
cy.get(
65+
'[data-test-subj="trace-groups-service-operation-accordian"]'
66+
).click();
6367
cy.get('.euiButtonIcon[aria-label="Open popover"]').first().click();
6468
cy.get('text.ytitle[data-unformatted="Hourly latency (ms)"]').should(
6569
'exist'
6670
);
6771
});
6872

6973
it('Redirects to traces table with filter', () => {
74+
cy.get(
75+
'[data-test-subj="trace-groups-service-operation-accordian"]'
76+
).click();
7077
cy.get('[data-test-subj="dashboard-table-traces-button"]')
7178
.contains('13')
7279
.click();

0 commit comments

Comments
 (0)