fix(e2e): use empty user for overflow menu test (#11337)
Potentially fixes one of the E2E failures that started to occur lately where the last tab (Starred repos) can overflow on user2's profile on CI. Replaced the user by the one that has no counters on the tabs. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11337 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Reviewed-by: Otto <otto@codeberg.org> Co-authored-by: 0ko <0ko@noreply.codeberg.org> Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
@@ -50,7 +50,7 @@ test.describe('desktop viewport, unauthenticated', () => {
|
||||
test.use({viewport: {width: 1920, height: 300}});
|
||||
|
||||
test('User overview overflow menu should not be influenced', async ({page}) => {
|
||||
await page.goto('/user2');
|
||||
await page.goto('/user8');
|
||||
|
||||
await expect(page.locator('.overflow-menu-items>#settings-btn')).toHaveCount(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user