mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-14 02:11:37 +02:00
Apply suggestion from @silverwind
Signed-off-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
dbe3328e6a
commit
a9a2e6085f
@ -19,8 +19,6 @@ test('add collaborator search', async ({page, request}) => {
|
|||||||
await expect(result).toContainText(userName);
|
await expect(result).toContainText(userName);
|
||||||
await result.click();
|
await result.click();
|
||||||
await expect(input).toHaveValue(userName);
|
await expect(input).toHaveValue(userName);
|
||||||
|
|
||||||
// submit and confirm the chosen user lands in the collaborator list
|
|
||||||
await page.getByRole('button', {name: 'Add Collaborator'}).click();
|
await page.getByRole('button', {name: 'Add Collaborator'}).click();
|
||||||
await expect(page.locator('body')).toContainText(userName);
|
await expect(page.locator('body')).toContainText(userName);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user