mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 17:38:33 +00:00
fix(ui): release: set default release title to tag name (#6883)
This fixes a regression bug introduced in the new feature added by #6645 Currently the validation will fail if you keep the default added release title. The test was changed to fail without the fix. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6883 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: Beowulf <beowulf@beocode.eu> Co-committed-by: Beowulf <beowulf@beocode.eu>
This commit is contained in:
parent
de3e6f8a72
commit
b88baac7e3
2 changed files with 6 additions and 3 deletions
|
@ -30,8 +30,7 @@ test('External Release Attachments', async ({page, isMobile}) => {
|
|||
await validate_form({page}, 'fieldset');
|
||||
const textarea = page.locator('input[name=tag_name]');
|
||||
await textarea.pressSequentially('2.0');
|
||||
await expect(page.locator('input[name=title]')).toHaveAttribute('placeholder', '2.0');
|
||||
await page.fill('input[name=title]', '2.0');
|
||||
await expect(page.locator('input[name=title]')).toHaveValue('2.0');
|
||||
await page.click('#add-external-link');
|
||||
await page.click('#add-external-link');
|
||||
await page.fill('input[name=attachment-new-name-2]', 'Test');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue