refactor: refs #8648 update roadmap deletion test to use current element text
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
927bf67ed1
commit
a0a5c4944b
|
@ -64,13 +64,11 @@ describe('RoadMap', () => {
|
|||
|
||||
it('Should delete selected roadmap', () => {
|
||||
cy.get(selectors.id).then(($el) => {
|
||||
const valor = $el.text();
|
||||
|
||||
cy.get(selectors.checkbox).click();
|
||||
cy.get(selectors.deleteBtn).click();
|
||||
cy.dataCy(selectors.confirmBtn).click();
|
||||
cy.typeSearchbar('{enter}');
|
||||
cy.get(selectors.id).should('not.have.text', valor);
|
||||
cy.get(selectors.id).should('not.have.text', $el.text);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue