smoke-test centroids + graph overlay layer (#1189)

* add test labels

* prettier + add clcik return to clickOn()

* prettier + begin test

* finish label counting test

* add util to get coordinates of element

* add test id to labels

* add test to check overlay transform

* remove logs

* rename to match master
This commit is contained in:
Severiano Badajoz
2020-03-09 17:01:22 -07:00
committed by GitHub
parent 144b19c449
commit 023a73cab8
4 changed files with 69 additions and 8 deletions
+2
View File
@@ -366,6 +366,8 @@ class MenuBar extends React.Component {
disabled={graphInteractionMode === "zoom"}
>
<Button
type="button"
data-testid="centroid-label-toggle"
icon="property"
onClick={this.handleCentroidChange}
active={showCentroidLabels}