Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 27, 2023
1 parent f13e064 commit f8349ff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ui-tests/tests/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,16 @@ test('should add new dataset', async ({ page }) => {

await page.getByText('Add Data').click();

await (await page.waitForSelector('text="Load Data Files Into Glue Session"')).click();
await (
await page.waitForSelector('text="Load Data Files Into Glue Session"')
).click();
expect(await page.screenshot()).toMatchSnapshot('add-data-file-browser.png');

Check failure on line 105 in ui-tests/tests/test.spec.ts

View workflow job for this annotation

GitHub Actions / Integration tests

tests/test.spec.ts:93:5 › should add new dataset

1) tests/test.spec.ts:93:5 › should add new dataset ────────────────────────────────────────────── Error: Screenshot comparison failed: 45591 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/gluepyter/gluepyter/ui-tests/test-results/tests-test-should-add-new-dataset/add-data-file-browser-expected.png Received: /home/runner/work/gluepyter/gluepyter/ui-tests/test-results/tests-test-should-add-new-dataset/add-data-file-browser-actual.png Diff: /home/runner/work/gluepyter/gluepyter/ui-tests/test-results/tests-test-should-add-new-dataset/add-data-file-browser-diff.png 103 | await page.waitForSelector('text="Load Data Files Into Glue Session"') 104 | ).click(); > 105 | expect(await page.screenshot()).toMatchSnapshot('add-data-file-browser.png'); | ^ 106 | 107 | await ( 108 | await ( at /home/runner/work/gluepyter/gluepyter/ui-tests/tests/test.spec.ts:105:35

await (await (await page.waitForSelector('div.jp-Dialog-content')).waitForSelector('text="w6_psc.vot"')).click()
await (
await (
await page.waitForSelector('div.jp-Dialog-content')
).waitForSelector('text="w6_psc.vot"')
).click();

await page.waitForSelector('text="w6_psc"');

Expand Down

0 comments on commit f8349ff

Please sign in to comment.