фронтенд, в котором есть наши непубличные ветки
Go to file
2024-07-04 01:25:07 +03:00
.gitea/workflows Merge branch 'feature/e2e-tests' into router-upgrade 2024-07-04 01:25:07 +03:00
.github/workflows ci-lint-fix 2024-06-25 14:31:05 +03:00
api ga-integration 2024-06-26 11:22:05 +03:00
docs goodbye astro, i18n 2023-02-17 10:21:02 +01:00
patches hub 2024-02-16 17:56:56 +03:00
public feed-wip 2024-07-03 20:38:43 +03:00
src Merge branch 'feature/e2e-tests' into router-upgrade 2024-07-04 01:25:07 +03:00
templates mailgun-temaplates 2024-01-05 21:26:15 +03:00
tests Merge branch 'feature/e2e-tests' into router-upgrade 2024-07-04 01:25:07 +03:00
.editorconfig init 2022-09-09 14:53:35 +03:00
.gitignore Merge branch 'feature/e2e-tests' into router-upgrade 2024-07-04 01:25:07 +03:00
.npmrc Merge branch 'editor' of gitlab.com:discoursio/discoursio-webapp into editor 2023-04-26 02:37:29 +00:00
.stylelintignore store layer 2022-09-13 12:30:36 +02:00
.stylelintrc.json biome-fix 2024-02-04 14:55:38 +03:00
app.config.ts home-tops 2024-06-28 10:47:38 +03:00
biome.json home-tops 2024-06-28 10:47:38 +03:00
codegen.yml new-api 2024-03-04 15:32:48 +03:00
deploy.sh vercel-adapt 2024-07-01 16:57:30 +03:00
LICENSE e2e 2024-02-04 16:25:23 +03:00
package-lock.json pkg-bump 2024-06-28 13:35:03 +03:00
package.json Merge branch 'feature/e2e-tests' into router-upgrade 2024-07-04 01:25:07 +03:00
playwright.config.ts Merge branch 'feature/e2e-tests' into router-upgrade 2024-07-04 01:25:07 +03:00
README.md Merge branch 'feature/e2e-tests' into router-upgrade 2024-07-04 01:25:07 +03:00
tsconfig.json tsc-ok 2024-06-25 14:25:20 +03:00

How to start

Use Bun to manage packages.

bun i

Useful commands

run checks

bun run typecheck

fix styles, imports, formatting and autofixable linting errors:

bun run fix

Config of variables

  • All vars are already in place and wroted in
    /src/utils/config.ts
    

End-to-End (E2E) Tests

This directory contains end-to-end tests. These tests are written using Playwright

Structure

  • /tests/*: This directory contains the test files.
  • /playwright.config.ts: This is the configuration file for Playwright.

Getting Started

Follow these steps:

  1. Install dependencies: Run pnpm e2e:install to install the necessary dependencies for running the tests.

  2. Run the tests: After using pnpm e2e:tests.

Additional Information

If workers is no needed use:

  • npx playwright test --project=webkit --workers 4

For more information on how to write tests using Playwright - Playwright documentation.