Merge branch '8655-scrollUpButton' of https://gitea.verdnatura.es/verdnatura/salix-front into 8655-scrollUpButton
gitea/salix-front/pipeline/pr-dev Build queued... Details

This commit is contained in:
Pau Rovira 2025-03-20 07:34:10 +01:00
commit 8995d7d454
3 changed files with 14 additions and 2 deletions

View File

@ -32,6 +32,18 @@ pnpm run test:front
pnpm run test:e2e
```
### Run e2e parallel
```bash
pnpm run test:e2e:parallel
```
### View e2e parallel report
```bash
pnpm run test:e2e:summary
```
### Build the app for production
```bash

View File

@ -13,7 +13,7 @@
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore",
"test:e2e": "cypress open",
"test:e2e:ci": "npm run resetDatabase && cd ../salix-front && cypress run",
"test:e2e:parallel": "bash ./test/cypress/cypressParallel.sh",
"test:e2e:parallel": "bash ./test/cypress/run.sh",
"test:e2e:summary": "bash ./test/cypress/summary.sh",
"test": "echo \"See package.json => scripts for available tests.\" && exit 0",
"test:front": "vitest",

View File

@ -23,7 +23,7 @@ describe('TicketSale', () => {
cy.get('[data-col-field="price"]')
.find('.q-btn > .q-btn__content')
.should('have.text', `${price}`);
.should('contain.text', `${price}`);
});
it('update discount', () => {
const discount = Math.floor(Math.random() * 100) + 1;