mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-03-25 04:53:06 -04:00
chore: fix lint-frontend errors
This commit is contained in:
parent
3ff92f0556
commit
52845400a7
1 changed files with 3 additions and 5 deletions
|
|
@ -518,7 +518,7 @@ test('text expander has higher prio then prefix continuation', async ({page}) =>
|
|||
await suggestionList.waitFor();
|
||||
await expect(suggestionList).toBeVisible();
|
||||
await textarea.press('Enter');
|
||||
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 `);
|
||||
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 `);
|
||||
|
||||
// Test pull request completion via '#'
|
||||
await textarea.press('Enter');
|
||||
|
|
@ -527,7 +527,7 @@ test('text expander has higher prio then prefix continuation', async ({page}) =>
|
|||
await expect(suggestionList).toBeVisible();
|
||||
await textarea.press('Enter');
|
||||
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 \n* !5 `);
|
||||
|
||||
|
||||
// Test pull request completion via '!'
|
||||
await textarea.press('Enter');
|
||||
await textarea.pressSequentially('!issue');
|
||||
|
|
@ -537,14 +537,12 @@ test('text expander has higher prio then prefix continuation', async ({page}) =>
|
|||
// Only pull requests should be suggested, not issues
|
||||
await expect(suggestionList.locator('[class*="octicon-issue"]')).toHaveCount(0);
|
||||
await expect(suggestionList.locator('[class*="octicon-git-pull-request"]')).not.toHaveCount(0);
|
||||
|
||||
|
||||
await textarea.press('Enter');
|
||||
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 \n* !5 \n* !2 `);
|
||||
|
||||
await textarea.press('Enter');
|
||||
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 \n* !5 \n* !2 \n* `);
|
||||
|
||||
|
||||
});
|
||||
|
||||
test('Combo Markdown: preview mode switch', async ({page}) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue