diff --git a/mock-interactions.js b/mock-interactions.js index 323b240..324390e 100644 --- a/mock-interactions.js +++ b/mock-interactions.js @@ -84,6 +84,9 @@ } function tap(node) { + // Respect nodes that are disabled in the UI. + if (window.getComputedStyle(node)['pointer-events'] === 'none') + return; var xy = middleOfNode(node); down(node, xy); up(node, xy);