We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 968b13c commit dfe3e45Copy full SHA for dfe3e45
test/regressions/index.test.ts
@@ -196,15 +196,14 @@ async function main() {
196
});
197
198
it('should export a chart as PNG', async function test() {
199
- this.timeout(20000);
200
const route = '/docs-charts-export/ExportChartAsImage';
201
const screenshotPath = path.resolve(screenshotDir, `.${route}PNG.png`);
202
await fse.ensureDir(path.dirname(screenshotPath));
203
204
await navigateToTest(route);
205
206
const downloadPromise = page.waitForEvent('download');
207
- await page.getByRole('button', { name: 'Print' }).click();
+ await page.getByRole('button', { name: 'Export Image' }).click();
208
209
const download = await downloadPromise;
210
0 commit comments