Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,21 @@ jobs:
run: pnpm cypress install

# use the Cypress GitHub Action to run Cypress Component tests within the chrome browser
- name: Cypress run components
uses: cypress-io/github-action@v6
with:
install: false
component: true
browser: chrome
quiet: true
config-file: cypress.config.ts
env:
VITE_PORT: ${{ vars.VITE_PORT }}
VITE_VERSION: ${{ vars.VITE_VERSION }}
VITE_GRAASP_API_HOST: ${{ vars.VITE_GRAASP_API_HOST }}
VITE_GRAASP_LIBRARY_HOST: ${{ vars.VITE_GRAASP_LIBRARY_HOST }}
VITE_SHOW_NOTIFICATIONS: ${{ vars.VITE_SHOW_NOTIFICATIONS }}
VITE_GRAASP_REDIRECTION_HOST: ${{ vars.VITE_GRAASP_REDIRECTION_HOST }}
# - name: Cypress run components
# uses: cypress-io/github-action@v6
# with:
# install: false
# component: true
# browser: chrome
# quiet: true
# config-file: cypress.config.ts
# env:
# VITE_PORT: ${{ vars.VITE_PORT }}
# VITE_VERSION: ${{ vars.VITE_VERSION }}
# VITE_GRAASP_API_HOST: ${{ vars.VITE_GRAASP_API_HOST }}
# VITE_GRAASP_LIBRARY_HOST: ${{ vars.VITE_GRAASP_LIBRARY_HOST }}
# VITE_SHOW_NOTIFICATIONS: ${{ vars.VITE_SHOW_NOTIFICATIONS }}
# VITE_GRAASP_REDIRECTION_HOST: ${{ vars.VITE_GRAASP_REDIRECTION_HOST }}

# use the Cypress GitHub Action to run Cypress tests within the chrome browser
- name: Cypress
Expand Down
14 changes: 7 additions & 7 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ export default defineConfig({
requestTimeout: 8000,
numTestsKeptInMemory: 25,
},
component: {
devServer: {
framework: 'react',
bundler: 'vite',
},
env: ENV,
},
// component: {
// devServer: {
// framework: 'react',
// bundler: 'vite',
// },
// env: ENV,
// },
experimentalMemoryManagement: true,
});
49 changes: 24 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"@mui/material": "7.3.8",
"@sentry/react": "9.47.1",
"@tanstack/react-query": "5.90.21",
"@tanstack/react-router": "1.136.8",
"@tanstack/router-devtools": "1.136.8",
"@tanstack/zod-adapter": "1.136.8",
"@tanstack/react-router": "1.166.7",
"@tanstack/router-devtools": "1.166.7",
"@tanstack/zod-adapter": "1.166.7",
"axios": "1.13.6",
"date-fns": "4.1.0",
"http-status-codes": "2.3.0",
Expand Down Expand Up @@ -73,14 +73,13 @@
"react-leaflet-cluster": "2.1.0",
"react-markdown": "9.0.3",
"react-mentions": "4.4.10",
"react-qr-code": "2.0.15",
"react-qr-code": "2.0.18",
"react-quill-new": "3.3.3",
"react-rnd": "10.4.14",
"react-toastify": "11.0.3",
"recharts": "2.15.1",
"remark-breaks": "4.0.0",
"remark-gfm": "4.0.1",
"social-links": "1.15.0",
"stylis": "4.3.6",
"use-supercluster": "1.2.0",
"uuid": "11.1.0",
Expand Down Expand Up @@ -137,14 +136,14 @@
"@eslint/eslintrc": "3.3.4",
"@eslint/js": "9.36.0",
"@hey-api/openapi-ts": "0.84.4",
"@storybook/addon-a11y": "9.1.19",
"@storybook/addon-docs": "9.1.19",
"@storybook/addon-links": "9.1.19",
"@storybook/addon-vitest": "^9.0.11",
"@storybook/react": "9.1.19",
"@storybook/react-vite": "9.1.19",
"@tanstack/react-query-devtools": "5.90.2",
"@tanstack/router-plugin": "1.136.18",
"@storybook/addon-a11y": "10.2.17",
"@storybook/addon-docs": "10.2.17",
"@storybook/addon-links": "10.2.17",
"@storybook/addon-vitest": "10.2.17",
"@storybook/react": "10.2.17",
"@storybook/react-vite": "10.2.17",
"@tanstack/react-query-devtools": "5.91.3",
"@tanstack/router-plugin": "1.166.7",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
Expand All @@ -167,10 +166,11 @@
"@types/stylis": "4.2.7",
"@typescript-eslint/eslint-plugin": "8.45.0",
"@typescript-eslint/parser": "8.45.0",
"@vitejs/plugin-react": "5.0.4",
"@vitest/browser": "3.2.4",
"@vitest/coverage-v8": "3.2.4",
"@vitest/ui": "3.2.4",
"@vitejs/plugin-react": "6.0.0",
"@vitest/browser": "4.1.0",
"@vitest/browser-playwright": "4.1.0",
"@vitest/coverage-v8": "4.1.0",
"@vitest/ui": "4.1.0",
"concurrently": "9.2.1",
"cypress": "15.6.0",
"env-cmd": "10.1.0",
Expand All @@ -189,17 +189,16 @@
"jose": "5.10.0",
"nock": "13.5.6",
"nyc": "17.1.0",
"oxlint": "1.19.0",
"oxlint": "1.55.0",
"playwright": "1.55.1",
"prettier": "3.6.2",
"storybook": "9.1.19",
"storybook": "10.2.17",
"typescript": "5.9.3",
"vite": "7.1.12",
"vite-plugin-checker": "0.11.0",
"vite-plugin-istanbul": "7.2.1",
"vite-plugin-static-copy": "3.1.6",
"vite-tsconfig-paths": "5.1.4",
"vitest": "3.2.4"
"vite": "8.0.0",
"vite-plugin-checker": "0.12.0",
"vite-plugin-istanbul": "8.0.0",
"vite-plugin-static-copy": "3.2.0",
"vitest": "4.1.0"
},
"volta": {
"node": "22.22.1"
Expand Down
Loading
Loading