19 lines
676 B
JavaScript
19 lines
676 B
JavaScript
/// <reference types="cypress" />
|
|
describe('TicketPictures', () => {
|
|
beforeEach(() => {
|
|
cy.login('developer');
|
|
cy.viewport(1920, 1080);
|
|
cy.visit('/#/ticket/31/picture');
|
|
});
|
|
it('Should load layout', () => {
|
|
cy.get(':nth-child(1) > .q-card > .content').should('be.visible');
|
|
cy.get('.content > .link').should('be.visible').click();
|
|
cy.dataCy('ItemDescriptor').should('exist');
|
|
cy.dataCy('vnLvColor:');
|
|
cy.dataCy('vnLvColor:');
|
|
cy.dataCy('vnLvTallos:');
|
|
cy.get('.q-mt-md').should('be.visible');
|
|
cy.get(':nth-child(1) > .q-card > .img-wrapper').should('be.visible');
|
|
});
|
|
});
|