code review

This commit is contained in:
Valere
2025-03-14 14:50:47 +01:00
parent 9dc515f45d
commit b9700b9986
3 changed files with 11 additions and 11 deletions

View File

@@ -11,9 +11,10 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: lts/* cache: "yarn"
node-version-file: ".node-version"
- name: Install dependencies - name: Install dependencies
run: npm install -g yarn && yarn run: yarn install --frozen-lockfile
- name: Install Playwright Browsers - name: Install Playwright Browsers
run: yarn playwright install --with-deps run: yarn playwright install --with-deps
- name: Run backend components - name: Run backend components

View File

@@ -226,7 +226,7 @@ npx playwright codegen
``` ```
This will record your action and write the test code for you. Use the tool bar to test visibility, text content, This will record your action and write the test code for you. Use the tool bar to test visibility, text content,
clicking.. clicking.
##### Investigate a failed test from the CI ##### Investigate a failed test from the CI

View File

@@ -1,12 +1,11 @@
import { defineConfig, devices } from "@playwright/test"; /*
Copyright 2025 New Vector Ltd.
/** SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
* Read environment variables from file. Please see LICENSE in the repository root for full details.
* https://github.com/motdotla/dotenv */
*/
// import dotenv from 'dotenv'; import { defineConfig, devices } from "@playwright/test";
// import path from 'path';
// dotenv.config({ path: path.resolve(__dirname, '.env') });
/** /**
* See https://playwright.dev/docs/test-configuration. * See https://playwright.dev/docs/test-configuration.