import { IntegrationsPage, LoginPage } from '@admin-lib/index';
import { User_Type } from '@support-onboard/index';

describe('Admin: HRIS Integration', () => {
  beforeEach(() => {
    LoginPage.createNewCompanyAndLoginWithUserByType({ users: [User_Type.ADMIN] });
  });

  it('C48434: Verify HRIS Integrations', { tags: ['@tier1'] }, () => {
    IntegrationsPage.visitIntegrationsPage();
    IntegrationsPage.checkHrIntegrationBlockExist();

    IntegrationsPage.checkHrIntegrationEmpty();
    IntegrationsPage.startHrIntegration();
  });
});
