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