test: rename account descriptor test and enable claim notes test
gitea/salix-front/pipeline/pr-master This commit is unstable
Details
gitea/salix-front/pipeline/pr-master This commit is unstable
Details
This commit is contained in:
parent
26f2044097
commit
17b784e4d1
|
@ -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) => {
|
||||
|
|
|
@ -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(() => {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue