Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00

Fix for frontend linter issues

This commit is contained in:
Nirmal Kumar R 2024-11-19 17:22:33 +05:30
parent f7d217b695
commit 4b7354a1af

View file

@ -21,9 +21,9 @@ test('Markdown image preview behaviour', async ({browser}, workerInfo) => {
await page.locator('[data-tooltip-content="Edit file"]').click(); await page.locator('[data-tooltip-content="Edit file"]').click();
const editor = page.getByRole("presentation").nth(0); const editor = page.getByRole('presentation').nth(0);
await editor.click(); await editor.click();
await page.keyboard.press("ControlOrMeta+KeyA"); await page.keyboard.press('ControlOrMeta+KeyA');
await page.keyboard.type('![Logo of Forgejo](./assets/logo.svg "Logo of Forgejo")'); await page.keyboard.type('![Logo of Forgejo](./assets/logo.svg "Logo of Forgejo")');
await page.locator('a[data-tab="preview"]').click(); await page.locator('a[data-tab="preview"]').click();