1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00

tests(e2e): Test overflow in commit graph

This commit is contained in:
Otto Richter 2024-09-17 17:11:18 +02:00
parent 0ccefbebfc
commit 61314f05fc

View file

@ -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});
});