mirror of
https://github.com/nasa/openmct.git
synced 2024-12-27 16:38:51 +00:00
7af7e68779
* test: add appActions, stabilize overlayPlot test - Adds `waitForPlotsToRender`, a function that waits for all active `.plot` elements on the page to load and draw their series data - Adds `getCanvasPixels`, a function that takes a canvas selector and retrieves an array of canvas pixel data. - Modifies `getCanvasPixels` to use `page.evaluateHandle()` so that the canvas handle lifetime exists throughout the test (this was causing flakiness before) * test: refactor and stabilize `plotRendering` tests * test: remove redundant test suite * test: stabilize plot legend color swatch test * docs: mention `waitForPlotsToLoad()` in e2e docs * refactor: have getCanvasPixels return actual rgba values * docs: fix typo * test: use appAction and fix reload wait condition * docs: add additional context for `waitForPlotsToRender()` * refactor: one-liner * docs: tidy up docs |
||
---|---|---|
.. | ||
autoscale.e2e.spec.js-snapshots | ||
autoscale.e2e.spec.js | ||
logPlot.e2e.spec.js | ||
missingPlotObj.e2e.spec.js | ||
overlayPlot.e2e.spec.js | ||
plotRendering.e2e.spec.js | ||
scatterPlot.e2e.spec.js | ||
stackedPlot.e2e.spec.js | ||
tagging.e2e.spec.js |