-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FOIA-345: Add agency name in back-end title. (#502)
* FOIA-345: Add agency name in back-end title. * FOIA-345: Add Behat testing script. * FOIA-345: Add Behat testing script. * FOIA-345: Update Behat testing script. * FOIA-345: Update Behat testing script2. * FOIA-345: Update Behat testing script3. * FOIA-345: Update Behat testing script4. * FOIA-345: Update Behat testing script5. * FOIA-345: Update Behat testing script6. --------- Co-authored-by: brockfanning <[email protected]>
- Loading branch information
1 parent
0b6228c
commit e6378c4
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
config/default/metatag.metatag_defaults.node__agency_component.yml
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,9 @@ | ||
uuid: 84d90416-aef6-414e-8a2e-8461d169cf8f | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: node__agency_component | ||
label: 'Content: Agency Component' | ||
tags: | ||
description: '[node:summary]' | ||
title: '[node:title] | [node:field_agency] | [site:name]' |
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,27 @@ | ||
@agency_component | ||
Feature: Agency Component Feature | ||
In order to create Agency Component | ||
As an Administrator | ||
I should be able to create and edit an Agency Component entity. | ||
|
||
Background: | ||
Given agency terms: | ||
| name | field_agency_abbreviation | description |format | language | | ||
| Federal Testing Agency | FTA | description |plain_text| en | | ||
|
||
@api | ||
Scenario: Agency Component name in title tag for Agency Component node. | ||
Given I am logged in as a user with the 'Administrator' role | ||
And I am at '/node/add/agency_component' | ||
And for 'Agency Component Name' I enter 'My agency name' | ||
And for 'Agency' I enter 'Federal Testing Agency' | ||
And for 'Abbreviation' I enter 'FTA' | ||
And for 'Street address' I enter 'testing' | ||
And for 'City' I enter 'Rockville' | ||
And for 'Zip code' I enter "20857' | ||
And I select "Maryland" from "State" | ||
And I select "Email" from "Portal Submission Format" | ||
And for 'Submission Email' I enter '[email protected]' | ||
When I press the 'Save' button | ||
Then the page title should be "My agency name | Federal Testing Agency | National FOIA Portal" | ||
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