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/setup-node@v4
with:
node-version: lts/*
cache: "yarn"
node-version-file: ".node-version"
- name: Install dependencies
run: npm install -g yarn && yarn
run: yarn install --frozen-lockfile
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- 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,
clicking..
clicking.
##### Investigate a failed test from the CI

View File

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