Skip to content

Commit eee036b

Browse files
authored
Merge pull request #113 from ethanteague/VAGOV-1362-et
VAGOV-1362: Updating behat tests and config to match spec tool.
2 parents 8e64958 + 98d9758 commit eee036b

13 files changed

+184
-174
lines changed

config/sync/block_content.type.promo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ dependencies: { }
55
id: promo
66
label: Promo
77
revision: 1
8-
description: 'Promote a link with an image, title, and description. '
8+
description: 'Promote a link with an image, title, and description.'

config/sync/field.field.block_content.alert.field_alert_content.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ field_name: field_alert_content
1414
entity_type: block_content
1515
bundle: alert
1616
label: 'Crisis Alert Answer'
17-
description: "Remember that this content is for people in crisis: be simple and straighforward. \r\n<ul><li>Give a single clear next step\r\n<li>Highlight the <strong>most important information</strong> in bold\r\n<li>Link to an additional page if there's more information to share</li><ul>"
17+
description: "Remember that this content is for people in crisis: be simple and straighforward.<br /><ul><li>Give a single clear next step</li><li>Highlight the <strong>most important information</strong> in bold</li><li>Link to an additional page if there's more information to share</li><ul>"
1818
required: true
1919
translatable: false
2020
default_value: { }

config/sync/field.field.node.landing_page.field_administration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ field_name: field_administration
1111
entity_type: node
1212
bundle: landing_page
1313
label: Administration
14-
description: 'To which administration or office does this Hub belong? '
14+
description: 'To which administration or office does this Hub belong?'
1515
required: false
1616
translatable: false
1717
default_value: { }

config/sync/field.field.node.landing_page.field_description.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ field_name: field_description
1010
entity_type: node
1111
bundle: landing_page
1212
label: Description
13-
description: "Describe the content concisely, ideally between 120 and 158 characters. This text will appear on content listings on the site, and will describe the content in search engines, and when this content is shared on social media.\r\n"
13+
description: "Describe the content concisely, ideally between 120 and 158 characters. This text will appear on content listings on the site, and will describe the content in search engines, and when this content is shared on social media."
1414
required: true
1515
translatable: true
1616
default_value: { }

config/sync/field.field.node.landing_page.field_intro_text.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ field_name: field_intro_text
1010
entity_type: node
1111
bundle: landing_page
1212
label: 'Intro text'
13-
description: "This text appears directly beneath the page title, but may also appear as a summary of the content in other places, such as search results and social media posts.\r\n"
13+
description: "This text appears directly beneath the page title, but may also appear as a summary of the content in other places, such as search results and social media posts."
1414
required: true
1515
translatable: true
1616
default_value: { }

config/sync/field.field.node.page.field_featured_content.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ field_name: field_featured_content
1414
entity_type: node
1515
bundle: page
1616
label: 'Featured content'
17-
description: 'Highlight the most important content on your page here, in the form of a Q&A or some text edited in a WYWSIWYG editor. '
17+
description: 'Highlight the most important content on your page here, in the form of a Q&A or some text edited in a WYWSIWYG editor.'
1818
required: false
1919
translatable: false
2020
default_value: { }

config/sync/field.field.paragraph.link_teaser.field_link_summary.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ field_name: field_link_summary
1010
entity_type: paragraph
1111
bundle: link_teaser
1212
label: 'Link summary'
13-
description: 'A short description of the link, less than 500 characters. '
13+
description: 'A short description of the link, less than 500 characters.'
1414
required: false
1515
translatable: false
1616
default_value: { }

config/sync/field.field.paragraph.react_widget.field_custom_react_root.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ field_name: field_custom_react_root
1010
entity_type: paragraph
1111
bundle: react_widget
1212
label: 'Custom React Root'
13-
description: 'If true adds a div with the id "react-root" to this page. '
13+
description: 'If true adds a div with the id "react-root" to this page.'
1414
required: false
1515
translatable: false
1616
default_value:

config/sync/field.field.taxonomy_term.administration.field_description.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ field_name: field_description
1010
entity_type: taxonomy_term
1111
bundle: administration
1212
label: Description
13-
description: "Describe the content concisely, ideally between 120 and 158 characters. This text will appear on content listings on the site, and will describe the content in search engines, and when this content is shared on social media.\r\n"
13+
description: "Describe the content concisely, ideally between 120 and 158 characters. This text will appear on content listings on the site, and will describe the content in search engines, and when this content is shared on social media."
1414
required: true
1515
translatable: false
1616
default_value: { }

config/sync/views.view.va_blocks_admin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
id: va_blocks_admin
1717
label: 'Blocks listing'
1818
module: views
19-
description: 'Shows existing blocks on the site. '
19+
description: 'Shows existing blocks on the site.'
2020
tag: ''
2121
base_table: block_content_field_data
2222
base_field: id

tests/behat/features/drupal-spec-tool/access_control.feature

+9-11
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ Feature: Access control
77
@spec @access
88
Scenario: User roles
99
Then exactly the following roles should exist
10-
| Name | Machine name |
11-
| Administrator | administrator |
12-
| Anonymous user | anonymous |
13-
| Authenticated user | authenticated |
14-
| Media creator | media_creator |
15-
| Media manager | media_manager |
16-
| Content creator | content_creator |
17-
| Content publisher | content_publisher |
18-
| Content reviewer | content_reviewer |
19-
| Support Service creator | support_service_creator |
20-
| Support Service reviewer | support_service_reviewer |
10+
| Name | Machine name |
11+
| Administrator | administrator |
12+
| Anonymous user | anonymous |
13+
| Authenticated user | authenticated |
14+
| Content API Consumer | content_api_consumer |
15+
| Content editor | content_editor |
16+
| Content publisher | content_publisher |
17+
| Content reviewer | content_reviewer |
18+
| User access admin | admnistrator_users |

0 commit comments

Comments
 (0)