Smoke tests (#604)

smoke tests
This commit is contained in:
Charlotte Weaver
2019-02-27 15:46:58 -08:00
committed by GitHub
parent 6b33315cbe
commit 2bae696986
11 changed files with 555 additions and 10 deletions
@@ -237,6 +237,7 @@ class HistogramBrush extends React.Component {
d3.select(svgRef)
.append("g")
.attr("class", "brush")
.attr("data-testid", `${svgRef.id}-brush`)
.call(
d3
.brushX()
@@ -281,6 +282,8 @@ class HistogramBrush extends React.Component {
return (
<div
id={`histogram_${field}`}
data-testid={`histogram-${field}`}
data-testclass={isDiffExp ? `histogram-diffexp` : ""}
style={{
padding: globals.leftSidebarSectionPadding,
backgroundColor: zebra ? globals.lightestGrey : "white"