22 lines
837 B
JavaScript
22 lines
837 B
JavaScript
/// <reference types="cypress" />
|
|
describe('VnLog', () => {
|
|
beforeEach(() => {
|
|
cy.login('developer');
|
|
cy.visit(`/#/claim/${1}/log`);
|
|
cy.get('.q-gutter-x-sm > .q-btn > .q-btn__content > .q-icon').click();
|
|
});
|
|
|
|
it('should filter by insert actions', () => {
|
|
cy.get('.q-checkbox__inner').eq(0).click();
|
|
cy.get('.q-page').click();
|
|
cy.get('.model-info .q-chip__content').eq(0).should('have.text', 'Document');
|
|
cy.get('.model-info .q-chip__content').eq(1).should('have.text', 'Beginning');
|
|
});
|
|
|
|
it('should filter by entity', () => {
|
|
cy.get('.q-scrollarea .q-list .q-item .q-select').eq(0).click();
|
|
cy.get('.q-scrollarea .q-list .q-item .q-select').eq(0).type('cla');
|
|
cy.get('[role="listbox"] .q-item').should('have.text', 'Claim');
|
|
});
|
|
});
|