ref #6104 recreate vnlog #96
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#96
Loading…
Reference in New Issue
No description provided.
Delete Branch "6104-changeVnLog"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -14,6 +14,10 @@ a {
color: $orange-4;
}
.rounded--full {
Este css no se usa
ref #6104 recreate vnlogto WIP ref #6104 recreate vnlogWIP ref #6104 recreate vnlogto ref #6104 recreate vnlog@ -64,0 +270,4 @@
const from = date.value
? useIso8601(date.value.split('-').reverse().join('-'))
: undefined;
const to = dateTo.value
https://quasar.dev/quasar-utils/date-utils
En el menú de filtros se muestra la fecha en formato español, por lo que si hago un casteo directo confunde el día con el mes y al revés. Tengo que hacerlo así:
@ -0,0 +1,18 @@
export function useIso8601(dateString) {
https://quasar.dev/quasar-utils/date-utils
@ -8,17 +8,17 @@ describe('WorkerList', () => {
it('should load workers', () => {
Mira si pots simplificar els e2e gastant comandos de cypress test/cypress/support/commands.js
Exemple: test/cypress/integration/claimDevelopment.spec.js
@ -14,3 +14,3 @@
},
});
axios.defaults.baseURL = 'http://localhost:9000/api/';
No crec que en test de front el front dega fer peticions al back.
Deuries poder tirar els test de front sense tindre arrancat res
@ -83,11 +83,10 @@ const value = computed({
@filter="filterHandler"
hide-selected
fill-input
clearable
Vaig canviar el component
@ -0,0 +7,4 @@
});
it('should filter by insert actions', () => {
cy.get('.q-checkbox__inner').eq(0).click();
Mira si pots gastar les funcions (commands.js) de cypress o si et fa falta alguno creartelo
@ -52,3 +124,1 @@
if (value === undefined) {
return t('Nothing');
}
const filteredWorkers = ref([]);
Esta variable la definixes pero no la gastes mai
@ -85,9 +85,6 @@ const value = computed({
fill-input
ref="vnSelectRef"
>
<template #append>
Fica estes 3 linees perfa o posameles en claimDevelopment
@ -0,0 +1,25 @@
/// <reference types="cypress" />
Los he probado y fallan
A mi me funcionan, mirémoslo en mi ordenador a ver @alexm
Lo miramos en mi ordenador y si que funcionaba
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
@ -10,3 +10,3 @@
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore",
"test:e2e": "cypress open",
"test:e2e:ci": "cd ../salix && gulp docker && cd ../salix-front && cypress run --browser chromium",
"test:e2e:ci": "cypress run --browser chrome",
como mucho quita lo del browser i que use electron que es el de por defecto, pero gulp si q esta bien que lo haga
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings