Add test ids and classes (#633)

* data test ids and classes

* suggest
This commit is contained in:
Colin Megill
2019-03-07 13:01:41 -08:00
committed by Charlotte Weaver
parent a0f54b4871
commit 8795f0f32c
6 changed files with 24 additions and 3 deletions
+2 -1
View File
@@ -451,6 +451,7 @@ class Graph extends React.Component {
>
<AnchorButton
type="button"
data-testid="subset-button"
disabled={
crossfilter &&
(crossfilter.countFiltered() === 0 ||
@@ -584,7 +585,7 @@ class Graph extends React.Component {
<canvas
width={responsive.width - this.graphPaddingRight}
height={responsive.height - this.graphPaddingTop}
data-testid="layout"
data-testid="layout-graph"
ref={canvas => {
this.reglCanvas = canvas;
}}