-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into VACMS-17021-default-field-type-enhancers
- Loading branch information
Showing
4 changed files
with
105 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...tegration/features/content_type/facilities/vet_center/vet_center_facility_service.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@content_type__vet_center_facility_health_servi | ||
Feature: CMS Users may effectively interact with the Vet Center - Facility Service form | ||
In order to confirm that cms users have access to the necessary functionality | ||
As anyone involved in the project | ||
I need to have certain functionality available | ||
|
||
Scenario: Editors should not be able to rename a Vet Center - Facility Service | ||
Given I am logged in as a user with the roles "content_creator_vet_center, content_publisher, content_editor, content_admin" | ||
# Escanaba Vet Center | ||
And my workbench access sections are set to "392" | ||
# Escanaba Vet Center - Telehealth | ||
When I am at "node/17927/edit" | ||
And an element with the selector 'select[data-drupal-selector^="edit-field-service-name-and-descripti"]' should be disabled | ||
Then I scroll to position "bottom" | ||
And I click the "Unlock" link | ||
And I click the "Confirm break lock" button | ||
|
||
Scenario: Administrators should be able to rename a Vet Center - Facility Service | ||
Given I am logged in as a user with the "administrator" role | ||
# Escanaba Vet Center - Telehealth | ||
When I am at "node/17927" | ||
Then I should see "Escanaba Vet Center - Telehealth" | ||
|
||
Then I click the edit tab | ||
Then an element with the selector 'select[data-drupal-selector^="edit-field-office"]' should not be disabled | ||
And an element with the selector 'select[data-drupal-selector^="edit-field-service-name-and-descripti"]' should not be disabled | ||
|
||
# Duluth Vet Center | ||
Then I select option '3751' from dropdown with selector 'select[data-drupal-selector^="edit-field-office"]' | ||
# Women Veteran Care | ||
And I select option '57' from dropdown with selector 'select[data-drupal-selector^="edit-field-service-name-and-descripti"]' | ||
And I fill in field with selector "#edit-revision-log-0-value" with value "[Test Data] Revision log message." | ||
And I save the node | ||
Then I should see "Duluth Vet Center - Women Veteran care" |