refactor: refs #8602 remove redundant date input test from entryList.spec.js
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
1961750c86
commit
96b4d9c51f
|
@ -50,17 +50,5 @@ describe('EntryList', () => {
|
||||||
expect(badgeDate.getTime()).to.be.lessThan(compareDate.getTime());
|
expect(badgeDate.getTime()).to.be.lessThan(compareDate.getTime());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
cy.dataCy('Date_inputDate').type('01/01/2001');
|
|
||||||
cy.get('td[data-col-field="isConfirmed"]')
|
|
||||||
.should('exist')
|
|
||||||
.each(($isConfirmed) => {
|
|
||||||
const badgeTextValue = $isConfirmed.text().trim();
|
|
||||||
if (badgeTextValue === 'close') {
|
|
||||||
cy.get(
|
|
||||||
`td[data-col-field="landed"][data-row-index="${$isConfirmed.attr('data-row-index')}"] > div .bg-negative`,
|
|
||||||
).should('exist');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue