text: 'use strict';
  
  const TestWrapper = require('test/util/TestWrapper');
  const ApplicantReligion = require('app/steps/ui/religion');
  const testCommonContent = require('test/component/common/testCommonContent.js');
  const config = require('app/config');
  const basePath = config.app.basePath;
  
  describe('ApplicantEthnicBackgroundMixed', () => {
      let testWrapper;
      const expectedNextUrlForApplicantReligion = basePath + ApplicantReligion.getUrl();
  
      beforeEach(() => {
          testWrapper = new TestWrapper('ApplicantEthnicBackgroundMixed');
      });
  
      afterEach(() => {
          testWrapper.destroy();
      });
  
      describe('Verify Content, Errors and Redirection', () => {
          testCommonContent.runTest('ApplicantEthnicBackgroundMixed');
  
          it('test content loaded on the page', (done) => {
              testWrapper.testContent(done);
          });
  
          it(`test it redirects to applicant religion page: ${expectedNextUrlForApplicantReligion}`, (done) => {
              const data = {
                  ethnicGroupMixed: 'optionWhiteBlackCaribbean'
              };
  
              testWrapper.testRedirect(done, data, expectedNextUrlForApplicantReligion);
          });
      });
  });
  