mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Convert packages/jaeger-ui-components/src/TraceTimelineViewer/SpanBar.test.js to RTL (#49107)
* convert SpanBar tests to RTL and add testing-library/react dependency * Update packages/jaeger-ui-components/src/TraceTimelineViewer/SpanBar.test.js Co-authored-by: Ashley Harrison <ashharrison90@gmail.com> * Update packages/jaeger-ui-components/src/TraceTimelineViewer/SpanBar.test.js Co-authored-by: Ashley Harrison <ashharrison90@gmail.com> * fix * use e2e selector everywhere Co-authored-by: Ashley Harrison <ashharrison90@gmail.com> Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
committed by
GitHub
parent
523b9ec44f
commit
6b4353f890
@@ -265,7 +265,7 @@ export const Components = {
|
||||
placeholder: 'Choose starting day of the week',
|
||||
},
|
||||
TraceViewer: {
|
||||
spanBar: () => '[data-test-id="SpanBar--wrapper"]',
|
||||
spanBar: 'data-testid SpanBar--wrapper',
|
||||
},
|
||||
QueryField: { container: 'Query field' },
|
||||
ValuePicker: {
|
||||
|
||||
Reference in New Issue
Block a user