fix: refs #8347 remove skip, fix unpaid
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
bf4faa88a1
commit
c77a462cb6
|
@ -50,7 +50,8 @@ const filterClientFindOne = {
|
|||
>
|
||||
<template #form="{ data }">
|
||||
<VnRow>
|
||||
<QCheckbox :label="t('Unpaid client')" v-model="data.unpaid" />
|
||||
<QCheckbox :label="t('Unpaid client')" v-model="data.unpaid"
|
||||
data-cy="UnpaidCheckBox" />
|
||||
</VnRow>
|
||||
|
||||
<VnRow class="row q-gutter-md q-mb-md" v-show="data.unpaid">
|
||||
|
|
|
@ -15,7 +15,7 @@ describe('Client list', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it.skip('Client list create new client', () => {
|
||||
it('Client list create new client', () => {
|
||||
cy.addBtnClick();
|
||||
const randomInt = Math.floor(Math.random() * 90) + 10;
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/// <reference types="cypress" />
|
||||
describe('Client unpaid', () => {
|
||||
const UnpaidCheckBox = '[data-cy="UnpaidCheckBox"]';
|
||||
beforeEach(() => {
|
||||
cy.viewport(1280, 720);
|
||||
cy.login('developer');
|
||||
|
@ -7,7 +8,7 @@ describe('Client unpaid', () => {
|
|||
it('Should add unpaid', () => {
|
||||
cy.visit('#/customer/1102/others/unpaid');
|
||||
cy.get('.q-card').should('be.visible');
|
||||
cy.get('.q-checkbox__inner').click();
|
||||
cy.get(UnpaidCheckBox).click();
|
||||
cy.dataCy('customerUnpaidAmount').find('input').type('100');
|
||||
cy.dataCy('customerUnpaidDate').find('input').type('01/01/2001');
|
||||
cy.get('.q-btn-group > .q-btn--standard').click();
|
||||
|
|
Loading…
Reference in New Issue