test: refs #8441 update vehicle invoice in tests for delivery assistant login
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
5332e3ab60
commit
7ebf4cd38f
|
@ -1,4 +1,4 @@
|
|||
describe('Vehicle Invoice In', () => {
|
||||
describe.only('Vehicle Invoice In', () => {
|
||||
const selectors = {
|
||||
firstRowSupplier: 'tr:first-child > .expand > .no-padding > .link',
|
||||
firstRowInvoice:
|
||||
|
@ -17,7 +17,7 @@ describe('Vehicle Invoice In', () => {
|
|||
|
||||
beforeEach(() => {
|
||||
cy.viewport(1920, 1080);
|
||||
cy.login('developer');
|
||||
cy.login('deliveryAssistant');
|
||||
cy.visit(`/#/route/vehicle/1/invoice-in`);
|
||||
});
|
||||
|
||||
|
@ -72,7 +72,7 @@ describe('Vehicle Invoice In', () => {
|
|||
cy.get(
|
||||
'[href="#/invoice-in/1/summary"] > .q-btn > .q-btn__content > .q-icon',
|
||||
).click();
|
||||
// cy.get(selectors.summaryTitle).should('contain', supplier);
|
||||
cy.get(selectors.summaryTitle).should('contain', supplier);
|
||||
});
|
||||
|
||||
it('Should redirect to the invoiceIn summary from summary pop-up from the invoice descriptor pop-up', () => {
|
||||
|
|
Loading…
Reference in New Issue