2023-11-07 11:42:39 +00:00
|
|
|
/// <reference types="cypress" />
|
|
|
|
describe('ClaimAction', () => {
|
|
|
|
const claimId = 2;
|
2023-11-09 12:52:45 +00:00
|
|
|
|
2023-11-07 11:42:39 +00:00
|
|
|
const firstRow = 'tbody > :nth-child(1)';
|
|
|
|
|
|
|
|
beforeEach(() => {
|
|
|
|
cy.viewport(1920, 1080);
|
|
|
|
cy.login('developer');
|
|
|
|
cy.visit(`/#/claim/${claimId}/action`);
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should import claim', () => {
|
|
|
|
cy.get('[title="Import claim"]').click();
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should change destination', () => {
|
2023-11-09 12:52:45 +00:00
|
|
|
const rowData = [true, null, null, 'Bueno'];
|
2023-11-07 11:42:39 +00:00
|
|
|
cy.fillRow(firstRow, rowData);
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should regularize', () => {
|
|
|
|
cy.get('[title="Regularize"]').click();
|
|
|
|
});
|
|
|
|
});
|