23 lines
820 B
JavaScript
23 lines
820 B
JavaScript
/// <reference types="cypress" />
|
|
describe('TicketSms', () => {
|
|
beforeEach(() => {
|
|
cy.login('developer');
|
|
cy.viewport(1920, 1080);
|
|
cy.visit('/#/ticket/32/sms');
|
|
});
|
|
|
|
it('Should load layout', () => {
|
|
cy.get('.q-page').should('be.visible');
|
|
cy.get('.q-infinite-scroll > :nth-child(1)').should(
|
|
'contain.text',
|
|
'0004 444444444Lorem ipsum dolor sit amet, consectetur adipiscing elit.2001-01-01 00:00:00OK',
|
|
);
|
|
cy.get(
|
|
':nth-child(1) > .q-item > .q-item__section--top > .column > .q-avatar',
|
|
).should('be.visible');
|
|
cy.get(
|
|
':nth-child(1) > .q-item > .q-item__section--side.justify-center > .center > .q-chip > .q-chip__content',
|
|
).should('have.class', 'q-chip__content');
|
|
});
|
|
});
|