mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 05:01:47 +02:00
tests(e2e): Prepare for visual regression testing
- fix some configuration issues - mask or replace dynamic content from screenshots - explain the behaviour in the e2e README readme
This commit is contained in:
parent
0cac04d3dd
commit
5929b330e4
5 changed files with 68 additions and 23 deletions
|
@ -31,7 +31,7 @@ test('Register Form', async ({page}, workerInfo) => {
|
|||
await expect(page.locator('.secondary-nav span>img.ui.avatar')).toBeVisible();
|
||||
await expect(page.locator('.ui.positive.message.flash-success')).toHaveText('Account was successfully created. Welcome!');
|
||||
|
||||
save_visual(page);
|
||||
await save_visual(page);
|
||||
});
|
||||
|
||||
// eslint-disable-next-line playwright/no-skipped-test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue