⬆️(dependencies) update js dependencies

This commit is contained in:
Anthony LC
2025-04-23 11:43:50 +02:00
parent cdafe6fd33
commit 5268699d50
11 changed files with 2503 additions and 778 deletions

View File

@@ -1,9 +1,9 @@
module.exports = {
root: true,
extends: ["impress/playwright"],
extends: ['impress/playwright'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tsconfig.json"],
project: ['./tsconfig.json'],
},
ignorePatterns: ["node_modules"],
ignorePatterns: ['node_modules'],
};

View File

@@ -78,6 +78,7 @@ export const createDoc = async (
});
const input = page.getByLabel('doc title input');
await expect(input).toBeVisible();
await expect(input).toHaveText('');
await input.click();

View File

@@ -79,11 +79,14 @@ test.describe('Config', () => {
test('it checks that collaboration server is configured from config endpoint', async ({
page,
browserName,
}) => {
await page.goto('/');
void createDoc(page, 'doc-collaboration', browserName, 1);
void page
.getByRole('button', {
name: 'New doc',
})
.click();
const webSocket = await page.waitForEvent('websocket', (webSocket) => {
return webSocket.url().includes('ws://localhost:4444/collaboration/ws/');

View File

@@ -12,9 +12,9 @@
"test:ui::chromium": "yarn test:ui --project=chromium"
},
"devDependencies": {
"@playwright/test": "1.50.1",
"@playwright/test": "1.52.0",
"@types/node": "*",
"@types/pdf-parse": "1.1.4",
"@types/pdf-parse": "1.1.5",
"eslint-config-impress": "*",
"typescript": "*"
},