-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
tests/cypress/integration/features/content_type/facilities/manila.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,20 @@ | ||
@content_type__event | ||
Feature: Content Type: Event | ||
|
||
Scenario: Log in and create Event as a Lovell editor | ||
When I am logged in as a user with the roles "vamc_content_creator, content_publisher" | ||
And my workbench access sections are set to "1187" | ||
Then I am at "/node/add/event" | ||
And I select option "---Manila VA Clinic" from dropdown "Section" | ||
And I fill in "Name" with "[TEST] Manila event" | ||
And I fill in field with selector "#edit-field-datetime-range-timezone-0-time-wrapper-value-date" with value "2026-11-04" | ||
And I fill in field with selector "#edit-field-datetime-range-timezone-0-time-wrapper-end-value-date" with value "2026-11-04" | ||
And I fill in field with selector "#edit-field-datetime-range-timezone-0-time-wrapper-value-time" with value "10:00:00" | ||
And I fill in field with selector "#edit-field-datetime-range-timezone-0-time-wrapper-end-value-time" with value "11:00:00" | ||
And I select option "Manila" from dropdown "Time zone" | ||
And I select option "Manila VA Clinic: Events" from dropdown "Where should the event be listed?" | ||
And I fill in autocomplete field with selector "#edit-field-facility-location-0-target-id" with value "Manila VA Clinic | Manila VA Clinic (1059)" | ||
And I select option "Published" from dropdown "Save as" | ||
And I fill in "Revision log message" with "[TEST] Revision log message" | ||
And I click the "Save" button | ||
Then I should be at "manila-va-clinic" |