mirror of
1
Fork 0

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
1 changed files with 7 additions and 0 deletions

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