test: refs #8441 ensure menu visibility in vehicle summary tests
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
b650d2b438
commit
903345203b
|
@ -105,7 +105,9 @@ describe('Vehicle summary', () => {
|
|||
.invoke('text')
|
||||
.then((invoice) => {
|
||||
invoice = invoice.trim();
|
||||
cy.get('.q-menu').should('exist').should('be.visible');
|
||||
cy.get(selectors.descriptorGoToSummaryBtn)
|
||||
.should('exist')
|
||||
.should('be.visible')
|
||||
.click();
|
||||
cy.url().should('match', invoiceInSummaryUrlRegex);
|
||||
|
@ -119,7 +121,9 @@ describe('Vehicle summary', () => {
|
|||
.invoke('text')
|
||||
.then((invoice) => {
|
||||
invoice = invoice.trim();
|
||||
cy.get('.q-menu').should('exist').should('be.visible');
|
||||
cy.get(selectors.descriptorOpenSummaryBtn)
|
||||
.should('exist')
|
||||
.should('be.visible')
|
||||
.click();
|
||||
cy.get(selectors.summaryGoToSummaryBtn).should('be.visible').click();
|
||||
|
|
Loading…
Reference in New Issue