mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Merge pull request '[gitea] Add links to commit lists in contributors graph page (#32799)' (#6274) from wetneb/forgejo:gitea_contributor_link into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6274 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Reviewed-by: 0ko <0ko@noreply.codeberg.org> Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
commit
66e1975e24
4 changed files with 41 additions and 3 deletions
17
tests/e2e/repo-activity-contributors.test.e2e.ts
Normal file
17
tests/e2e/repo-activity-contributors.test.e2e.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2024 The Forgejo Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
// @watch start
|
||||
// web_src/js/features/contributors.js
|
||||
// web_src/js/components/RepoContributors.vue
|
||||
// templates/repo/*
|
||||
// @watch end
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue