MCPcopy Create free account
hub / github.com/Rello/analytics / waitPreview

Function waitPreview

tests/playwright/47_chart_mapping.js:23–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 return chart ? {labels: chart.data.labels, datasets: chart.data.datasets.map(d => ({label: d.label, data: d.data}))} : null;
22 });
23 const waitPreview = () => page.waitForFunction(() => !!Chart.getChart(document.getElementById('chartColumnPreviewCanvas')));
24 const open = async (fixture = {}) => {
25 await page.evaluate(fixture => {
26 OCA.Analytics.Notification.dialogClose();

Callers 2

openFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected