mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03:00
tests(e2e): Test overflow in commit graph
This commit is contained in:
parent
0ccefbebfc
commit
61314f05fc
1 changed files with 7 additions and 0 deletions
|
@ -77,3 +77,10 @@ test('Readable diff', async ({page}, workerInfo) => {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
test('Commit graph overflow', async ({page}) => {
|
||||
await page.goto('/user2/diff-test/graph');
|
||||
await expect(page.getByRole('button', {name: 'Mono'})).toBeInViewport({ratio: 1});
|
||||
await expect(page.getByRole('button', {name: 'Color'})).toBeInViewport({ratio: 1});
|
||||
await expect(page.locator('.selection.search.dropdown')).toBeInViewport({ratio: 1});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue