Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase flint #963

Merged
merged 126 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
b21f9af
Bugfix filter not appearing, and loading on click
TackAdam Jun 13, 2023
8266c0d
Fixed applications not working with change
TackAdam Jun 14, 2023
354a2a9
Fixed refresh keeping the old pattern stored in the query
TackAdam Jun 15, 2023
7f3f6b8
Add integration content
Swiddis Jun 20, 2023
3a13771
Copy updated types
Swiddis Jun 20, 2023
837f15c
Patterns working in Applications and Logs
TackAdam Jun 21, 2023
19da5bc
Update mapping files to match current catalog versions
Swiddis Jun 22, 2023
6ff533a
Removed tempQuery from log patterns
TackAdam Jun 26, 2023
220ee69
Merge pull request #538 from TackAdam/filterFix
TackAdam Jun 27, 2023
6cb7ca3
Copy aws_elb integration from @danieldong51
Swiddis Jun 27, 2023
1cbd1ad
Remove nginx logo from gallery
Swiddis Jun 27, 2023
e66b4de
Remove extra logo from nginx
Swiddis Jun 27, 2023
4409b51
Cypress test for panels working, bugfix on toast message
TackAdam Jun 28, 2023
dbb4a8a
Merge pull request #559 from Swiddis/copy-repository
Swiddis Jun 28, 2023
3c51a66
Removed unused function
TackAdam Jun 28, 2023
e4554aa
Copy path sanitization from osints/dev
Swiddis Jun 28, 2023
d835ba9
add docker-compose support (#575)
YANG-DB Jun 28, 2023
d6d4fb2
Merge Kibana backend from osints/dev into main (#565)
Swiddis Jun 28, 2023
6d5bd47
Merge pull request #583 from Swiddis/osints/sanitize-paths
Swiddis Jun 28, 2023
dbd1dc7
Fixing bug with saved visualization querys from logs
TackAdam Jun 29, 2023
03fb453
code clean up
mengweieric Jun 30, 2023
3dd859c
update snapshots
mengweieric Jun 30, 2023
5257707
remove unused utils, color theme, and editor components
mengweieric Jun 30, 2023
bd11c23
add to index file
mengweieric Jun 30, 2023
a85b716
Merge pull request #588 from mengweieric/feature/prerelease-code-cleanup
anirudha Jun 30, 2023
0a803dc
Feature/prerelease code cleanup (#589)
mengweieric Jun 30, 2023
5fea6ab
Merge pull request #587 from TackAdam/appBugFix
TackAdam Jun 30, 2023
3b35600
Replace metrics slider with ResizableContainer (#602)
pjfitzgibbons Jul 3, 2023
87ceab9
Fixing cypress testing for apps
TackAdam Jul 3, 2023
14ec857
Merge pull request #582 from TackAdam/cypPanel
TackAdam Jul 5, 2023
63a9799
Fix availability not being displayed in panel
TackAdam Jul 5, 2023
cb7955c
Fixed config data and layout
TackAdam Jul 5, 2023
665c847
changed fix implementation to not break unit test
TackAdam Jul 6, 2023
1a255c5
uncommented lines after bugfix
TackAdam Jul 6, 2023
ff5a80c
Delete missed comments
TackAdam Jul 7, 2023
7c80ce1
Prevent empty string being parsed
TackAdam Jul 10, 2023
ded970b
Pull changes from osints/dev
Swiddis Jul 10, 2023
00e8070
Copy frontend from osints/dev
Swiddis Jul 10, 2023
df2c340
Hotfix: Update nginx dashboard to remove errors
Swiddis Jul 10, 2023
a04971b
address pr comments
derek-ho Jul 11, 2023
6a05461
address pr comments
derek-ho Jul 11, 2023
ab82dd8
Merge pull request #615 from Swiddis/osints/main
Swiddis Jul 11, 2023
fba6d30
Merge pull request #618 from Swiddis/osints/frontend
Swiddis Jul 11, 2023
cd7bf38
Merge pull request #607 from TackAdam/PanelAvailBug
TackAdam Jul 11, 2023
e1a5465
Upgrade tough-cookie and semver (#619) (#627)
ps48 Jul 11, 2023
ed5d8ce
Merge frontend from osints/dev (#636)
Swiddis Jul 11, 2023
d67a5db
Release Notes 2.9.0
pjfitzgibbons Jul 12, 2023
e139425
Update Release Notes 2.9 w/ Documentation section (#652)
pjfitzgibbons Jul 13, 2023
06ea75f
Remove unused files (#662)
mengweieric Jul 13, 2023
0c4ac60
Cypress ci integration (#443)
mengweieric Jul 14, 2023
82af48c
Increment version to 3.0.0.0 (#659)
opensearch-trigger-bot[bot] Jul 14, 2023
491acb1
Remade all cypress test for visualizations charts
TackAdam Jul 14, 2023
9fcfba2
Remove job scheduler from cypress CI (#681)
mengweieric Jul 14, 2023
d4c8ff9
update readme to reflect recent changes (#691)
YANG-DB Jul 17, 2023
2e87d35
Add Integration request github issue template (#688)
YANG-DB Jul 17, 2023
0272355
adds back cypress watch and reload (#693)
derek-ho Jul 17, 2023
f1cf307
Fixes for Derek's comments
TackAdam Jul 17, 2023
4e33b99
Merge pull request #604 from TackAdam/cypApps
TackAdam Jul 17, 2023
4f361fd
Added sample data load, moved shared constm removed waits
TackAdam Jul 17, 2023
6c4967f
Code hygiene moved helpers out of constants
TackAdam Jul 18, 2023
5c96cc6
Merge pull request #679 from TackAdam/cypVis
TackAdam Jul 18, 2023
f7efa56
fix name change bug and modify test to test behavior (#724)
derek-ho Jul 20, 2023
3bb8644
Search bar fixes (#727)
derek-ho Jul 21, 2023
dd278ad
Add AWS VPC Flow Log integration (#698)
wanghd89 Jul 21, 2023
14bc62b
Update snapshots (#734)
derek-ho Jul 24, 2023
942a1cc
Fix vpc (#742)
derek-ho Jul 24, 2023
98bd8bd
Bump word-wrap from 1.2.3 to 1.2.4 (#723)
dependabot[bot] Jul 24, 2023
be9b2d4
Update vpc readme & references (#740)
YANG-DB Jul 25, 2023
4499699
Fix snapshots from upstream OSD/OUI changes (#755)
derek-ho Jul 26, 2023
f9f1579
Remove link field from Nginx (#761)
Swiddis Jul 28, 2023
3ca83f8
simplify docker-compose.yml (#763)
YANG-DB Jul 28, 2023
a0a62af
fix integration json loading parser so that it will trim unneeded emp…
YANG-DB Jul 31, 2023
7a9485e
fix docker-compose.yml dashboard issue with OPENSEARCH_HOSTS (#783)
YANG-DB Jul 31, 2023
174c512
Fail backport (#778)
derek-ho Aug 1, 2023
bfada80
Add AWS ELB Integration (#772)
danieldong51 Aug 1, 2023
a7ec27d
Feature/metrics sidepanel update (#749)
pjfitzgibbons Aug 1, 2023
ffaed2c
Add Apache Integration (#754)
danieldong51 Aug 2, 2023
7f5cfe7
Fix broken Nginx Integration data volume panel (#787)
Swiddis Aug 2, 2023
a4b764a
Updated link in sourceURL (#811)
danieldong51 Aug 3, 2023
3f6762a
Make integration category and template lists dynamic (#782)
Swiddis Aug 3, 2023
0e9e8cd
Re-apply fix for VPC type (#809)
Swiddis Aug 3, 2023
3e1eb69
Integrations base path fix (#713)
Swiddis Aug 3, 2023
4d33d82
Fix integration removal timing (#781)
Swiddis Aug 3, 2023
ca5ea39
Nginx Integration Panel Fix: Re-apply link removal (#807)
Swiddis Aug 3, 2023
4d4e28a
Remove dependence on integrations variable (#826)
Swiddis Aug 3, 2023
187e578
Fix index name collisions on integration sample creation. (#818)
Swiddis Aug 4, 2023
b4fa4dd
Changed log mappings to be apache-specific (#822)
danieldong51 Aug 4, 2023
7fca060
Changed logs mappings to be logs-elb (#821)
danieldong51 Aug 4, 2023
1134382
update index template to avoid name collisions (#825)
YANG-DB Aug 4, 2023
9681bc4
Aws cloudfront integration (#779)
YANG-DB Aug 4, 2023
a4bb7c3
aws WAF integration (#788)
YANG-DB Aug 4, 2023
2aedbde
Aws rds Integration support (#741)
YANG-DB Aug 4, 2023
b558392
Aws cloudtrail Integration (#773)
YANG-DB Aug 4, 2023
c88d25a
aws s3 integration (#756)
YANG-DB Aug 4, 2023
deb90e7
Modified Integrations Description (#853)
danieldong51 Aug 7, 2023
ad7aa65
update readme with the integration related docs and screen shorts (#852)
YANG-DB Aug 7, 2023
d1f5d3b
change unapplied cateogry filter to empty instead of x (#858)
derek-ho Aug 8, 2023
6ec0967
Fix failing CI (#863)
Swiddis Aug 8, 2023
f389b66
consolidate aws_s3-1.0.0.mapping.json schema to match all across (#851)
YANG-DB Aug 9, 2023
74b69c1
consolidate http-1.0.0.mapping.json schema to match all across (#850)
YANG-DB Aug 9, 2023
256e0d2
consolidate communication-1.0.0.mapping.json schema to match all acro…
YANG-DB Aug 9, 2023
a39265a
Speed up unit testing CI by updating maxWorkers setting (#884)
Swiddis Aug 9, 2023
22b37e9
Switch try it button to be secondary (#887)
Swiddis Aug 10, 2023
a0b00ca
Add _refresh call to sync component creation before index creation (#…
Swiddis Aug 10, 2023
e310968
update backport labels (#898)
ps48 Aug 10, 2023
43e921e
update raw data (#891)
YANG-DB Aug 10, 2023
24fe388
K8s integration (#829)
YANG-DB Aug 11, 2023
07a621b
consolidate cloud schema to match all across (#846)
YANG-DB Aug 11, 2023
a0d6550
Make OSD Bootstrap more sturdy in CI (#901)
Swiddis Aug 11, 2023
29f6028
Changes Panel Titles to H2 and rearranges the details content to deta…
derek-ho Aug 14, 2023
9134968
update the README.md with Screenshots section
YANG-DB Aug 14, 2023
adf68fe
align all schema mapping components to contain the following metadata…
YANG-DB Aug 15, 2023
aa2f3f1
Update label handling on frontend + Refactors (#931)
Swiddis Aug 15, 2023
e633b72
Fix one more missing label change (#934)
Swiddis Aug 15, 2023
e947d4b
Feature/metrics multiline display (#899)
pjfitzgibbons Aug 15, 2023
c8587fd
Increment version to 3.0.0.0 (#854)
opensearch-trigger-bot[bot] Aug 16, 2023
103d0cf
Merge pull request #924 from YANG-DB/update_readme_with_integration_s…
anirudha Aug 19, 2023
09e5d52
Refactor integration validation logic with a cleaner interface (#943)
Swiddis Aug 22, 2023
a537e70
update logo related snapshots due to upstream changes (#950)
derek-ho Aug 23, 2023
2ebd4a2
Fix all yarn lints for server directory (#953)
Swiddis Aug 24, 2023
95de554
Update mocha (#960)
Swiddis Aug 29, 2023
d9cb476
trace analytics collapse dashboard queries, align naming to industry …
derek-ho Aug 30, 2023
acd1f06
Merge branch 'main' of github.com:opensearch-project/dashboards-obser…
derek-ho Aug 31, 2023
d474fa6
added code for the change of design of the sidebar, fixed overriding …
sumukhswamy Sep 5, 2023
941eb60
update search bar snapshots according to upstream changes (#964)
derek-ho Sep 5, 2023
952bab6
Merge branch 'main' of github.com:opensearch-project/dashboards-obser…
derek-ho Sep 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 9 additions & 6 deletions .cypress/integration/1_event_analytics.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ import {
SAVE_QUERY2,
SAVE_QUERY3,
SAVE_QUERY4,
querySearch,
YEAR_TO_DATE_DOM_ID,
landOnEventHome,
landOnEventExplorer,
landOnEventVisualizations,
landOnPanels,
HOST_TEXT_1,
HOST_TEXT_2,
HOST_TEXT_3,
Expand All @@ -31,7 +26,15 @@ import {
FIELD_AGENT
} from '../utils/event_analytics/constants';
import { suppressResizeObserverIssue, COMMAND_TIMEOUT_LONG } from '../utils/constants';
import { clearQuerySearchBoxText } from '../utils/event_analytics/helpers';

import {
querySearch,
landOnEventHome,
landOnEventExplorer,
landOnEventVisualizations,
landOnPanels,
clearQuerySearchBoxText,
} from '../utils/event_analytics/helpers';

describe('Adding sample data and visualization', () => {
it('Adds sample flights data for event analytics', () => {
Expand Down
1,082 changes: 609 additions & 473 deletions .cypress/integration/3_panels.spec.ts

Large diffs are not rendered by default.

41 changes: 18 additions & 23 deletions .cypress/integration/4_trace_analytics_dashboard.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
/// <reference types="cypress" />

import { testDataSet, delay, setTimeFilter, jaegerTestDataSet } from '../utils/constants';
import { suppressResizeObserverIssue } from '../utils/constants';

suppressResizeObserverIssue();//needs to be in file once

describe('Dump test data', () => {
it('Indexes test data', () => {
Expand Down Expand Up @@ -88,6 +91,7 @@ describe('Testing dashboard table', () => {
},
});
setTimeFilter();
cy.get('[data-test-subj="trace-groups-service-operation-accordian"]').click();
});

it('Renders the dashboard table', () => {
Expand All @@ -97,15 +101,6 @@ describe('Testing dashboard table', () => {
cy.contains('7.14%').should('exist');
});

it('Has working breadcrumbs', () => {
cy.get('.euiBreadcrumb').contains('Dashboard').click();
cy.get('.euiTitle').contains('Dashboard').should('exist');
cy.get('.euiBreadcrumb').contains('Trace analytics').click();
cy.get('.euiTitle').contains('Dashboard').should('exist');
cy.get('.euiBreadcrumb').contains('Observability').click();
cy.get('.euiTitle').contains('Logs').should('exist');
});

it('Adds the percentile filters', () => {
cy.contains(' >= 95 percentile').click({ force: true });
cy.contains(' >= 95 percentile').click({ force: true });
Expand All @@ -131,7 +126,6 @@ describe('Testing dashboard table', () => {
it('Redirects to traces table with filter', () => {
cy.get('.euiLink').contains('13').click();

cy.get('h2.euiTitle').contains('Traces').should('exist');
cy.contains(' (13)').should('exist');
cy.contains('client_create_order').should('exist');

Expand All @@ -149,20 +143,20 @@ describe('Testing plots', () => {
},
});
setTimeFilter();
cy.get('[data-test-subj="trace-groups-service-operation-accordian"]').click();
});

it('Renders service map', () => {
// plotly scale texts are in attribute "data-unformatted"
cy.get('text.ytitle[data-unformatted="Latency (ms)"]').should('exist');
cy.get('text.ytitle[data-unformatted="Average duration (ms)"]').should('exist');
cy.get('text[data-unformatted="200"]').should('exist');
cy.get('.vis-network').should('exist');

cy.get('.euiButton__text[title="Error rate"]').click();
cy.get('text.ytitle[data-unformatted="Error rate"]').should('exist');
cy.get('text[data-unformatted="10%"]').should('exist');
cy.get('.euiButton__text[title="Errors"]').click();
cy.get('text.ytitle[data-unformatted="Error rate (%)"]').should('exist');

cy.get('.euiButton__text[title="Throughput"]').click();
cy.get('text.ytitle[data-unformatted="Throughput"]').should('exist');
cy.get('.euiButton__text[title="Request Rate"]').click();
cy.get('text.ytitle[data-unformatted="Request rate (spans)"]').should('exist');
cy.get('text[data-unformatted="50"]').should('exist');

cy.get('input[type="search"]').eq(1).focus().type('payment{enter}');
Expand All @@ -184,6 +178,7 @@ describe('Latency by trace group table', () =>{
},
});
setTimeFilter();
cy.get('[data-test-subj="trace-groups-service-operation-accordian"]').click();
});

it('Verify columns in Latency by trace group table along with pagination functionality', () => {
Expand All @@ -194,9 +189,9 @@ describe('Latency by trace group table', () =>{
cy.get('[data-test-subj="tableHeaderCell_24_hour_latency_trend_3"]').should('exist');
cy.get('[data-test-subj="tableHeaderCell_dashboard_error_rate_4"]').should('exist');
cy.get('[data-test-subj="tableHeaderCell_dashboard_traces_5"]').should('exist');
cy.get('[data-test-subj="tablePaginationPopoverButton"]').click();
cy.get('[data-test-subj="tablePaginationPopoverButton"]').eq(1).click();
cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiContextMenu__icon').eq(0).should('exist').click();
cy.get('[data-test-subj="pagination-button-next"]').should('exist').click();
cy.get('[data-test-subj="pagination-button-next"]').eq(1).should('exist').click();
cy.get('button[data-test-subj="dashboard-table-trace-group-name-button"]').contains('mysql').should('exist');
});

Expand Down Expand Up @@ -225,7 +220,7 @@ describe('Latency by trace group table', () =>{
cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').click();
cy.wait(delay);//Fails without
cy.get('.euiTableCellContent.euiTableCellContent--alignRight.euiTableCellContent--overflowingContent').contains('211.04').should('exist');
cy.get('button[data-test-subj="dashboard-table-trace-group-name-button"]').click();
cy.get('button[data-test-subj="dashboard-table-trace-group-name-button"]').eq(0).click();
cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
cy.get('.euiIcon.euiIcon--medium.euiContextMenu__arrow').click();
cy.get('.euiContextMenuPanelTitle').contains('Edit filter').should('exist');
Expand Down Expand Up @@ -350,6 +345,7 @@ describe('Testing switch mode to jaeger', () => {
setTimeFilter();
cy.get("[data-test-subj='indexPattern-switch-link']").click();
cy.get("[data-test-subj='jaeger-mode']").click();
cy.get('[data-test-subj="trace-groups-service-operation-accordian"]').click();
});

it('Verifies errors mode columns and data', () => {
Expand All @@ -358,15 +354,14 @@ describe('Testing switch mode to jaeger', () => {
cy.contains('100%').should('exist');
cy.contains('7').should('exist');
cy.contains('Service and Operation Name').should('exist');
cy.contains('Average latency (ms)').should('exist');
cy.contains('Average duration (ms)').should('exist');
cy.contains('Error rate').should('exist');
cy.contains('Traces').should('exist');
});

it('Verifies traces links to traces page', () => {
cy.get('.euiLink').contains('7').click();
cy.get('[data-test-subj="dashboard-table-traces-button"]').contains('7').click();

cy.get('h2.euiTitle').contains('Traces').should('exist');
cy.contains(' (7)').should('exist');
cy.get("[data-test-subj='filterBadge']").eq(0).contains('process.serviceName: redis')
cy.get("[data-test-subj='filterBadge']").eq(1).contains('operationName: GetDriver');
Expand All @@ -379,7 +374,7 @@ describe('Testing switch mode to jaeger', () => {
cy.contains('0%').should('exist');
cy.contains('8').should('exist');
cy.contains('Service and Operation Name').should('exist');
cy.contains('Average latency (ms)').should('exist');
cy.contains('Average duration (ms)').should('exist');
cy.contains('Error rate').should('exist');
cy.contains('Traces').should('exist');
});
Expand Down
24 changes: 12 additions & 12 deletions .cypress/integration/5_trace_analytics_services.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@

/// <reference types="cypress" />

import { delay, SERVICE_NAME, SERVICE_SPAN_ID, setTimeFilter, verify_traces_spans_data_grid_cols_exists, count_table_row } from '../utils/constants';
import { delay, SERVICE_NAME, SERVICE_SPAN_ID, setTimeFilter, verify_traces_spans_data_grid_cols_exists, count_table_row, AUTH_SERVICE_SPAN_ID } from '../utils/constants';
import { suppressResizeObserverIssue } from '../utils/constants';

suppressResizeObserverIssue();//needs to be in file once

describe('Testing services table empty state', () => {
beforeEach(() => {
Expand Down Expand Up @@ -49,9 +52,9 @@ describe('Testing services table', () => {
it('Verify columns in Services table', () => {
cy.get('.euiFlexItem.euiFlexItem--flexGrow10 .panel-title').contains('Services').should('exist');
cy.get('.euiTableCellContent__text[title="Name"]').should('exist');
cy.get('.euiTableCellContent__text[title="Average latency (ms)"]').should('exist');
cy.get('.euiTableCellContent__text[title="Average duration (ms)"]').should('exist');
cy.get('.euiTableCellContent__text[title="Error rate"]').should('exist');
cy.get('.euiTableCellContent__text[title="Throughput"]').should('exist');
cy.get('.euiTableCellContent__text[title="Request rate"]').should('exist');
cy.get('.euiTableCellContent__text[title="No. of connected services"]').should('exist');
cy.get('.euiTableCellContent__text[title="Connected services"]').should('exist');
cy.get('.euiTableCellContent__text[title="Traces"]').should('exist');
Expand Down Expand Up @@ -110,9 +113,7 @@ describe('Testing service view', () => {
cy.get('.euiBreadcrumb').contains(SERVICE_NAME).click();
cy.get('h2.euiTitle').contains(SERVICE_NAME).should('exist');
cy.get('.euiBreadcrumb').contains('Services').click();
cy.get('.euiTitle').contains('Services').should('exist');
cy.get('.euiBreadcrumb').contains('Trace analytics').click();
cy.get('.euiTitle').contains('Dashboard').should('exist');
cy.get('.euiBreadcrumb').contains('Observability').click();
cy.get('.euiTitle').contains('Logs').should('exist');
});
Expand Down Expand Up @@ -143,10 +144,10 @@ describe('Testing Service map', () => {
it('Render Service map', () => {
cy.get('.euiText.euiText--medium .panel-title').contains('Service map');
cy.get('[data-test-subj="latency"]').should('exist');
cy.get('.ytitle').contains('Latency (ms)');
cy.get('[data-text = "Error rate"]').click();
cy.get('.ytitle').contains('Average duration (ms)');
cy.get('[data-text = "Errors"]').click();
cy.contains('60%');
cy.get('[data-text = "Throughput"]').click();
cy.get('[data-text = "Duration"]').click();
cy.contains('100');
cy.get('.euiText.euiText--medium').contains('Focus on').should('exist');
cy.get('[placeholder="Service name"]').focus().type('database{enter}');
Expand Down Expand Up @@ -238,7 +239,7 @@ describe('Testing traces Spans table and verify columns functionality', () => {
it('Renders the spans table and click on first span to verify details', () => {
cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
verify_traces_spans_data_grid_cols_exists();
cy.get('.euiLink--primary').eq(4).click();
cy.contains(AUTH_SERVICE_SPAN_ID).click();
cy.get('[data-test-subj="spanDetailFlyout"] .euiTitle.euiTitle--medium').contains('Span detail').should('exist');
cy.get('.euiFlyoutBody .panel-title').contains('Overview').should('exist');
cy.get('.euiTextColor.euiTextColor--subdued').contains('Span ID').should('exist');
Expand Down Expand Up @@ -284,16 +285,15 @@ describe('Testing switch mode to jaeger', () => {
cy.contains('310.29').should('exist');
cy.contains('0%').should('exist');
cy.contains('Name').should('exist');
cy.contains('Average latency (ms)').should('exist');
cy.contains('Average duration (ms)').should('exist');
cy.contains('Error rate').should('exist');
cy.contains('Throughput').should('exist');
cy.contains('Request rate').should('exist');
cy.contains('Traces').should('exist');
});

it('Verifies traces links to traces page with filter applied', () => {
cy.get('.euiTableRow').should('have.length.lessThan', 7);//Replaces Wait
cy.get('.euiLink').contains('7').click();
cy.get('h2.euiTitle').contains('Traces').should('exist');
cy.contains(' (7)').should('exist');
cy.get("[data-test-subj='filterBadge']").eq(0).contains('process.serviceName: customer')
})
Expand Down
4 changes: 1 addition & 3 deletions .cypress/integration/6_trace_analytics_traces.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ describe('Testing trace view', () => {
cy.get(`.euiBreadcrumb[href="#/traces/${TRACE_ID}"]`).click();
cy.get('h2.euiTitle').contains(TRACE_ID).should('exist');
cy.get('.euiBreadcrumb[href="#/traces"]').click();
cy.get('.euiTitle').contains('Traces').should('exist');
cy.get('.euiBreadcrumb[href="#/"]').click();
cy.get('.euiTitle').contains('Dashboard').should('exist');
cy.get('.euiBreadcrumb[href="observability-logs#/"]').click();
cy.get('.euiTitle').contains('Logs').should('exist');
});
Expand Down Expand Up @@ -125,7 +123,7 @@ describe('Testing traces table', () => {
it('Renders the traces table and verify Table Column, Pagination and Rows Data ', () => {
cy.get('.euiTableCellContent__text').contains('Trace ID').should('exist');
cy.get('.euiTableCellContent__text').contains('Trace group').should('exist');
cy.get('.euiTableCellContent__text').contains('Latency (ms)').should('exist');
cy.get('.euiTableCellContent__text').contains('Duration (ms)').should('exist');
cy.get('.euiTableCellContent__text').contains('Percentile in trace group').should('exist');
cy.get('.euiTableCellContent__text').contains('Errors').should('exist');
cy.get('.euiTableCellContent__text').contains('Last updated').should('exist');
Expand Down
Loading