test: rename account descriptor test and enable claim notes test
gitea/salix-front/pipeline/pr-master This commit is unstable Details

This commit is contained in:
Javier Segarra 2025-03-24 09:46:10 +01:00
parent 26f2044097
commit 17b784e4d1
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
describe('ClaimNotes', () => {
describe('Account descriptor', () => {
const descriptorOptions = '[data-cy="descriptor-more-opts-menu"] > .q-list';
const url = '/#/account/1/summary';
@ -7,6 +7,9 @@ describe('ClaimNotes', () => {
cy.visit(url);
cy.dataCy('descriptor-more-opts').click();
cy.get(descriptorOptions)
.should('exist')
.should('be.visible')
.find('.q-item')
.its('length')
.then((count) => {

View File

@ -1,4 +1,4 @@
describe.skip('ClaimNotes', () => {
describe('ClaimNotes', () => {
const saveBtn = '.q-field__append > .q-btn > .q-btn__content > .q-icon';
const firstNote = '.q-infinite-scroll :nth-child(1) > .q-card__section--vert';
beforeEach(() => {

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;