1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 12:44:49 -05:00

Add Playwright test

This commit is contained in:
Antonin Delpeuch 2024-12-15 22:34:13 +01:00
parent ad7df0f70a
commit 3cd36c4b21

View file

@ -0,0 +1,8 @@
import {expect} from '@playwright/test';
import {test} from './utils_e2e.ts';
test('Contributor graph', async ({page}) => {
await page.goto('/user2/commits_search_test/activity/contributors');
await page.getByRole('link', {name: '2 Commits'}).click();
await expect(page.getByRole('cell', {name: 'Bob'})).toHaveCount(2);
});