fix: refs #6696 standardize viewport size in Cypress tests for consistency
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
70d8b65fcb
commit
0e7da211df
|
@ -1,6 +1,7 @@
|
|||
import '../commands.js';
|
||||
describe('EntryBuys', () => {
|
||||
beforeEach(() => {
|
||||
cy.viewport(1920, 1080);
|
||||
cy.login('buyer');
|
||||
cy.visit(`/#/entry/list`);
|
||||
});
|
||||
|
|
|
@ -14,6 +14,7 @@ describe('InvoiceInList', () => {
|
|||
};
|
||||
|
||||
beforeEach(() => {
|
||||
cy.viewport(1920, 1080);
|
||||
cy.login('administrative');
|
||||
cy.visit(`/#/invoice-in/list`);
|
||||
cy.get('#searchbar input').type('{enter}');
|
||||
|
|
|
@ -27,6 +27,7 @@ describe('Route', () => {
|
|||
|
||||
beforeEach(() => {
|
||||
cy.login('developer');
|
||||
cy.viewport(1920, 1080);
|
||||
cy.visit(`/#/route/list`);
|
||||
cy.typeSearchbar('{enter}');
|
||||
});
|
||||
|
|
|
@ -4,7 +4,8 @@ const firstRow = 'tbody > :nth-child(1)';
|
|||
describe('TicketSale', () => {
|
||||
describe('#23', () => {
|
||||
beforeEach(() => {
|
||||
cy.login('salesPerson');
|
||||
cy.login('claimManager');
|
||||
cy.viewport(1920, 1080);
|
||||
cy.visit('/#/ticket/23/sale');
|
||||
});
|
||||
|
||||
|
@ -103,7 +104,7 @@ describe('TicketSale', () => {
|
|||
});
|
||||
describe('#31 free ticket', () => {
|
||||
beforeEach(() => {
|
||||
cy.login('salesPerson');
|
||||
cy.login('claimManager');
|
||||
cy.visit('/#/ticket/31/sale');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue