From 20448027b1403fad769963411b06ed8f91c584b0 Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Wed, 27 Nov 2024 11:06:45 -0600 Subject: [PATCH] VACMS-19979: Updates cypress tests for phone number paragraph --- .../facilities/vamc/health_care_local_facility.feature | 1 + .../integration/features/content_type/person_profile.feature | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/cypress/integration/features/content_type/facilities/vamc/health_care_local_facility.feature b/tests/cypress/integration/features/content_type/facilities/vamc/health_care_local_facility.feature index b77b3f8f3e..bd2c46821a 100644 --- a/tests/cypress/integration/features/content_type/facilities/vamc/health_care_local_facility.feature +++ b/tests/cypress/integration/features/content_type/facilities/vamc/health_care_local_facility.feature @@ -10,6 +10,7 @@ Feature: CMS Users may effectively interact with the VAMC Facility form When I am at "/node/add/health_care_local_facility" And I fill in "Name of facility" with "[Test Data] Facility Name" And I select the "Normal services and hours" radio button + And I fill in field with selector "#edit-field-telephone-0-subform-field-phone-number-0-value" with value "402-867-5309" And I select option "VA Alaska health care" from dropdown "What health care system does the facility belong to?" And I fill in "Meta description" with "[Test Data] Meta description" And I select option "---VA Alaska health care" from dropdown "Section" diff --git a/tests/cypress/integration/features/content_type/person_profile.feature b/tests/cypress/integration/features/content_type/person_profile.feature index 77255dfed5..3f06d39c31 100644 --- a/tests/cypress/integration/features/content_type/person_profile.feature +++ b/tests/cypress/integration/features/content_type/person_profile.feature @@ -12,6 +12,7 @@ Scenario: Log in and create a Person Profile with attention to conditional field And I fill in "First name" with "James" And I fill in "Last name" with "Smith" + And I fill in field with selector "#edit-field-telephone-0-subform-field-phone-number-0-value" with value "402-867-5309" And I fill in field with selector "#edit-revision-log-0-value" with value "[Test Data] Revision log message." And I click the "Save" button Then I should see "Staff Profile James Smith has been created."