mirror of
https://github.com/apache/superset.git
synced 2026-06-04 15:19:25 +00:00
chore(cypress): Make the e2e tests more behavior-driven (#13784)
* chore(cypress): make the load dashboard test behavior driven * remove bootstrap usage from controls test, + new utils * fix save test to not use bootstrap dat * remove bootstrap usage from the filter test * fix race condition * remove bootstrap from url params test * fix lint * remove unused const * add chart specs for the tab test * attempt removing bootstrap data from tabs tests * fix cypress async/sync confusion * remove redundant assertions * attempt fixing tab test * attempt fixing tabs test * cleanup commented code * better aliases so you can tell what they are in the logs * remove unused imports * get the line chart alias before clicking the tab * simplify getChartGridComponent * wait for all the charts before force refresh * fix tabs test * one more time with the tabs test * another edit to tabs test * fix flaky test Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
This commit is contained in:
committed by
GitHub
parent
5ae91e2dd8
commit
a45a5e1060
@@ -288,7 +288,13 @@ export default class Chart extends React.Component {
|
||||
})
|
||||
: {};
|
||||
return (
|
||||
<div className="chart-slice">
|
||||
<div
|
||||
className="chart-slice"
|
||||
data-test="chart-grid-component"
|
||||
data-test-chart-id={id}
|
||||
data-test-viz-type={slice.viz_type}
|
||||
data-test-chart-name={slice.slice_name}
|
||||
>
|
||||
<SliceHeader
|
||||
innerRef={this.setHeaderRef}
|
||||
slice={slice}
|
||||
|
||||
Reference in New Issue
Block a user