Skip to content

Commit

Permalink
chore(tests/screenshots): add tests for DownloadManager
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-efremoff committed Jun 24, 2024
1 parent 637dce7 commit 1a349db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ test('Navigation: table - Content', async ({page}) => {
await tablePage(page).replaceTableMeta();

await expect(page).toHaveScreenshot();

await test.step('DownloadManager', async () => {
await page.getByText('Download').click();
await page.click('.table-download-manager__settings :text("Range")', {force: true});
await page.waitForSelector('.table-download-manager__settings :text("Number of rows")');
await page.click('.table-download-manager__settings :text("Custom")', {force: true});
await page.waitForSelector('.table-download-manager__settings .column-selector');

await expect(page).toHaveScreenshot();
});
});

test('Navigation: table - Schema', async ({page}) => {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1a349db

Please sign in to comment.