From 048feeda716066b49a450efa076a88ee898a97bb Mon Sep 17 00:00:00 2001 From: ruizajtruss Date: Tue, 16 Apr 2024 23:49:39 +0000 Subject: [PATCH] removed cypress tests --- .../stateSubmissionForm/contacts.spec.ts | 41 ------------------- 1 file changed, 41 deletions(-) diff --git a/services/cypress/integration/stateWorkflow/stateSubmissionForm/contacts.spec.ts b/services/cypress/integration/stateWorkflow/stateSubmissionForm/contacts.spec.ts index 052e16e692..2acc2a9dfe 100644 --- a/services/cypress/integration/stateWorkflow/stateSubmissionForm/contacts.spec.ts +++ b/services/cypress/integration/stateWorkflow/stateSubmissionForm/contacts.spec.ts @@ -54,47 +54,6 @@ describe('contacts', () => { // On contacts page, SAVE_DRAFT cy.findByRole('heading', { level: 2, name: /Contacts/ }) cy.fillOutStateContact() - - //Add two additional actuary contacts - cy.findByRole('button', { name: /Add actuary contact/ }).safeClick() - cy.findByRole('button', { name: /Add actuary contact/ }).safeClick() - - //Actuary contact should have 2 sets of actuary inputs - cy.findAllByTestId('actuary-contact').should('have.length', 2) - - //Fill out first actuary contact - cy.findAllByLabelText('Name') - .eq(1) - .click() - .type('Actuary Contact Person') - cy.findAllByLabelText('Title/Role') - .eq(1) - .type('Actuary Contact Title') - cy.findAllByLabelText('Email') - .eq(1) - .type('actuarycontact@example.com') - cy.findAllByLabelText('Mercer').eq(0).safeClick() - - //Fill out second actuary contact - cy.findAllByLabelText('Name') - .eq(2) - .click() - .type('Actuary Contact Person') - cy.findAllByLabelText('Title/Role') - .eq(2) - .type('Actuary Contact Title') - cy.findAllByLabelText('Email') - .eq(2) - .type('actuarycontact@example.com') - cy.findAllByLabelText('Mercer').eq(1).safeClick() - - // Actuary communication preference - cy.findByText( - `OACT can communicate directly with the state’s actuaries but should copy the state on all written communication and all appointments for verbal discussions.` - ).click() - - cy.navigateFormByButtonClick('SAVE_DRAFT') - cy.findByRole('heading', { level: 1, name: /Submissions dashboard/ }) }) })