Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing noci tests #7346

Open
12 tasks
marthacryan opened this issue Jan 24, 2025 · 0 comments
Open
12 tasks

Fix failing noci tests #7346

marthacryan opened this issue Jan 24, 2025 · 0 comments
Labels
P2 considered for next cycle testing automated tests

Comments

@marthacryan
Copy link
Collaborator

marthacryan commented Jan 24, 2025

Follow-up to #7343, these are the tests that are currently failing on the CI run that tests the "noci" tests. It's unclear when each of these tests started failing.

  • mapbox (being deprecated, so this isn't a high priority):
    • should respond drag / scroll / double-click interactions
    • should respect scrollZoom config option
  • redraw <chart type> with no changes is not a noop (svg mocks) #7347
  • should be able to restyle radial axis title
  • sankey tests:
    • should position hover labels correctly
    • should not output hover/unhover event data when node.hoverinfo is skip
  • should work for <chart type> traces, hasCssTransform: false
  • Splom
    • should clear graph and replot when canvas and WebGL context dimensions do not match
    • should behave correctly during select->dblclick->pan scenarios
Test Failure Logs
1) @noCI @gl should respond drag / scroll / double-click interactions
     mapbox plots
     Error: Expected 2 to be 3, 'relayout cnt'.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/mapbox_test.js:1380:33 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:856980:29
     Error: Expected 1 to be close to 10, -1, 'relayouting cnt'.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/mapbox_test.js:1381:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:856981:32

2) @noCI @gl should respect scrollZoom config option
     mapbox plots
     Error: Expected 0 to be 1, 'scroll relayout cnt'.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/mapbox_test.js:1437:33 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:857026:29
     Error: Expected 1.2345714569517612 to be greater than 1.2345714569517612.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/mapbox_test.js:1440:29 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:857028:25
     Error: Expected 0 to be 1, 'scroll relayout cnt'.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/mapbox_test.js:1457:33 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:857040:29

3) can redraw "sankey_energy" with no changes as a noop (svg mocks)
     @noCIdep Plotly.react
     Error: Expected spy layoutStyles to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:72:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861709:33
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:71:23 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861708:21)
     Error: Expected 1 to be 0, 'Plotly.newPlot calls'.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:81:27 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861715:25)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9
     Error: Expected spy draw to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:87:38 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861719:34)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9
     Error: Expected spy draw to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:89:33 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861721:29)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9

4) can redraw "sunburst_coffee" with no changes as a noop (svg mocks)
     @noCIdep Plotly.react
     Error: Expected spy layoutStyles to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:72:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861709:33
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:71:23 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861708:21)
     Error: Expected 1 to be 0, 'Plotly.newPlot calls'.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:81:27 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861715:25)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9
     Error: Expected spy draw to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:87:38 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861719:34)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9
     Error: Expected spy draw to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:89:33 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861721:29)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9

5) can redraw "treemap_coffee" with no changes as a noop (svg mocks)
     @noCIdep Plotly.react
     Error: Expected spy layoutStyles to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:72:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861709:33
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:71:23 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861708:21)
     Error: Expected 1 to be 0, 'Plotly.newPlot calls'.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:81:27 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861715:25)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9
     Error: Expected spy draw to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:87:38 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861719:34)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9
     Error: Expected spy draw to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:89:33 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861721:29)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9

6) can redraw "icicle_coffee" with no changes as a noop (svg mocks)
     @noCIdep Plotly.react
     Error: Expected spy layoutStyles to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:72:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861709:33
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:71:23 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861708:21)
     Error: Expected 1 to be 0, 'Plotly.newPlot calls'.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:81:27 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861715:25)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9
     Error: Expected spy draw to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:87:38 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861719:34)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9
     Error: Expected spy draw to have been called 0 times. It was called 1 times.
    at <Jasmine>
    at countCalls (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:89:33 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:861721:29)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/plot_api_react_test.js:697:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:862152:9

7) @noCI should be able to restyle radial axis title
     Test relayout on polar subplots:
     Failed: Cannot read properties of null (reading 'textContent')
    at <Jasmine>
    at d3_selectionPrototype.text (/home/runner/work/plotly.js/plotly.js/node_modules/@plotly/d3/d3.js:788:20 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:4940:27)
    at assertTitle (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/polar_test.js:463:28 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:871412:22)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/polar_test.js:488:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:871432:9

8) @noCI should position hover labels correctly
     sankey tests Test hover/click interactions:
     Error: Expected 557.7522583007812 to be close to 279, -1.5.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/sankey_test.js:819:31 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:879038:25
     Error: Expected 196.2240[9057](https://github.com/plotly/plotly.js/actions/runs/12957552221/job/36146149818?pr=7343#step:10:9058)617188 to be close to 500, -1.5.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/sankey_test.js:820:31 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:879039:25

9) @noCI should not output hover/unhover event data when node.hoverinfo is skip
     sankey tests Test hover/click event data:
     Error: Expected Object({ event: [object MouseEvent], points: [ Object({ pointNumber: 62, label: '', color: 'rgba(0,0,96,0.2)', hovercolor: 'rgba(0, 0, 96, 0.4)', customdata: undefined, concentrationscale: null, source: Object({ group: false, childrenNodes: [  ], pointNumber: 26, label: 'Thermal generation', color: 'rgba(227, 119, 194, 0.8)', customdata: undefined, index: 26, sourceLinks: [ Object({ pointNumber: 63, label: '', color: 'rgba(0,0,96,0.2)', hovercolor: 'rgba(0, 0, 96, 0.4)', customdata: undefined, concentrationscale: null, source: <circular reference: Object>, target: Object({ group: false, childrenNodes: [  ], pointNumber: 3, label: 'Losses', color: 'rgba(214, 39, 40, 0.8)', customdata: undefined, index: 3, sourceLinks: [  ], targetLinks: [ <circular reference: Object>, Object, Object, Object, Object ], value: 878.325, depth: 6, height: 0, x0: 864, x1: 879, y0: 90.93315754043809, y1: 185.5223781642632, originalX: 871.5, originalY: 138.22776785235064, originalLayerIndex: 7, originalLayer:  ... to be undefined.
    at <Jasmine>
    at failTest16 (/home/runner/work/plotly.js/plotly.js/test/jasmine/assets/fail_test.js:24:23 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:266268:25)

10) @noCI should work for waterfall traces, hasCssTransform: false
     Test select box and lasso per trace:
     Error: Expected 2 to be 4, '(call #0) selected points length'.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1929:32 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886200:28
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2783:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887008:15
     Error: Expected 5,6 to be close to 5,6,7,8 (call #0) selectedpoints array for trace 0
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1961:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886225:28
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1956:21 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886221:17
     Error: Expected 288.8086642599278,57.76173285198556,519.85559566787,404.3321299638989 to be close to 288.8086,57.7617,288.8086,519.8555,404.3321 (call #0) lasso points x coords
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2009:22 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886260:39
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2792:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887017:15
     Error: Expected 4.338709677419355,6.758064516129031,6.758064516129031,5.548387096774193 to be close to 4.3387,6.758,9.1774,6.75806,5.54838 (call #0) lasso points y coords
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2011:22 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886261:39
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2792:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887017:15
     Error: Expected 3 to be 4, 'plotly_selecting call count: waterfall lasso (before dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:137:26 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884717:26)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2056:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886293:9
     Error: Expected 3 to be 4, 'plotly_selecting call count: waterfall lasso (after dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:137:26 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884717:26)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2061:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886296:9

11) @noCI should work for funnel traces, hasCssTransform: false
     Test select box and lasso per trace:
     Error: Expected 2 to be 3, '(call #0) selected points length'.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1929:32 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886200:28
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2844:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887067:15
     Error: Expected 1 to be close to 1,2 (call #0) selectedpoints array for trace 1
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1961:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886225:28
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1956:21 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886221:17
     Error: Expected -147.38537794299876,-1698.810408921933,1404.0396530359355,628.3271375464684 to be close to -161.6974,-1701.6728,-161.6974,1378.2779,608.2902 (call #0) lasso points x coords
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2009:22 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886260:39
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2853:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887076:15
     Error: Expected 1.1129032258064515,1.9193548387096775,1.9193548387096775,1.5161290322580645 to be close to 1.1129,1.9193,2.7258,1.9193,1.5161 (call #0) lasso points y coords
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2011:22 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886261:39
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2853:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887076:15
     Error: Expected 3 to be 4, 'plotly_selecting call count: funnel lasso (before dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:137:26 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884717:26)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2056:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886293:9
     Error: Expected 3 to be 4, 'plotly_selecting call count: funnel lasso (after dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:137:26 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884717:26)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2061:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886296:9
     Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
    at <Jasmine>

12) @noCI should work for funnel traces, hasCssTransform: true
     Test select box and lasso per trace:
     Error: Expected 0 to be 1, 'selection corner count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:72:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884663:67)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 1, 'selection outline count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:74:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884664:66)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 1, 'selection corner count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:72:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884663:67)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 1, 'selection outline count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:74:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884664:66)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 1, 'selection corner count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:72:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884663:67)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 1, 'selection outline count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:74:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884664:66)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 1, 'selection corner count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:72:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884663:67)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 1, 'selection outline count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:74:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884664:66)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 1, 'selection corner count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:72:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884663:67)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 1, 'selection outline count'.
    at <Jasmine>
    at assertSelectionNodes (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:74:10 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884664:66)
    at EventEmitter.<anonymous> (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:95:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884684:9)
    at EventEmitter.emit (/home/runner/work/plotly.js/plotly.js/node_modules/events/events.js:153:5 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:20892:11)
     Error: Expected 0 to be 3, '(call #1) selected points length'.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1929:32 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886200:28
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2868:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887092:15
     Error: Expected  to be close to 2 (call #1) selectedpoints array for trace 0
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1961:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886225:28
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1956:21 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886221:17
     Error: Expected  to be close to 1,2 (call #1) selectedpoints array for trace 1
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1961:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886225:28
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1956:21 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886221:17
     Error: Expected -1310.9541511771995,-923.0978934324659 to be close to -931.6851,608.2902 (call #0) select box range x coords
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1984:22 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886242:34
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2877:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887101:15
     Error: Expected 0.10483870967741936,1.1129032258064515 to be close to 1.1129,2.7258 (call #0) select box range y coords
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1986:22 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886243:34
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2877:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887101:15
     Error: Expected 5 to be 1, 'plotly_selecting call count: funnel select (before dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:137:26 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884717:26)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2056:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886293:9
     Error: Expected 0 to be 3, '(call #0) selected points length'.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1929:32 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886200:28
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2844:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887067:15
     Error: Expected  to be close to 2 (call #0) selectedpoints array for trace 0
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1961:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886225:28
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1956:21 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886221:17
     Error: Expected  to be close to 1,2 (call #0) selectedpoints array for trace 1
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1961:36 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886225:28
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1956:21 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886221:17
     Error: Expected  to be close to -161.6974,-1701.6728,-161.6974,1378.2779,608.2902 (call #0) lasso points x coords
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2009:22 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886260:39
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2853:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887076:15
     Error: Expected  to be close to 1.1129,1.9193,2.7258,1.9193,1.5161 (call #0) lasso points y coords
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2011:22 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886261:39
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2853:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887076:15
     Error: Expected 5 to be 4, 'plotly_selecting call count: funnel lasso (before dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:137:26 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884717:26)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2056:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886293:9
     Error: Expected 2 to be 1, 'plotly_selected call count: funnel lasso (before dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:138:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884718:25)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2056:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886293:9
     Error: Expected 5 to be 1, 'plotly_selecting call count: funnel select (after dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:137:26 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884717:26)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2061:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886296:9
     Error: Expected 4 to be 2, 'plotly_selected call count: funnel select (after dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:138:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884718:25)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2061:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886296:9
     Error: Expected 5 to be 4, 'plotly_selecting call count: funnel lasso (after dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:137:26 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884717:26)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2061:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886296:9
     Error: Expected 4 to be 2, 'plotly_selected call count: funnel lasso (after dblclick)'.
    at <Jasmine>
    at assertEventCounts (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:138:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:884718:25)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2061:17 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886296:9
     Error: Expected -923.0978934324659,628.3271375464684 to be close to -931.6851,608.2902 (call #0) select box range x coords
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:1984:22 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:886242:34
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/select_test.js:2877:25 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:887101:15

13) @noCI @gl should clear graph and replot when canvas and WebGL context dimensions do not match
     Test splom interactions:
     Error: Expected spy cleanPlot to have been called once. It was called 2 times.
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/splom_test.js:960:34 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:889986:30
    at <Jasmine>
    at assertFnCall (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/splom_test.js:959:21 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:889985:17)
     Failed: Cannot read properties of null (reading '_gl')
    at <Jasmine>
    at assertDims (/home/runner/work/plotly.js/plotly.js/test/jasmine/tests/splom_test.js:943:39 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:889971:40)
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/splom_test.js:986:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:890011:9

14) @noCI @gl should behave correctly during select->dblclick->pan scenarios
     Test splom select:
     Failed: <spyOn> : update() method does not exist
Usage: spyOn(<object>, <methodName>)
Error: <spyOn> : update() method does not exist
Usage: spyOn(<object>, <methodName>)
    at <Jasmine>
    at /home/runner/work/plotly.js/plotly.js/test/jasmine/tests/splom_test.js:1730:13 <- /tmp/d6f3279a3a0d7e9ec43aeceaff1f760b-bundle.js:8[9061](https://github.com/plotly/plotly.js/actions/runs/12957552221/job/36146149818?pr=7343#step:10:9062)2:9
@marthacryan marthacryan changed the title Noci tests fail Fix failing noci tests Jan 24, 2025
@gvwilson gvwilson added P2 considered for next cycle testing automated tests labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 considered for next cycle testing automated tests
Projects
None yet
Development

No branches or pull requests

2 participants