From 102bae323815d1f36e589456b0e79ca96e1b04c2 Mon Sep 17 00:00:00 2001 From: Christian Burk <766573+omahane@users.noreply.github.com> Date: Fri, 6 Dec 2024 10:06:34 -0600 Subject: [PATCH] VACMS-19512: Updates test for phone widget --- .../integration/features/content_type/person_profile.feature | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/cypress/integration/features/content_type/person_profile.feature b/tests/cypress/integration/features/content_type/person_profile.feature index 3f06d39c31..fbab9a7b29 100644 --- a/tests/cypress/integration/features/content_type/person_profile.feature +++ b/tests/cypress/integration/features/content_type/person_profile.feature @@ -12,7 +12,9 @@ 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 click the "Add Phone number" button + And I wait "5" seconds + And I fill in field with selector "[data-drupal-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."