qe-fe-automation
Version:
FE test automation framework using cypress
22 lines (18 loc) • 756 B
text/typescript
import { stagingUsers } from '@fixtures/staging-users';
import { ReportsBookings } from '@commerce-lib/index';
const { admin } = stagingUsers.admin;
const adminCredentials = Cypress.env('admin').admin.ADMIN_PASSWORD;
describe('Commerce: Download VAT Summary ', () => {
beforeEach(() => {
cy.loginWithAuthToken({ email: admin.email, password: adminCredentials, isSA: true });
});
it('C719706: Verify download VAT Summary', { tags: ['@tier1'] }, () => {
ReportsBookings.visitReportsBookingsPage();
ReportsBookings.openDownloadVatSummaryModal();
ReportsBookings.selectLegalEntity();
ReportsBookings.selectYear();
ReportsBookings.selectMonth();
ReportsBookings.downloadPDF();
ReportsBookings.verifyContent();
});
});