Skip to content

Commit

Permalink
Update for grammar/clarity (#2657)
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Wirt <[email protected]>
  • Loading branch information
acrollet and swirtSJW authored Aug 14, 2020
1 parent 4ce9f35 commit fc034fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions READMES/unity.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In order to fully test and stabilize the **WEB** building process as it consumes
There a number of components that allow us to build the **WEB** project inside
the **CMS** build process:

- Add **WEB** as a composer "package", with it's version defined in the **CMS** composer.json's "repositories" section.
- Add **WEB** as a composer "package", with its version defined in the **CMS** composer.json's "repositories" section.
- Require the [mouf/nodejs-installer](https://packagist.org/packages/mouf/nodejs-installer) package.
This tool automatically installs executable versions of Node and NPM at the specific version we set in `composer.json`.
- Add to `composer.json`'s "scripts" section (post-install-cmd), to kick off "yarn build" and "npm build" commands after `composer install`.
Expand All @@ -23,7 +23,7 @@ the **CMS** build process:

### Using Composer to install WEB

The CMS codebase leverages a composer feature called "repositories" that let's us define
The CMS codebase leverages a composer feature called "repositories" that lets us define
our own "pseudo-package" inside `composer.json`:

```json
Expand Down Expand Up @@ -80,7 +80,7 @@ the "reference" under "va-gov-web" repository:
}
}
```
Then followup with a `composer update --lock` and `lando test` will build the FE with the new hash.
Then followup with a `composer update --lock` and `lando test` will build the front-end with the new hash.

#### Rebuild WEB from a local CMS

Expand Down

4 comments on commit fc034fa

@va-cms-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Test Failed: va/tests/accessibility
composer va:test:accessibility
> npm install --only=production
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network request to https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz failed, reason: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/www/.npm/_logs/2020-08-14T16_54_43_376Z-debug.log
Script npm install --only=production handling the va:test:accessibility event returned with error code 1
  • On: ip-10-247-35-93
  • In: 02:35

@va-cms-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Test Failed: va/web/build
composer va:web:build | tee /dev/stderr | grep "Failed to pipe Drupal content into Metalsmith!" -B1000 -C8 && echo "tests.yml | composer va:web:build included the Drupal/Metalsmith error." && exit 1 || echo "tests.yml | Front end site was built! Check $DRUPAL_ADDRESS/static for raw output!"
Do you want to update web.build.pending key in va_gov.build config? (y/n): y
Downloading assets for vets-website ref 36c7cc5702a3e1e5b98a26eaee32dde1f32a060c
yarn run v1.12.3
$ node --max-old-space-size=4096 script/build-content.js --pull-drupal --no-drupal-proxy --buildtype=vagovdev --api=https://dev-api.va.gov --asset-source=36c7cc5702a3e1e5b98a26eaee32dde1f32a060c
Pulling feature flags from Drupal...
Drupal feature flags:
{
  "FEATURE_ALL_HUB_SIDE_NAVS": false,
  "FEATURE_SINGLE_VALUE_FIELD_LINK": false,
  "FEATURE_HEADER_MEGAMENU": true,
  "FEATURE_IMAGE_STYLE_23": false,
  "FEATURE_FOOTER_MENU": false
}

Step 1 start: Preserving Webpack build output
No Webpack output found. Skipping the asset preservation step.
Step 1 end [0ms]: Preserving Webpack build output
Starting memory: 39.48mB
Ending memory: 39.49mB
Delta: 0.01mB

Step 2 start: Create React pages
Generating HTML template for application COVID-19 screener at /covid19screen
Generating HTML template for application Verify identity at /verify
Generating HTML template for application 21-527EZ pension benefits form at /pension/application/527EZ
Generating HTML template for application VA Online Scheduling at /health-care/schedule-view-va-appointments/appointments
Generating HTML template for application Account at /account
Generating HTML template for application Rated Disabilities at /disability/view-disability-rating/rating
Generating HTML template for application Connected Accounts at /account/connected-accounts
Generating HTML template for application Dashboard at /my-va
Generating HTML template for application VA Profile at /profile
Generating HTML template for application View Dependents at /view-change-dependents/view
Generating HTML template for application 21-22 Appoint Veteran Service Officer as Representative at /veteran-representative
Generating HTML template for application Facility Locator at /find-locations
Generating HTML template for application My Health Account Validation at /health-care/my-health-account-validation
Generating HTML template for application 10-10CG at /family-member-benefits/apply-for-caregiver-assistance-form-10-10cg
Generating HTML template for application Terms and Conditions at /health-care/medical-information-terms-conditions
Generating HTML template for application 21P-530 Burials benefits form at /burials-and-memorials/application/530
Generating HTML template for application 1010ez Health Care Application form at /health-care/apply/application
Generating HTML template for application 686C-674 at /view-change-dependents/add-remove-form-686c
Generating HTML template for application 21-526EZ disability compensation claim form at /disability/file-disability-claim-form-21-526ez
Generating HTML template for application Order hearing aid batteries and accessories at /health-care/order-hearing-aid-batteries-and-accessories/order-form-2346
Generating HTML template for application 686 Dependent-status form at /disability-benefits/apply/dependents
Generating HTML template for application Request for Higher-Level Review at /decision-reviews/higher-level-review/request-higher-level-review-form-20-0996
Generating HTML template for application Claims Status at /track-claims
Generating HTML template for application Letters at /records/download-va-letters/letters
Generating HTML template for application Login Page at /sign-in
Generating HTML template for application 40-40007 pre need burial planning form at /burials-and-memorials/pre-need/form-10007-apply-for-eligibility
Generating HTML template for application Post 9/11 GI Bill Status at /education/gi-bill/post-9-11/ch-33-benefit/status
Generating HTML template for application Discharge Wizard at /discharge-upgrade-instructions
Generating HTML template for application Yellow Ribbon Schools at /education/yellow-ribbon-participating-schools
Generating HTML template for application 22-1990E Education benefits form at /education/apply-for-education-benefits/application/1990E
Generating HTML template for application 22-10203 Education benefits form at /education/apply-for-education-benefits/application/10203
Generating HTML template for application Opt Out of Sharing VA Education Benefits Information at /education/opt-out-information-sharing/opt-out-form-0993
Generating HTML template for application 22-5495 Education benefits form at /education/apply-for-education-benefits/application/5495
Generating HTML template for application GI Bill School Feedback Tool at /education/submit-school-feedback
Generating HTML template for application 22-1990N Education benefits form at /education/apply-for-education-benefits/application/1990N
Generating HTML template for application 22-1995 Education benefits form at /education/apply-for-education-benefits/application/1995
Generating HTML template for application 22-5490 Education benefits form at /education/apply-for-education-benefits/application/5490
Generating HTML template for application 22-1990 Education benefits form at /education/apply-for-education-benefits/application/1990
Generating HTML template for application 22-0994 Education benefits form at /education/about-gi-bill-benefits/how-to-use-benefits/vettec-high-tech-program/apply-for-vettec-form-22-0994
Generating HTML template for application Authentication callback at /auth/login/callback
Generating HTML template for application GI Bill Comparison Tool at /gi-bill-comparison-tool
Generating HTML template for application Search at /search
Generating HTML template for application Veteran ID Card V1 at /records/get-veteran-id-cards/apply
Generating HTML template for application Debt Letters at /manage-va-debt/your-debt
Generating HTML template for application 28-1900 Veteran Readiness at /vre/28-1900
Generating HTML template for application 28-8832-planning-and-guidance at /vre/28-8832
Generating HTML template for application View Payments at /va-payment-history/payments
Generating HTML template for application Covid Research - Volunteer at /covid-research-volunteer
Step 2 end [2ms]: Create React pages
Starting memory: 39.51mB
Ending memory: 39.67mB
Delta: 0.16mB

Step 3 start: Get Drupal content
Drupal content unavailable in local cache: /var/www/cms/docroot/vendor/va-gov/web/.cache/vagovdev/drupal/pages.json
Attempting to load Drupal content from API at http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com
Error: HTTP error: 504: Gateway Time-out
    at Object.query (/var/www/cms/docroot/vendor/va-gov/web/src/site/stages/build/drupal/api.js:114:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)
Failed to pipe Drupal content into Metalsmith!
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
tests.yml | composer va:web:build included the Drupal/Metalsmith error.
> drush config-set va_gov.build web.build.pending 1 -y
Do you want to update web.build.pending key in va_gov.build config? (y/n): y
> rm -rf docroot/vendor/va-gov/web/build/vagovdev
> cd web && echo "Downloading assets for vets-website ref $(git rev-parse --verify HEAD)" 
Downloading assets for vets-website ref 36c7cc5702a3e1e5b98a26eaee32dde1f32a060c
> cd web && NODE_ENV=production yarn build:content --pull-drupal --no-drupal-proxy --buildtype=vagovdev --api=https://dev-api.va.gov --asset-source=$(git rev-parse --verify HEAD)
yarn run v1.12.3
$ node --max-old-space-size=4096 script/build-content.js --pull-drupal --no-drupal-proxy --buildtype=vagovdev --api=https://dev-api.va.gov --asset-source=36c7cc5702a3e1e5b98a26eaee32dde1f32a060c
Pulling feature flags from Drupal...
Drupal feature flags:
{
  "FEATURE_ALL_HUB_SIDE_NAVS": false,
  "FEATURE_SINGLE_VALUE_FIELD_LINK": false,
  "FEATURE_HEADER_MEGAMENU": true,
  "FEATURE_IMAGE_STYLE_23": false,
  "FEATURE_FOOTER_MENU": false
}

Step 1 start: Preserving Webpack build output
No Webpack output found. Skipping the asset preservation step.
Step 1 end [0ms]: Preserving Webpack build output
Starting memory: 39.48mB
Ending memory: 39.49mB
Delta: 0.01mB

Step 2 start: Create React pages
Generating HTML template for application COVID-19 screener at /covid19screen
Generating HTML template for application Verify identity at /verify
Generating HTML template for application 21-527EZ pension benefits form at /pension/application/527EZ
Generating HTML template for application VA Online Scheduling at /health-care/schedule-view-va-appointments/appointments
Generating HTML template for application Account at /account
Generating HTML template for application Rated Disabilities at /disability/view-disability-rating/rating
Generating HTML template for application Connected Accounts at /account/connected-accounts
Generating HTML template for application Dashboard at /my-va
Generating HTML template for application VA Profile at /profile
Generating HTML template for application View Dependents at /view-change-dependents/view
Generating HTML template for application 21-22 Appoint Veteran Service Officer as Representative at /veteran-representative
Generating HTML template for application Facility Locator at /find-locations
Generating HTML template for application My Health Account Validation at /health-care/my-health-account-validation
Generating HTML template for application 10-10CG at /family-member-benefits/apply-for-caregiver-assistance-form-10-10cg
Generating HTML template for application Terms and Conditions at /health-care/medical-information-terms-conditions
Generating HTML template for application 21P-530 Burials benefits form at /burials-and-memorials/application/530
Generating HTML template for application 1010ez Health Care Application form at /health-care/apply/application
Generating HTML template for application 686C-674 at /view-change-dependents/add-remove-form-686c
Generating HTML template for application 21-526EZ disability compensation claim form at /disability/file-disability-claim-form-21-526ez
Generating HTML template for application Order hearing aid batteries and accessories at /health-care/order-hearing-aid-batteries-and-accessories/order-form-2346
Generating HTML template for application 686 Dependent-status form at /disability-benefits/apply/dependents
Generating HTML template for application Request for Higher-Level Review at /decision-reviews/higher-level-review/request-higher-level-review-form-20-0996
Generating HTML template for application Claims Status at /track-claims
Generating HTML template for application Letters at /records/download-va-letters/letters
Generating HTML template for application Login Page at /sign-in
Generating HTML template for application 40-40007 pre need burial planning form at /burials-and-memorials/pre-need/form-10007-apply-for-eligibility
Generating HTML template for application Post 9/11 GI Bill Status at /education/gi-bill/post-9-11/ch-33-benefit/status
Generating HTML template for application Discharge Wizard at /discharge-upgrade-instructions
Generating HTML template for application Yellow Ribbon Schools at /education/yellow-ribbon-participating-schools
Generating HTML template for application 22-1990E Education benefits form at /education/apply-for-education-benefits/application/1990E
Generating HTML template for application 22-10203 Education benefits form at /education/apply-for-education-benefits/application/10203
Generating HTML template for application Opt Out of Sharing VA Education Benefits Information at /education/opt-out-information-sharing/opt-out-form-0993
Generating HTML template for application 22-5495 Education benefits form at /education/apply-for-education-benefits/application/5495
Generating HTML template for application GI Bill School Feedback Tool at /education/submit-school-feedback
Generating HTML template for application 22-1990N Education benefits form at /education/apply-for-education-benefits/application/1990N
Generating HTML template for application 22-1995 Education benefits form at /education/apply-for-education-benefits/application/1995
Generating HTML template for application 22-5490 Education benefits form at /education/apply-for-education-benefits/application/5490
Generating HTML template for application 22-1990 Education benefits form at /education/apply-for-education-benefits/application/1990
Generating HTML template for application 22-0994 Education benefits form at /education/about-gi-bill-benefits/how-to-use-benefits/vettec-high-tech-program/apply-for-vettec-form-22-0994
Generating HTML template for application Authentication callback at /auth/login/callback
Generating HTML template for application GI Bill Comparison Tool at /gi-bill-comparison-tool
Generating HTML template for application Search at /search
Generating HTML template for application Veteran ID Card V1 at /records/get-veteran-id-cards/apply
Generating HTML template for application Debt Letters at /manage-va-debt/your-debt
Generating HTML template for application 28-1900 Veteran Readiness at /vre/28-1900
Generating HTML template for application 28-8832-planning-and-guidance at /vre/28-8832
Generating HTML template for application View Payments at /va-payment-history/payments
Generating HTML template for application Covid Research - Volunteer at /covid-research-volunteer
Step 2 end [2ms]: Create React pages
Starting memory: 39.51mB
Ending memory: 39.67mB
Delta: 0.16mB

Step 3 start: Get Drupal content
Drupal content unavailable in local cache: /var/www/cms/docroot/vendor/va-gov/web/.cache/vagovdev/drupal/pages.json
Attempting to load Drupal content from API at http://internal-dsva-vagov-staging-cms-1188006.us-gov-west-1.elb.amazonaws.com
Error: HTTP error: 504: Gateway Time-out
    at Object.query (/var/www/cms/docroot/vendor/va-gov/web/src/site/stages/build/drupal/api.js:114:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)
Failed to pipe Drupal content into Metalsmith!
/var/www/cms/docroot/vendor/va-gov/web/src/site/stages/build/index.js:272
    if (err) throw err;
             ^

Error: HTTP error: 504: Gateway Time-out
    at Object.query (/var/www/cms/docroot/vendor/va-gov/web/src/site/stages/build/drupal/api.js:114:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Script cd web && NODE_ENV=production yarn build:content --pull-drupal --no-drupal-proxy --buildtype=vagovdev --api=https://dev-api.va.gov --asset-source=$(git rev-parse --verify HEAD) handling the va:web:build event returned with error code 1
  • On: ip-10-247-35-93
  • In: 05:04

@va-cms-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Test Failed: va/tests/behat
cd tests/behat
behat --colors
@api
Feature: Access control
  In order to protect my site and its content
  As a site owner
  I want to control access with user roles and permissions.

  @dst @access
  Scenario: User roles                            # drupal-spec-tool/access_control.feature:8
    Then exactly the following roles should exist # Acquia\DrupalSpecTool\Context\AccessControlContext::assertRolesExist()
      | Name                            | Machine name                  |
      | Administrator                   | administrator                 |
      | Anonymous user                  | anonymous                     |
      | Authenticated user              | authenticated                 |
      | Content API Consumer            | content_api_consumer          |
      | Content editor                  | content_editor                |
      | Content publisher               | content_publisher             |
      | Content reviewer                | content_reviewer              |
      | User admin                      | admnistrator_users            |
      | Redirect admin                  | redirect_administrator        |
      | Content admin                   | content_admin                 |
      | Content creator - Benefits hubs | content_creator_benefits_hubs |
      | Content creator - VAMC          | vamc_content_creator          |

@api
Feature: Content model bundles
  In order to enter structured content into my site
  As a content editor
  I want to have content entity bundles that reflect my content model.

  @dst @content_type @dstbundles
  Scenario: Bundles                                                     # drupal-spec-tool/content_model_bundles.feature:8
    Then exactly the following content entity type bundles should exist # CustomDrupal\ContentModelContextCustom::assertBundles()
      | Name                                            | Machine name                     | Type              | Description                                                                                                                                                                                                                               |
      | Accordion group                                 | collapsible_panel                | Paragraph type    | A group of accordions.                                                                                                                                                                                                                    |
      | Accordion Item                                  | collapsible_panel_item           | Paragraph type    | An individual accordion.                                                                                                                                                                                                                  |
      | Additional information                          | spanish_translation_summary      | Paragraph type    | Text that expands to display additional information upon click.                                                                                                                                                                           |
      | Address                                         | address                          | Paragraph type    | An address block.                                                                                                                                                                                                                         |
      | Alert                                           | alert                            | Custom block type | An alert box that can be added to individual pages.                                                                                                                                                                                       |
      | Alert                                           | alert                            | Paragraph type    | A reusable or non-reusable alert, either "information status" or "warning status".                                                                                                                                                        |
      | Benefits detail page                            | page                             | Content type      | These pages hold all of the benefits overview content, such the detail pages linked to from va.gov/disability, va.gov/health-care, and va.gov/education.                                                                                  |
      | Benefits hub landing page                       | landing_page                     | Content type      | A special page for top-level Benefits content with its own one-off layout and content.                                                                                                                                                    |
      | Button                                          | button                           | Paragraph type    | Button with a label and link field.                                                                                                                                                                                                       |
      | Checklist                                       | checklist                        | Content type      |                                                                                                                                                                                                                                           |
      | Checklist                                       | checklist                        | Paragraph type    |                                                                                                                                                                                                                                           |
      | Checklist section                               | checklist_item                   | Paragraph type    |                                                                                                                                                                                                                                           |
      | CMS help page                                   | documentation_page               | Content type      | Help pages for VA.gov CMS editors.                                                                                                                                                                                                        |
      | Detail Page                                     | health_care_region_detail_page   | Content type      | For static pages where there's not another content type already available.                                                                                                                                                                |
      | Document                                        | document                         | Media type        | A locally hosted document, such as a PDF.                                                                                                                                                                                                 |
      | Embedded image                                  | media                            | Paragraph type    | For adding an image inline                                                                                                                                                                                                                |
      | Event                                           | event                            | Content type      | For online or in-person events like support groups, outreach events, public lectures, and more.                                                                                                                                           |
      | Events list                                     | event_listing                    | Content type      | A listing of events.                                                                                                                                                                                                                      |
      | Expandable Text                                 | expandable_text                  | Paragraph type    | Text that expands upon click.                                                                                                                                                                                                             |
      | FAQ - multiple Q&As                             | faq_multiple_q_a                 | Content type      | Curated collection of Q&As.                                                                                                                                                                                                               |
      | Health services list                            | health_services_listing          | Content type      | A listing of health services.                                                                                                                                                                                                             |
      | Image                                           | image                            | Media type        | Locally hosted images.                                                                                                                                                                                                                    |
      | Leadership list                                 | leadership_listing               | Content type      | A listing of staff members.                                                                                                                                                                                                               |
      | Link teaser                                     | link_teaser                      | Paragraph type    | A link followed by a description. For building inline "menus" of content.                                                                                                                                                                 |
      | Link to file or video                           | downloadable_file                | Paragraph type    | For image or document downloads.                                                                                                                                                                                                          |
      | List of link teasers                            | list_of_link_teasers             | Paragraph type    | A paragraph that contains only one type of paragraph: Link teaser.                                                                                                                                                                        |
      | List of links                                   | list_of_links                    | Paragraph type    | A set of links, with link text and URL required, and an optional header.                                                                                                                                                                  |
      | Lists of links                                  | lists_of_links                   | Paragraph type    | WARNING: Learning Center and User Guides only! A list of links, or several lists of links, with an optional section header.                                                                                                               |
      | Locations list                                  | locations_listing                | Content type      | A listing of locations.                                                                                                                                                                                                                   |
      | NCA facility                                    | nca_facility                     | Content type      | A facility within National Cemetery Administration system.                                                                                                                                                                                |
      | News release                                    | press_release                    | Content type      | Announcements directed at members of the media for the purpose of publicizing newsworthy events/happenings/programs at specific facilities or healthcare systems.                                                                         |
      | News releases list                              | press_releases_listing           | Content type      | A listing of news releases.                                                                                                                                                                                                               |
      | Number callout                                  | number_callout                   | Paragraph type    | Number callouts can be used in the context of a question & answer, where the answer can be summarized in a short phrase that is number-oriented.                                                                                          |
      | Office                                          | office                           | Content type      | An office at the VA, which may have contact info, events, news, and a leadership page in some cases.                                                                                                                                      |
      | Phone number                                    | phone_number                     | Paragraph type    |                                                                                                                                                                                                                                           |
      | Process list                                    | process                          | Paragraph type    | An ordered list (1, 2, 3, 4, N) of steps in a process.                                                                                                                                                                                    |
      | Promo                                           | promo                            | Custom block type | Promote a link with an image, title, and description.                                                                                                                                                                                     |
      | Publication                                     | outreach_asset                   | Content type      | Contains a document, image, or video, for publication within a Publication library.                                                                                                                                                       |
      | Publication listing page                        | publication_listing              | Content type      | This allows the listing of publication materials such as documents, videos, and images all in one place.                                                                                                                                  |
      | Q&A                                             | q_a                              | Content type      | Single Question and Answer.                                                                                                                                                                                                               |
      | Q&A                                             | q_a                              | Paragraph type    | Question and Answer                                                                                                                                                                                                                       |
      | Q&A group                                       | q_a_group                        | Paragraph type    | For content formatted as a series of questions and answers in "FAQ - multiple Q&A" content type. Use this (instead of WYSIWYG) for better accessibility and easy rearranging.                                                             |
      | Q&A Section                                     | q_a_section                      | Paragraph type    | For content formatted as a series of questions and answers. Use this (instead of WYSIWYG) for better accessibility and easy rearranging.                                                                                                  |
      | React Widget                                    | react_widget                     | Paragraph type    | Advanced editors can use this to place react widgets (like a form) on the page.                                                                                                                                                           |
      | Sections                                        | administration                   | Vocabulary        | Represents a hierarchy of the VA, partly for governance purposes.                                                                                                                                                                         |
      | Service location                                | service_location                 | Paragraph type    |                                                                                                                                                                                                                                           |
      | Service location address                        | service_location_address         | Paragraph type    |                                                                                                                                                                                                                                           |
      | Situation update                                | situation_update                 | Paragraph type    | A time-sensitive, added to a banner alert, and displayed on VAMC operating status pages.                                                                                                                                                  |
      | Staff profile                                   | person_profile                   | Content type      | Profiles of staff members for display in various places around the site.                                                                                                                                                                  |
      | Staff profile                                   | staff_profile                    | Paragraph type    | Add a profile of a staff person.                                                                                                                                                                                                          |
      | Starred Horizontal Rule                         | starred_horizontal_rule          | Paragraph type    | Current an inactive paragraph type, not enabled within any fields.                                                                                                                                                                        |
      | Step                                            | step                             | Paragraph type    | Single step.                                                                                                                                                                                                                              |
      | Step by step                                    | step_by_step                     | Paragraph type    | An ordered list (1, 2, 3, 4, N) of steps.                                                                                                                                                                                                 |
      | Step-by-Step                                    | step_by_step                     | Content type      | An ordered list (1, 2, 3, 4, N) of steps with Call to Action buttons.                                                                                                                                                                     |
      | Story                                           | news_story                       | Content type      | Community stories highlight the role of a VA facility, program, or healthcare system in a Veteran's journey. They may be a case study of a specific patient, a description of a new or successful program, or a community-interest story. |
      | Stories list                                    | story_listing                    | Content type      | A listing of stories.                                                                                                                                                                                                                     |
      | Support Service                                 | support_service                  | Content type      | Help desks, hotlines, etc, to be contextually placed alongside relevant content.                                                                                                                                                          |
      | Table                                           | table                            | Paragraph type    | Add an HTML table with rows and columns.                                                                                                                                                                                                  |
      | Type of Redirect                                | type_of_redirect                 | Vocabulary        |                                                                                                                                                                                                                                           |
      | VA form                                         | va_form                          | Content type      | VA forms available for download. Used to populate search results and also generate form landing pages                                                                                                                                     |
      | VAMC facility                                   | health_care_local_facility       | Content type      | A clinic or hospital within a VAMC system.                                                                                                                                                                                                |
      | VAMC facility health service                    | health_care_local_health_service | Content type      | A facility specific description of a health care service, always embedded within a VAMC system description.                                                                                                                               |
      | VAMC facility service (non-healthcare service)  | health_care_local_facility_servi | Paragraph type    | A service available at a specific health care facility, like Parking, or Chaplaincy.                                                                                                                                                      |
      | VAMC system                                     | health_care_region_page          | Content type      | A VAMC system contains multiple VHA health facilities, including usually at least one VAMC, sometimes more.                                                                                                                               |
      | VAMC system banner alert with situation updates | full_width_banner_alert          | Content type      | A full-width alert that will be added to a VAMC system, or multiple VAMC systems.                                                                                                                                                         |
      | VAMC system health service                      | regional_health_care_service_des | Content type      | A description of a health service specific to a VAMC system.                                                                                                                                                                              |
      | VAMC system operating status                    | vamc_operating_status_and_alerts | Content type      | Create one of these pages for each VAMC system. Then you can add banner alerts and update facilities' operating status, all from one place.                                                                                               |
      | VBA facility                                    | vba_facility                     | Content type      | A facility within Veterans Benefits Administration system.                                                                                                                                                                                |
      | Vet Center                                      | vet_center                       | Content type      | A facility within Vet Centers system.                                                                                                                                                                                                     |
      | VHA health service taxonomy                     | health_care_service_taxonomy     | Vocabulary        | Single source of truth for health service names, descriptions, patient-friendly names, and common conditions.                                                                                                                             |
      | Video                                           | video                            | Media type        | A video hosted by YouTube, Vimeo, or some other provider.                                                                                                                                                                                 |
      | WYSIWYG                                         | wysiwyg                          | Paragraph type    | An open-ended text field.                                                                                                                                                                                                                 |

@api
Feature: Content model: Content Type fields
  In order to enter structured content into my site
  As a content editor
  I want to have content type fields that reflect my content model.

  @dst @field_type @content_type_fields @dstfields
  Scenario: Fields                                                      # drupal-spec-tool/content_model_content_type_fields.feature:8
    Then exactly the following fields should exist for entity type node # CustomDrupal\ContentModelContextCustom::assertFields()
      | Type         | Bundle                                          | Field label                                                                | Machine name                     | Field type                 | Required | Cardinality | Form widget                                    | Translatable |
      | Content type | Benefits detail page                            | Alert                                                                      | field_alert                      | Entity reference           |          | 1           | Entity browser                                 |              |
      | Content type | Benefits detail page                            | Featured content                                                           | field_featured_content           | Entity reference revisions |          | Unlimited   | Paragraphs EXPERIMENTAL                        |              |
      | Content type | Benefits detail page                            | Generate a table of contents from major headings                           | field_table_of_contents_boolean  | Boolean                    |          | 1           | Single on/off checkbox                         | Translatable |
      | Content type | Benefits detail page                            | Main content                                                               | field_content_block              | Entity reference revisions | Required | Unlimited   | Paragraphs Browser EXPERIMENTAL                |              |
      | Content type | Benefits detail page                            | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         |              |
      | Content type | Benefits detail page                            | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        |              |
      | Content type | Benefits detail page                            | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         |              |
      | Content type | Benefits detail page                            | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Benefits detail page                            | Page introduction                                                          | field_intro_text_limited_html    | Text (formatted, long)     | Required | 1           | -- Disabled --                                 |              |
      | Content type | Benefits detail page                            | Page introduction                                                          | field_intro_text                 | Text (plain, long)         | Required | 1           | Textarea (multiple rows) with counter          |              |
      | Content type | Benefits detail page                            | Page last built                                                            | field_page_last_built            | Date                       |          | 1           | -- Disabled --                                 |              |
      | Content type | Benefits detail page                            | Plain Language Certification Date                                          | field_plainlanguage_date         | Date                       |          | 1           | Date and time                                  |              |
      | Content type | Benefits detail page                            | Related Links                                                              | field_related_links              | Entity reference revisions |          | 1           | Paragraphs EXPERIMENTAL                        |              |
      | Content type | Benefits hub landing page                       | Alert                                                                      | field_alert                      | Entity reference           |          | 1           | Entity browser                                 | Translatable |
      | Content type | Benefits hub landing page                       | Hub Icon                                                                   | field_title_icon                 | List (text)                |          | 1           | Select list                                    |              |
      | Content type | Benefits hub landing page                       | Hub label                                                                  | field_home_page_hub_label        | Text (plain)               |          | 1           | Textfield                                      |              |
      | Content type | Benefits hub landing page                       | Hub teaser text                                                            | field_teaser_text                | Text (plain)               |          | 1           | Textfield with counter                         |              |
      | Content type | Benefits hub landing page                       | Links for non-veterans                                                     | field_links                      | Link                       |          | Unlimited   | Linkit                                         |              |
      | Content type | Benefits hub landing page                       | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Benefits hub landing page                       | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type | Benefits hub landing page                       | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Benefits hub landing page                       | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    |              |
      | Content type | Benefits hub landing page                       | Page introduction                                                          | field_intro_text                 | Text (plain, long)         | Required | 1           | Text area (multiple rows)                      | Translatable |
      | Content type | Benefits hub landing page                       | Page last built                                                            | field_page_last_built            | Date                       |          | 1           | Date and time                                  | Translatable |
      | Content type | Benefits hub landing page                       | Plain language Certified Date                                              | field_plainlanguage_date         | Date                       |          | 1           | Date and time                                  | Translatable |
      | Content type | Benefits hub landing page                       | Promo                                                                      | field_promo                      | Entity reference           |          | 1           | Select list                                    |              |
      | Content type | Benefits hub landing page                       | Related Links                                                              | field_related_links              | Entity reference revisions |          | 1           | Paragraphs Classic                             | Translatable |
      | Content type | Benefits hub landing page                       | Spokes                                                                     | field_spokes                     | Entity reference revisions | Required | 4           | Paragraphs EXPERIMENTAL                        |              |
      | Content type | Benefits hub landing page                       | Support Services                                                           | field_support_services           | Entity reference           |          | Unlimited   | Inline entity form - Complex                   |              |
      | Content type | Checklist                                       | Alert                                                                      | field_alert                      | Entity reference           |          | 1           | Entity browser                                 | Translatable |
      | Content type | Checklist                                       | CTA buttons                                                                | field_buttons                    | Entity reference revisions | Required | 2           | Paragraphs EXPERIMENTAL                        | Translatable |
      | Content type | Checklist                                       | Checklist                                                                  | field_checklist                  | Entity reference revisions |          | 1           | Paragraphs EXPERIMENTAL                        |              |
      | Content type | Checklist                                       | Page introduction                                                          | field_intro_text_limited_html    | Text (formatted, long)     |          | 1           | Textarea (multiple rows) with counter          | Translatable |
      | Content type | Checklist                                       | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield                                      | Translatable |
      | Content type | Checklist                                       | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield                                      | Translatable |
      | Content type | Checklist                                       | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Checklist                                       | Repeat CTA buttons                                                         | field_buttons_repeat             | Boolean                    |          | 1           | Single on/off checkbox                         | Translatable |
      | Content type | Detail Page                                     | Alert                                                                      | field_alert                      | Entity reference           |          | 1           | Select list                                    | Translatable |
      | Content type | Detail Page                                     | Featured content                                                           | field_featured_content           | Entity reference revisions |          | Unlimited   | Paragraphs EXPERIMENTAL                        | Translatable |
      | Content type | Detail Page                                     | Generate a table of contents from major headings                           | field_table_of_contents_boolean  | Boolean                    |          | 1           | Single on/off checkbox                         |              |
      | Content type | Detail Page                                     | Main content                                                               | field_content_block              | Entity reference revisions |          | Unlimited   | Paragraphs Browser EXPERIMENTAL                | Translatable |
      | Content type | Detail Page                                     | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Detail Page                                     | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type | Detail Page                                     | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Detail Page                                     | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Detail Page                                     | Page introduction                                                          | field_intro_text                 | Text (plain, long)         | Required | 1           | Textarea (multiple rows) with counter          | Translatable |
      | Content type | Detail Page                                     | Related Links                                                              | field_related_links              | Entity reference revisions |          | 1           | Paragraphs EXPERIMENTAL                        | Translatable |
      | Content type | Detail Page                                     | Related office or health care system                                       | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | CMS help page                                   | Page introduction                                                          | field_intro_text                 | Text (plain, long)         | Required | 1           | Text area (multiple rows)                      | Translatable |
      | Content type | CMS help page                                   | Related user guides                                                        | field_related_user_guides        | Entity reference           |          | 5           | Autocomplete                                   |              |
      | Content type | CMS help page                                   | Generate a table of contents from major headings                           | field_table_of_contents_boolean  | Boolean                    |          | 1           | -- Disabled --                                 | Translatable |
      | Content type | CMS help page                                   | Main content                                                               | field_content_block              | Entity reference revisions |          | Unlimited   | Paragraphs Browser EXPERIMENTAL                | Translatable |
      | Content type | CMS help page                                   | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Event                                           | Building, floor, or room                                                   | field_location_humanreadable     | Text (plain)               |          | 1           | Textfield                                      |              |
      | Content type | Event                                           | Additional registration  information                                       | field_additional_information_abo | Text (formatted, long)     |          | 1           | Text area (multiple rows)                      |              |
      | Content type | Event                                           | Address                                                                    | field_address                    | Address                    |          | 1           | Address                                        |              |
      | Content type | Event                                           | Cost                                                                       | field_event_cost                 | Text (plain)               |          | 1           | Textfield with counter                         |              |
      | Content type | Event                                           | Date and time                                                              | field_date                       | Date range                 |          | 1           | Date and time range                            |              |
      | Content type | Event                                           | Where should the event be listed?                                          | field_listing                    | Entity reference           | Required | 1           | Select list                                    |              |
      | Content type | Event                                           | Facility location                                                          | field_facility_location          | Entity reference           |          | 1           | Select list                                    |              |
      | Content type | Event                                           | Featured                                                                   | field_featured                   | Boolean                    |          | 1           | Single on/off checkbox                         | Translatable |
      | Content type | Event                                           | Full event description                                                     | field_body                       | Text (formatted, long)     |          | 1           | Text area (multiple rows)                      |              |
      | Content type | Event                                           | Event image                                                                | field_media                      | Entity reference           |          | 1           | Media library                                  | Translatable |
      | Content type | Event                                           | Location type                                                              | field_location_type              | List (text)                |          | 1           | Select list                                    |              |
      | Content type | Event                                           | Teaser description                                                         | field_description                | Text (plain)               |          | 1           | Textfield                                      | Translatable |
      | Content type | Event                                           | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type | Event                                           | Order                                                                      | field_order                      | List (integer)             |          | 1           | Select list                                    |              |
      | Content type | Event                                           | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Event                                           | Registration required                                                      | field_event_registrationrequired | Boolean                    |          | 1           | Single on/off checkbox                         |              |
      | Content type | Event                                           | Label                                                                      | field_event_cta                  | List (text)                |          | 1           | Select list                                    |              |
      | Content type | Event                                           | URL                                                                        | field_link                       | Link                       |          | 1           | Link                                           | Translatable |
      | Content type | Event                                           | Online event link                                                          | field_url_of_an_online_event     | Link                       |          | 1           | Link                                           |              |
      | Content type | Events list                                     | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Events list                                     | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type | Events list                                     | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Events list                                     | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Events list                                     | Page introduction                                                          | field_intro_text                 | Text (plain, long)         |          | 1           | Text area (multiple rows)                      | Translatable |
      | Content type | Events list                                     | Office or health care system                                               | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | FAQ - multiple Q&As                             | CTA buttons                                                                | field_buttons                    | Entity reference revisions | Required | 2           | Paragraphs Classic                             | Translatable |
      | Content type | FAQ - multiple Q&As                             | Generate a table of contents from major headings                           | field_table_of_contents_boolean  | Boolean                    |          | 1           | Single on/off checkbox                         | Translatable |
      | Content type | FAQ - multiple Q&As                             | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | FAQ - multiple Q&As                             | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | FAQ - multiple Q&As                             | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | FAQ - multiple Q&As                             | Page introduction                                                          | field_intro_text_limited_html    | Text (formatted, long)     | Required | 1           | Textarea (multiple rows) with counter          | Translatable |
      | Content type | FAQ - multiple Q&As                             | Repeat CTA buttons                                                         | field_buttons_repeat             | Boolean                    |          | 1           | Single on/off checkbox                         | Translatable |
      | Content type | FAQ - multiple Q&As                             | Q&A groups                                                                 | field_q_a_groups                 | Entity reference revisions | Required | Unlimited   | Paragraphs Classic                             |              |
      | Content type | Health services list                            | Featured content on health-services page                                   | field_featured_content_healthser | Entity reference revisions |          | 3           | Paragraphs Classic                             | Translatable |
      | Content type | Health services list                            | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Health services list                            | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type | Health services list                            | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Health services list                            | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Health services list                            | Page introduction                                                          | field_intro_text                 | Text (plain, long)         |          | 1           | Text area (multiple rows)                      | Translatable |
      | Content type | Health services list                            | Related office or health care system                                       | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Leadership list                                 | Leadership team                                                            | field_leadership                 | Entity reference           |          | Unlimited   | Autocomplete                                   | Translatable |
      | Content type | Leadership list                                 | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Leadership list                                 | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type | Leadership list                                 | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Leadership list                                 | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Leadership list                                 | Page introduction                                                          | field_intro_text                 | Text (plain, long)         |          | 1           | Text area (multiple rows)                      | Translatable |
      | Content type | Leadership list                                 | Related office or health care system                                       | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Locations list                                  | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Locations list                                  | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type | Locations list                                  | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | Locations list                                  | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | Locations list                                  | Page introduction                                                          | field_intro_text                 | Text (plain, long)         |          | 1           | Text area (multiple rows)                      | Translatable |
      | Content type | Locations list                                  | Related office or health care system                                       | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | NCA facility                                    | Facility Locator API ID                                                    | field_facility_locator_api_id    | Text (plain)               |          | 1           | Textfield                                      | Translatable |
      | Content type | NCA facility                                    | Operating status                                                           | field_operating_status_facility  | List (text)                | Required | 1           | Select list                                    | Translatable |
      | Content type | NCA facility                                    | Operating status - more info                                               | field_operating_status_more_info | Text (plain, long)         |          | 1           | Textarea (multiple rows) with counter          | Translatable |
      | Content type | NCA facility                                    | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | News release                                    | Full text of the Press Release                                             | field_press_release_fulltext     | Text (formatted, long)     | Required | 1           | Text area (multiple rows)                      |              |
      | Content type | News release                                    | Introduction                                                               | field_intro_text                 | Text (plain, long)         | Required | 1           | Textarea (multiple rows) with counter          | Translatable |
      | Content type | News release                                    | Location                                                                   | field_address                    | Address                    | Required | 1           | Address                                        | Translatable |
      | Content type | News release                                    | Media assets                                                               | field_press_release_downloads    | Entity reference           |          | Unlimited   | Media library                                  |              |
      | Content type | News release                                    | Media Contact(s)                                                           | field_press_release_contact      | Entity reference           |          | Unlimited   | Autocomplete                                   | Translatable |
      | Content type | News release                                    | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type | News release                                    | News releases listing                                                      | field_listing                    | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | News release                                    | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type | News release                                    | PDF of Press Release                                                       | field_pdf_version                | Entity reference           |          | 1           | Media library                                  |              |
      | Content type | News release                                    | Release date                                                               | field_release_date               | Date                       |          | 1           | Date and time                                  |              |
      | Content type | News releases list                              | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type | News releases list                              | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatab... *(truncated)*
  • On: ip-10-247-35-93
  • In: 21:51

@va-cms-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Test Failed: va/tests/accessibility
composer va:test:accessibility
> npm install --only=production
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network request to https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz failed, reason: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/www/.npm/_logs/2020-08-14T19_09_13_474Z-debug.log
Script npm install --only=production handling the va:test:accessibility event returned with error code 1
  • On: ip-10-247-34-218
  • In: 02:24

Please sign in to comment.