mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 01:24:04 +01:00
Add Playwright test
This commit is contained in:
parent
ad7df0f70a
commit
3cd36c4b21
1 changed files with 8 additions and 0 deletions
8
tests/e2e/repo-activity-contributors.test.e2e.ts
Normal file
8
tests/e2e/repo-activity-contributors.test.e2e.ts
Normal 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);
|
||||
});
|
Loading…
Reference in a new issue