21 lines
834 B
JavaScript
21 lines
834 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.get('[data-cy="vnLvColor:"]').should('be.visible');
|
|
cy.get('[data-cy="vnLvColor:"]').should('be.visible');
|
|
cy.get('[data-cy="vnLvTallos:"]').should('be.visible');
|
|
cy.get('.q-mt-md').should('be.visible');
|
|
cy.get(
|
|
':nth-child(1) > .q-card > .img-wrapper > .q-img > .q-img__container > .q-img__image',
|
|
).should('be.visible');
|
|
});
|
|
});
|