mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 22:20:35 +00:00
tests(e2e): Test overflow in commit graph
This commit is contained in:
parent
0ccefbebfc
commit
61314f05fc
|
@ -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