Skip to content

Commit

Permalink
VAGOV-6374: Adding draggable table functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanteague committed Feb 4, 2020
1 parent 57f58b6 commit eaf37b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@
"Bypass password requirement for password change if logged in with sso.": "https://www.drupal.org/files/issues/2018-05-01/simplesamlphp_auth-change-password-access-2968598-2.patch"
},
"drupal/tablefield": {
"0 string value in cell throws empty error": "https://www.drupal.org/files/issues/2019-12-10/0-value-throwing-empty-error.patch"
"0 string value in cell throws empty error": "https://www.drupal.org/files/issues/2019-12-10/0-value-throwing-empty-error.patch",
"Make tables draggable": "https://www.drupal.org/files/issues/2019-04-25/tablefield-tabledrag_support-3040358-4-D8.patch"
},
"drupal/textfield_counter": {
"Prevent form submission when character limit exceeded option does not work": "https://www.drupal.org/files/issues/2018-10-04/textfield_counter-prevent_form_submission_does_not_work-3004457-2.patch"
Expand Down

4 comments on commit eaf37b5

@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
> phantomjs-prebuilt@2.1.16 install /var/aegir/projects/cms/pr902/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Verified checksum of previously downloaded file
Extracting tar contents (via spawned process)
Removing /var/aegir/projects/cms/pr902/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1580833596506/phantomjs-2.1.1-linux-x86_64 -> /var/aegir/projects/cms/pr902/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /var/aegir/projects/cms/pr902/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs

> core-js@2.6.9 postinstall /var/aegir/projects/cms/pr902/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

added 134 packages from 190 contributors and audited 183 packages in 4.756s
found 2 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details

> axe_tests@1.0.0 test /var/aegir/projects/cms/pr902
> node ./tests/accessibility/aXeAccessibilityCheck.js

!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov 1
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/sections  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/page  = 1
[ { id: 'duplicate-id',
    impact: 'minor',
    tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
    description: 'Ensures every id attribute value is unique',
    help: 'id attribute value must be unique',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
    nodes: [ [Object], [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/landing_page  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/documentation_page  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/event  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/health_care_local_facility  = 1
[ { id: 'label',
    impact: 'critical',
    tags:
     [ 'cat.forms',
       'wcag2a',
       'wcag332',
       'wcag131',
       'section508',
       'section508.22.n' ],
    description: 'Ensures every form element has a label',
    help: 'Form elements must have labels',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
    nodes:
     [ [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/health_care_region_detail_page  = 1
[ { id: 'duplicate-id',
    impact: 'minor',
    tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
    description: 'Ensures every id attribute value is unique',
    help: 'id attribute value must be unique',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
    nodes: [ [Object], [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/health_care_region_page  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/office  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/outreach_asset  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/person_profile  = 1
[ { id: 'duplicate-id-aria',
    impact: 'critical',
    tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
    description:
     'Ensures every id attribute value used in ARIA and in labels is unique',
    help: 'IDs used in ARIA and labels must be unique',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/duplicate-id-aria?application=webdriverjs',
    nodes: [ [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/press_release  = 1
[ { id: 'aria-allowed-attr',
    impact: 'critical',
    tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
    description: 'Ensures ARIA attributes are allowed for an element\'s role',
    help: 'Elements must only use allowed ARIA attributes',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/aria-allowed-attr?application=webdriverjs',
    nodes: [ [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/regional_health_care_service_des  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/news_story  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/support_service  = 0
[]
!!!  VIOLATION TYPES FOUND: 6 PROCESS EXITED WITH CODE 1  !!!
> npm install --only=production
> npm test
Tue, 04 Feb 2020 16:26:40 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:44:14
Tue, 04 Feb 2020 16:26:43 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:56:42
Failed to inject axe-core into one of the iframes!
Failed to inject axe-core into one of the iframes!
npm ERR! Test failed.  See above for more details.
Script npm test handling the va:test:accessibility event returned with error code 1
  • On: devshop.cms.va.gov
  • In: 01:18

@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!"
va_gov.build config does not exist. Do you want to create a new config object? (y/n): y

> vets-website@1.0.0 prebuild /var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web
> node script/prebuild.js


> vets-website@1.0.0 build /var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web
> node --max-old-space-size=4096 script/build.js "--pull-drupal" "--no-drupal-proxy"

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: Create React pages
Generating HTML template for application Authentication callback at /auth/login/callback
Generating HTML template for application 21P-530 Burials benefits form at /burials-and-memorials/application/530
Generating HTML template for application Claims Status at /track-claims
Generating HTML template for application 21-526EZ disability compensation claim form at /disability-benefits/apply/form-526-disability-claim
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 /disability-benefits/apply/form-0996-higher-level-review
Generating HTML template for application 21-526EZ disability compensation claim form at /disability/file-disability-claim-form-21-526ez
Generating HTML template for application Discharge Wizard at /discharge-upgrade-instructions
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-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 22-1990 Education benefits form at /education/apply-for-education-benefits/application/1990
Generating HTML template for application 22-1990E Education benefits form at /education/apply-for-education-benefits/application/1990E
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-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 Facility Locator at /find-locations
Generating HTML template for application GI Bill Comparison Tool at /gi-bill-comparison-tool
Generating HTML template for application 1010ez Health Care Application form at /health-care/apply/application
Generating HTML template for application Veteran ID Card beta registration at /id-card-beta
Generating HTML template for application Letters at /records/download-va-letters/letters
Generating HTML template for application 21-527EZ pension benefits form at /pension/application/527EZ
Generating HTML template for application Account at /account
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 Rated Disabilities at /disability/view-disability-rating/rating
Generating HTML template for application View Dependents at /disability/view-dependents
Generating HTML template for application Post 9/11 GI Bill Status at /education/gi-bill/post-9-11/ch-33-benefit
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 Search at /search
Generating HTML template for application Terms and Conditions at /health-care/medical-information-terms-conditions
Generating HTML template for application My Health Account Validation at /health-care/my-health-account-validation
Generating HTML template for application VA Online Scheduling at /health-care/schedule-view-va-appointments/appointments
Generating HTML template for application Verify identity at /verify
Generating HTML template for application Veteran ID Card V1 at /records/get-veteran-id-cards/apply
Generating HTML template for application 21-22 Appoint Veteran Service Officer as Representative at /veteran-representative
Generating HTML template for application Veteran ID Card V2 at /veteran-id-card/apply
Generating HTML template for application 28-1900 Vocational Rehab Chapter 31 form at /employment/vocational-rehab-and-employment/application/chapter31
Generating HTML template for application 28-8832 Vocational Rehab Chapter 36 form at /employment/vocational-rehab-and-employment/application/chapter36
Step 1 end [38ms]: Create React pages

Step 2 start: Get Drupal content
Drupal content unavailable in local cache: /var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/.cache/localhost/drupal/pages.json
Attempting to load Drupal content from API at http://pr902.ci.cms.va.gov
http://pr902.ci.cms.va.gov response time: : 53234.327ms
Drupal successfully loaded!
TypeError: Cannot read property '0' of null
    at Node.doc.each (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:60:6)
    at initialize.exports.each (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/cheerio/lib/api/traversing.js:300:24)
    at updateAttr (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:54:40)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:100:12)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:16:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:18:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:18:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
    at data.map.item (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:10:32)
    at Array.map (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:10:20)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:18:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:18:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
Failed to pipe Drupal content into Metalsmith!
Step 2 end [54112ms]: Get Drupal content

Step 3 start: Add Drupal Prefix
Drupal-generated pages set to overwrite vagov-content.
Step 3 end [0ms]: Add Drupal Prefix

Step 4 start: Create Outreach Assets Data
Step 4 end [0ms]: Create Outreach Assets Data
tests.yml | composer va:web:build included the Drupal/Metalsmith error.
> drush config-set va_gov.build web.build.pending 1 -y
va_gov.build config does not exist. Do you want to create a new config object? (y/n): y
> rm -rf vendor/va-gov/web/build/localhost/
> cd web && npm run build -- --pull-drupal  --no-drupal-proxy

> vets-website@1.0.0 prebuild /var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web
> node script/prebuild.js


> vets-website@1.0.0 build /var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web
> node --max-old-space-size=4096 script/build.js "--pull-drupal" "--no-drupal-proxy"

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: Create React pages
Generating HTML template for application Authentication callback at /auth/login/callback
Generating HTML template for application 21P-530 Burials benefits form at /burials-and-memorials/application/530
Generating HTML template for application Claims Status at /track-claims
Generating HTML template for application 21-526EZ disability compensation claim form at /disability-benefits/apply/form-526-disability-claim
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 /disability-benefits/apply/form-0996-higher-level-review
Generating HTML template for application 21-526EZ disability compensation claim form at /disability/file-disability-claim-form-21-526ez
Generating HTML template for application Discharge Wizard at /discharge-upgrade-instructions
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-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 22-1990 Education benefits form at /education/apply-for-education-benefits/application/1990
Generating HTML template for application 22-1990E Education benefits form at /education/apply-for-education-benefits/application/1990E
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-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 Facility Locator at /find-locations
Generating HTML template for application GI Bill Comparison Tool at /gi-bill-comparison-tool
Generating HTML template for application 1010ez Health Care Application form at /health-care/apply/application
Generating HTML template for application Veteran ID Card beta registration at /id-card-beta
Generating HTML template for application Letters at /records/download-va-letters/letters
Generating HTML template for application 21-527EZ pension benefits form at /pension/application/527EZ
Generating HTML template for application Account at /account
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 Rated Disabilities at /disability/view-disability-rating/rating
Generating HTML template for application View Dependents at /disability/view-dependents
Generating HTML template for application Post 9/11 GI Bill Status at /education/gi-bill/post-9-11/ch-33-benefit
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 Search at /search
Generating HTML template for application Terms and Conditions at /health-care/medical-information-terms-conditions
Generating HTML template for application My Health Account Validation at /health-care/my-health-account-validation
Generating HTML template for application VA Online Scheduling at /health-care/schedule-view-va-appointments/appointments
Generating HTML template for application Verify identity at /verify
Generating HTML template for application Veteran ID Card V1 at /records/get-veteran-id-cards/apply
Generating HTML template for application 21-22 Appoint Veteran Service Officer as Representative at /veteran-representative
Generating HTML template for application Veteran ID Card V2 at /veteran-id-card/apply
Generating HTML template for application 28-1900 Vocational Rehab Chapter 31 form at /employment/vocational-rehab-and-employment/application/chapter31
Generating HTML template for application 28-8832 Vocational Rehab Chapter 36 form at /employment/vocational-rehab-and-employment/application/chapter36
Step 1 end [38ms]: Create React pages

Step 2 start: Get Drupal content
Drupal content unavailable in local cache: /var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/.cache/localhost/drupal/pages.json
Attempting to load Drupal content from API at http://pr902.ci.cms.va.gov
http://pr902.ci.cms.va.gov response time: : 53234.327ms
Drupal successfully loaded!
TypeError: Cannot read property '0' of null
    at Node.doc.each (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:60:6)
    at initialize.exports.each (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/cheerio/lib/api/traversing.js:300:24)
    at updateAttr (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:54:40)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:100:12)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:16:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:18:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:18:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
    at data.map.item (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:10:32)
    at Array.map (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:10:20)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:18:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
    at Object.keys.forEach.key (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:18:20)
    at Array.forEach (<anonymous>)
    at replacePathInData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/assets.js:12:26)
Failed to pipe Drupal content into Metalsmith!
Step 2 end [54112ms]: Get Drupal content

Step 3 start: Add Drupal Prefix
Drupal-generated pages set to overwrite vagov-content.
Step 3 end [0ms]: Add Drupal Prefix

Step 4 start: Create Outreach Assets Data
Step 4 end [0ms]: Create Outreach Assets Data

Step 5 start: Create environment filter
Step 5 end [0ms]: Create environment filter

Step 6 start: Add filenames for debugging
Step 6 end [0ms]: Add filenames for debugging

Step 7 start: Apply template fragments
Step 7 end [5ms]: Apply template fragments

Step 8 start: Check collections
Step 8 end [0ms]: Check collections

Step 9 start: Group collections
Step 9 end [73ms]: Group collections

Step 10 start: Reset left rail navigation menu levels
Step 10 end [0ms]: Reset left rail navigation menu levels

Step 11 start: Add the date to filenames
Step 11 end [1ms]: Add the date to filenames

Step 12 start: Add app assets
Step 12 end [137ms]: Add app assets

Step 13 start: Add content assets
Step 13 end [172ms]: Add content assets

Step 14 start: Plug the content into the templates
Step 14 end [97ms]: Plug the content into the templates

Step 15 start: Translate the markdown to html
Step 15 end [53ms]: Translate the markdown to html

Step 16 start: Add permalinks and change foo.md to foo/index.html
Step 16 end [21ms]: Add permalinks and change foo.md to foo/index.html

Step 17 start: Create feature toggles
Step 17 end [3ms]: Create feature toggles

Step 18 start: Create header and footer
/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/index.js:245
    if (err) throw err;
             ^

TypeError: Cannot read property 'data' of undefined
    at formatHeaderData (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/drupal/menus.js:267:31)
    at Ware.<anonymous> (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/plugins/create-header-footer.js:88:34)
    at Ware.<anonymous> (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/wrap-fn/index.js:45:19)
    at next (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/ware/lib/index.js:85:20)
    at /var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/wrap-fn/index.js:121:18
    at Ware.<anonymous> (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/wrap-fn/index.js:83:42)
    at Ware.<anonymous> (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/wrap-fn/index.js:57:27)
    at next (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/ware/lib/index.js:85:20)
    at /var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/wrap-fn/index.js:121:18
    at Ware.<anonymous> (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/wrap-fn/index.js:83:42)
    at Ware.<anonymous> (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/wrap-fn/index.js:57:27)
    at next (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/ware/lib/index.js:85:20)
    at /var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/node_modules/wrap-fn/index.js:121:18
    at Ware.<anonymous> (/var/aegir/projects/cms/pr902/docroot/vendor/va-gov/web/src/site/stages/build/plugins/create-feature-toggles.js:33:5)
    at process._tickCallback (internal/process/next_tick.js:68:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vets-website@1.0.0 build: `node --max-old-space-size=4096 script/build.js "--pull-drupal" "--no-drupal-proxy"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the vets-website@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/aegir/.npm/_logs/2020-02-04T16_28_51_791Z-debug.log
Script cd web && npm run build -- --pull-drupal  --no-drupal-proxy handling the va:web:build event returned with error code 1
  • On: devshop.cms.va.gov
  • In: 57.666s

@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
  In order to enter structured content into my site
  As a content editor
  I want to have content entity types that reflect my content model.

  @dst @content_type
  Scenario: Bundles                                                     # drupal-spec-tool/content_model.feature:8
    Then exactly the following content entity type bundles should exist # CustomDrupal\ContentModelContextCustom::assertBundles()
      | Name                                            | Machine name                     | Type              | Description                                                                                                                                                                                                                               |
      | 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.                                                                                                                                                    |
      | Detail Page                                     | health_care_region_detail_page   | Content type      | For static pages where there's not another content type already available.                                                                                                                                                                |
      | Documentation page                              | documentation_page               | Content type      | Help pages VA.gov CMS editors.                                                                                                                                                                                                            |
      | Event                                           | event                            | Content type      | For online or in-person events like support groups, outreach events, public lectures, and more.                                                                                                                                           |
      | Event listing                                   | event_listing                    | Content type      | A listing of events.                                                                                                                                                                                                                      |
      | 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.                                                                         |
      | Office                                          | office                           | Content type      | An office at the VA, which may have contact info, events, news, and a leadership page in some cases.                                                                                                                                      |
      | Publication                                     | outreach_asset                   | Content type      | Contains a document, image, or video, for publication within a Publication library.                                                                                                                                                       |
      | Publication listing                             | publication_listing              | Content type      | This allows the listing of publication materials such as documents, videos, and images all in one place.                                                                                                                                  |
      | Staff profile                                   | person_profile                   | Content type      | Profiles of staff members for display in various places around the site.                                                                                                                                                                  |
      | 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. |
      | Support Service                                 | support_service                  | Content type      | Help desks, hotlines, etc, to be contextually placed alongside relevant content.                                                                                                                                                          |
      | 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 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 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.                                                                                               |
      | Alert                                           | alert                            | Custom block type | An alert box that can be added to individual pages.                                                                                                                                                                                       |
      | Promo                                           | promo                            | Custom block type | Promote a link with an image, title, and description.                                                                                                                                                                                     |
      | Document                                        | document                         | Media type        | A locally hosted document, such as a PDF.                                                                                                                                                                                                 |
      | Image                                           | image                            | Media type        | Locally hosted images.                                                                                                                                                                                                                    |
      | Video                                           | video                            | Media type        | A video hosted by YouTube, Vimeo, or some other provider.                                                                                                                                                                                 |
      | 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    | Spanish summary to include a brief spanish-language summary of the content.                                                                                                                                                               |
      | Address                                         | address                          | Paragraph type    | An address block.                                                                                                                                                                                                                         |
      | Alert                                           | alert                            | Paragraph type    | A reusable or non-reusable alert, either "information status" or "warning status".                                                                                                                                                        |
      | Embedded image                                  | media                            | Paragraph type    | For adding an image inline                                                                                                                                                                                                                |
      | Expandable Text                                 | expandable_text                  | Paragraph type    | Text that expands upon click.                                                                                                                                                                                                             |
      | 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.                                                                                                                                                                        |
      | 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.                                                                                          |
      | Process list                                    | process                          | Paragraph type    | An ordered list (1, 2, 3, 4, N) of steps in a process.                                                                                                                                                                                    |
      | Q&A                                             | q_a                              | Paragraph type    | Question and Answer                                                                                                                                                                                                                       |
      | 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.                                                                                                                                                           |
      | 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.                                                                                                                                                                        |
      | Table                                           | table                            | Paragraph type    | Add an HTML table with rows and columns.                                                                                                                                                                                                  |
      | 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.                                                                                                                                                      |
      | WYSIWYG                                         | wysiwyg                          | Paragraph type    | An open-ended text field.                                                                                                                                                                                                                 |
      | Situation update                                | situation_update                 | Paragraph type    | A time-sensitive, added to a banner alert, and displayed on VAMC operating status pages.                                                                                                                                                  |
      | Sections                                        | administration                   | Vocabulary        | Represents a hierarchy of the VA, partly for governance purposes.                                                                                                                                                                         |
      | Type of Redirect                                | type_of_redirect                 | Vocabulary        |                                                                                                                                                                                                                                           |
      | VHA health service taxonomy                     | health_care_service_taxonomy     | Vocabulary        | Single source of truth for health service names, descriptions, patient-friendly names, and common conditions.                                                                                                                             |
      | Health services listing                         | health_services_listing          | Content type      | A listing of health services.                                                                                                                                                                                                             |
      | Locations listing                               | locations_listing                | Content type      | A listing of locations.                                                                                                                                                                                                                   |
      | News releases listing                           | press_releases_listing           | Content type      | A listing of press releases.                                                                                                                                                                                                              |
      | Story listing                                   | story_listing                    | Content type      | A listing of stories.                                                                                                                                                                                                                     |

  @dst @field_type
  Scenario: Fields                                 # drupal-spec-tool/content_model.feature:65
    Then exactly the following fields should exist # CustomDrupal\ContentModelContextCustom::assertFields()
      | Type              | Bundle                                          | Field label                                                                | Machine name                     | Field type                 | Required | Cardinality | Form widget                                    | Translatable |
      | Content type      | Benefits detail page                            | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Benefits detail page                            | Alert                                                                      | field_alert                      | Entity reference           |          | 1           | Select list                                    |              |
      | Content type      | Benefits detail page                            | Main content                                                               | field_content_block              | Entity reference revisions | Required | Unlimited   | Paragraphs Browser EXPERIMENTAL                |              |
      | Content type      | Benefits detail page                            | Description                                                                | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         |              |
      | Content type      | Benefits detail page                            | Featured content                                                           | field_featured_content           | Entity reference revisions |          | Unlimited   | Paragraphs EXPERIMENTAL                        |              |
      | Content type      | Benefits detail page                            | Intro text                                                                 | field_intro_text                 | Text (plain, long)         | Required | 1           | Textarea (multiple rows) 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                            | 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                       | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    |              |
      | Content type      | Benefits hub landing page                       | Alert                                                                      | field_alert                      | Entity reference           |          | 1           | Select list                                    | Translatable |
      | Content type      | Benefits hub landing page                       | Description                                                                | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type      | Benefits hub landing page                       | Home page hub label                                                        | field_home_page_hub_label        | Text (plain)               |          | 1           | Textfield                                      |              |
      | Content type      | Benefits hub landing page                       | Intro text                                                                 | field_intro_text                 | Text (plain, long)         | Required | 1           | Text area (multiple rows)                      | Translatable |
      | Content type      | Benefits hub landing page                       | Links for non-veterans                                                     | field_links                      | Link                       |          | Unlimited   | Linkit                                         |              |
      | 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                       | 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      | Benefits hub landing page                       | Teaser text                                                                | field_teaser_text                | Text (plain)               |          | 1           | Textfield with counter                         |              |
      | Content type      | Benefits hub landing page                       | Hub Icon                                                                   | field_title_icon                 | List (text)                |          | 1           | Select list                                    |              |
      | Content type      | Detail Page                                     | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Detail Page                                     | Alert                                                                      | field_alert                      | Entity reference           |          | 1           | Select list                                    | Translatable |
      | Content type      | Detail Page                                     | Main content                                                               | field_content_block              | Entity reference revisions |          | Unlimited   | Paragraphs Browser EXPERIMENTAL                | Translatable |
      | Content type      | Detail Page                                     | Summary                                                                    | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type      | Detail Page                                     | Featured content                                                           | field_featured_content           | Entity reference revisions |          | Unlimited   | Paragraphs EXPERIMENTAL                        | Translatable |
      | Content type      | Detail Page                                     | Intro text                                                                 | field_intro_text                 | Text (plain, long)         | Required | 1           | Textarea (multiple rows) 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                                     | Related office or health care system                                       | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Detail Page                                     | Related Links                                                              | field_related_links              | Entity reference revisions |          | 1           | 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      | Documentation page                              | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Documentation page                              | Main content                                                               | field_content_block              | Entity reference revisions |          | Unlimited   | Paragraphs Browser EXPERIMENTAL                | Translatable |
      | Content type      | Event                                           | Additional information about registration                                  | field_additional_information_abo | Text (formatted, long)     |          | 1           | Text area (multiple rows)                      |              |
      | Content type      | Event                                           | Address                                                                    | field_address                    | Address                    |          | 1           | Address                                        |              |
      | Content type      | Event                                           | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Event                                           | Full event description                                                     | field_body                       | Text (formatted, long)     |          | 1           | Text area (multiple rows)                      |              |
      | Content type      | Event                                           | Date and time                                                              | field_date                       | Date range                 |          | 1           | Date and time range                            |              |
      | Content type      | Event                                           | A brief (ideally one sentence) summary of the event                        | field_description                | Text (plain)               |          | 1           | Textfield                                      | Translatable |
      | Content type      | Event                                           | Cost                                                                       | field_event_cost                 | Text (plain)               |          | 1           | Textfield with counter                         |              |
      | Content type      | Event                                           | URL Link Label                                                             | field_event_cta                  | List (text)                |          | 1           | Select list                                    |              |
      | Content type      | Event                                           | Registration required                                                      | field_event_registrationrequired | Boolean                    |          | 1           | Single on/off checkbox                         |              |
      | 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                                           | URL of an external page or registration link for this event                | field_link                       | Link                       |          | 1           | Link                                           | Translatable |
      | Content type      | Event                                           | A human-readable label for the event location.                             | field_location_humanreadable     | Text (plain)               |          | 1           | Textfield                                      |              |
      | Content type      | Event                                           | Location type                                                              | field_location_type              | List (text)                |          | 1           | Select list                                    |              |
      | Content type      | Event                                           | Image                                                                      | field_media                      | Entity reference           |          | 1           | Media library                                  | Translatable |
      | Content type      | Event                                           | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type      | Event                                           | Event listing                                                              | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Event                                           | Order                                                                      | field_order                      | List (integer)             |          | 1           | Select list                                    |              |
      | Content type      | Event                                           | URL of an online event                                                     | field_url_of_an_online_event     | Link                       |          | 1           | Linkit                                         |              |
      | Content type      | Event listing                                   | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Event listing                                   | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type      | Event listing                                   | Intro text                                                                 | field_intro_text                 | Text (plain, long)         | Required | 1           | Text area (multiple rows)                      | Translatable |
      | Content type      | Event listing                                   | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type      | Event listing                                   | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type      | Event listing                                   | Related office or health care system                                       | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | News release                                    | Location                                                                   | field_address                    | Address                    | Required | 1           | Address                                        | Translatable |
      | Content type      | News release                                    | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | News release                                    | Introduction                                                               | field_intro_text                 | Text (plain, long)         | Required | 1           | Textarea (multiple rows) with counter          | Translatable |
      | Content type      | News release                                    | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type      | News release                                    | Healthcare system or related office                                        | field_office                     | 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                                    | Media Contact(s)                                                           | field_press_release_contact      | Entity reference           |          | Unlimited   | Autocomplete                                   | Translatable |
      | Content type      | News release                                    | Media assets                                                               | field_press_release_downloads    | Entity reference           |          | Unlimited   | Media library                                  |              |
      | 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                                    | Release date                                                               | field_release_date               | Date                       |          | 1           | Date and time                                  |              |
      | Content type      | Office                                          | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Office                                          | Body                                                                       | field_body                       | Text (formatted, long)     |          | 1           | Text area (multiple rows)                      | Translatable |
      | Content type      | Office                                          | Description                                                                | field_description                | Text (plain)               |          | 1           | Textfield                                      | Translatable |
      | Content type      | Office                                          | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type      | Office                                          | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type      | Publication                                     | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Publication                                     | Related Benefits                                                           | field_benefits                   | List (text)                |          | 1           | Select list                                    |              |
      | Content type      | Publication                                     | A brief (ideally one sentence) summary of this asset                       | field_description                | Text (plain)               |          | 1           | Textfield                                      | Translatable |
      | Content type      | Publication                                     | Format                                                                     | field_format                     | List (text)                | Required | 1           | Select list                                    |              |
      | Content type      | Publication                                     | File or video                                                              | field_media                      | Entity reference           |          | 1           | Media library                                  |              |
      | Content type      | Publication                                     | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type      | Publication                                     | Healthcare system or related office                                        | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Publication listing                             | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Publication listing                             | Meta description                                                           | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type      | Publication listing                             | Intro text                                                                 | field_intro_text                 | Text (plain, long)         | Required | 1           | Text area (multiple rows)                      | Translatable |
      | Content type      | Publication listing                             | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type      | Publication listing                             | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type      | Publication listing                             | Related office or health care system                                       | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Staff profile                                   | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Staff profile                                   | Bio                                                                        | field_body                       | Text (formatted, long)     |          | 1           | Text area (multiple rows)                      | Translatable |
      | Content type      | Staff profile                                   | Complete Biography                                                         | field_complete_biography         | File                       |          | 1           | File                                           |              |
      | Content type      | Staff profile                                   | Job Title                                                                  | field_description                | Text (plain)               |          | 1           | Textfield                                      | Translatable |
      | Content type      | Staff profile                                   | Email address                                                              | field_email_address              | Email                      |          | 1           | Email                                          |              |
      | Content type      | Staff profile                                   | Introduction                                                               | field_intro_text                 | Text (plain, long)         |          | 1           | Textarea (multiple rows) with counter          | Translatable |
      | Content type      | Staff profile                                   | Last name                                                                  | field_last_name                  | Text (plain)               |          | 1           | Textfield                                      |              |
      | Content type      | Staff profile                                   | Photo                                                                      | field_media                      | Entity reference           |          | 1           | Media library                                  | Translatable |
      | Content type      | Staff profile                                   | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type      | Staff profile                                   | First name                                                                 | field_name_first                 | Text (plain)               |          | 1           | Textfield                                      |              |
      | Content type      | Staff profile                                   | Related office or health care region                                       | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Staff profile                                   | Phone Number                                                               | field_phone_number               | Telephone number           |          | 1           | Telephone number                               | Translatable |
      | Content type      | Staff profile                                   | High-resolution photo should be available for download by site visitors    | field_photo_allow_hires_download | Boolean                    |          | 1           | Single on/off checkbox                         |              |
      | Content type      | Staff profile                                   | Suffix                                                                     | field_suffix                     | Text (plain)               |          | 1           | Textfield                                      |              |
      | Content type      | Story                                           | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Story                                           | Author byline                                                              | field_author                     | Entity reference           |          | 1           | Autocomplete                                   |              |
      | Content type      | Story                                           | Featured                                                                   | field_featured                   | Boolean                    |          | 1           | Single on/off checkbox                         |              |
      | Content type      | Story                                           | Full text of Story                                                         | field_full_story                 | Text (formatted, long)     |          | 1           | Text area (multiple rows)                      |              |
      | Content type      | Story                                           | Image caption                                                              | field_image_caption              | Text (plain, long)         |          | 1           | Textarea (multiple rows) with counter          |              |
      | Content type      | Story                                           | Intro text                                                                 | field_intro_text                 | Text (plain, long)         | Required | 1           | Textarea (multiple rows) with counter          | Translatable |
      | Content type      | Story                                           | Image                                                                      | field_media                      | Entity reference           |          | 1           | Media library                                  | Translatable |
      | Content type      | Story                                           | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type      | Story                                           | Related office or health care region                                       | field_office                     | Entity reference           | Required | 1           | Select list                                    |              |
      | Content type      | Story                                           | Order                                                                      | field_order                      | List (integer)             |          | 1           | Select list                                    | Translatable |
      | Content type      | Support Service                                 | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Support Service                                 | Link                                                                       | field_link                       | Link                       |          | 1           | Link                                           |              |
      | Content type      | Support Service                                 | Related office                                                             | field_office                     | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | Support Service                                 | Page last built                                                            | field_page_last_built            | Date                       |          | 1           | Date and time                                  | Translatable |
      | Content type      | Support Service                                 | Phone Number                                                               | field_phone_number               | Telephone number           |          | 1           | Telephone number                               |              |
      | Content type      | VAMC facility                                   | Address                                                                    | field_address                    | Address                    |          | 1           | Address                                        | Translatable |
      | Content type      | VAMC facility                                   | Owner                                                                      | field_administration             | Entity reference           | Required | 1           | Select list                                    | Translatable |
      | Content type      | VAMC facility                                   | Description                                                                | field_description                | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type      | VAMC facility                                   | Email Subscription                                                         | field_email_subscription         | Link                       |          | 1           | Linkit                                         | Translatable |
      | Content type      | VAMC facility                                   | Facebook                                                                   | field_facebook                   | Link                       |          | 1           | Link                                           | Translatable |
      | Content type      | VAMC facility                                   | Classification                                                             | field_facility_classification    | List (text)                |          | 1           | Select list                                    |              |
      | Content type      | VAMC facility                                   | Hours                                                                      | field_facility_hours             | Table Field                |          | 1           | Table Field                                    |              |
      | Content type      | VAMC facility                                   | Facility Locator API ID                                                    | field_facility_locator_api_id    | Text (plain)               |          | 1           | Textfield                                      |              |
      | Content type      | VAMC facility                                   | Flickr                                                                     | field_flickr                     | Link                       |          | 1           | Link                                           | Translatable |
      | Content type      | VAMC facility                                   | Instagram                                                                  | field_instagram                  | Link                       |          | 1           | Link                                           | Translatable |
      | Content type      | VAMC facility                                   | Intro text                                                                 | field_intro_text                 | Text (plain, long)         |          | 1           | Textarea (multiple rows) with counter          | Translatable |
      | Content type      | VAMC facility                                   | Local health care service offerings                                        | field_local_health_care_service_ | Entity reference           |          | Unlimited   | -- Disabled --                                 | Translatable |
      | Content type      | VAMC facility                                   | Location services                                                          | field_location_services          | Entity reference revisions |          | Unlimited   | Paragraphs Classic                             |              |
      | Content type      | VAMC facility                                   | Main location                                                              | field_main_location              | Boolean                    |          | 1           | Single on/off checkbox                         |              |
      | Content type      | VAMC facility                                   | Image                                                                      | field_media                      | Entity reference           |          | 1           | Media library                                  | Translatable |
      | Content type      | VAMC facility                                   | Mental Health Phone                                                        | field_mental_health_phone        | Telephone number           |          | 1           | Telephone number                               |              |
      | Content type      | VAMC facility                                   | Meta tags                                                                  | field_meta_tags                  | Meta tags                  |          | 1           | Advanced meta tags form                        | Translatable |
      | Content type      | VAMC facility                                   | Meta title tag                                                             | field_meta_title                 | Text (plain)               | Required | 1           | Textfield with counter                         | Translatable |
      | Content type      | VAMC facility                                   | Nickname for this facility                                                 | field_nickname_for_this_facility | Text (plain)               | Required | 1           | Textfield                                      |              |
      | Content type      | VAMC facility                                   | Operating status                                                           | field_operating_status_facility  | List (text)                | Required | 1           | Select list                                    |              |
      | Content type      | VAMC facility                                   | Operating status - more info                                               | field_operating_status_more_info | Text (plain, long)         |          | 1           | Text area (multiple rows)                      |              |
      | Content type      | VAMC facility                                   | Phone Number                                                               | field_phone_number               | Telephone number           |          | 1           | Tele... *(truncated)*
  • On: devshop.cms.va.gov
  • In: 04:28

@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
> phantomjs-prebuilt@2.1.16 install /var/aegir/projects/cms/pr902/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Verified checksum of previously downloaded file
Extracting tar contents (via spawned process)
Removing /var/aegir/projects/cms/pr902/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1580867744544/phantomjs-2.1.1-linux-x86_64 -> /var/aegir/projects/cms/pr902/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /var/aegir/projects/cms/pr902/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs

> core-js@2.6.9 postinstall /var/aegir/projects/cms/pr902/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

added 134 packages from 190 contributors and audited 183 packages in 4.534s
found 2 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details

> axe_tests@1.0.0 test /var/aegir/projects/cms/pr902
> node ./tests/accessibility/aXeAccessibilityCheck.js

!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov 1
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/sections  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/page  = 1
[ { id: 'duplicate-id',
    impact: 'minor',
    tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
    description: 'Ensures every id attribute value is unique',
    help: 'id attribute value must be unique',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
    nodes: [ [Object], [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/landing_page  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/documentation_page  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/event  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/health_care_local_facility  = 1
[ { id: 'label',
    impact: 'critical',
    tags:
     [ 'cat.forms',
       'wcag2a',
       'wcag332',
       'wcag131',
       'section508',
       'section508.22.n' ],
    description: 'Ensures every form element has a label',
    help: 'Form elements must have labels',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/label?application=webdriverjs',
    nodes:
     [ [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/health_care_region_detail_page  = 1
[ { id: 'duplicate-id',
    impact: 'minor',
    tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
    description: 'Ensures every id attribute value is unique',
    help: 'id attribute value must be unique',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/duplicate-id?application=webdriverjs',
    nodes: [ [Object], [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/health_care_region_page  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/office  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/outreach_asset  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/person_profile  = 1
[ { id: 'duplicate-id-aria',
    impact: 'critical',
    tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
    description:
     'Ensures every id attribute value used in ARIA and in labels is unique',
    help: 'IDs used in ARIA and labels must be unique',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/duplicate-id-aria?application=webdriverjs',
    nodes: [ [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/press_release  = 1
[ { id: 'aria-allowed-attr',
    impact: 'critical',
    tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
    description: 'Ensures ARIA attributes are allowed for an element\'s role',
    help: 'Elements must only use allowed ARIA attributes',
    helpUrl:
     'https://dequeuniversity.com/rules/axe/3.3/aria-allowed-attr?application=webdriverjs',
    nodes: [ [Object] ] } ]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/regional_health_care_service_des  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/news_story  = 0
[]
!!!  NUMBER OF NEW VIOLATIONS on http://pr902.ci.cms.va.gov/node/add/support_service  = 0
[]
!!!  VIOLATION TYPES FOUND: 6 PROCESS EXITED WITH CODE 1  !!!
> npm install --only=production
> npm test
Wed, 05 Feb 2020 01:55:48 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:44:14
Wed, 05 Feb 2020 01:55:51 GMT axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 at tests/accessibility/aXeAccessibilityCheck.js:56:42
Failed to inject axe-core into one of the iframes!
Failed to inject axe-core into one of the iframes!
npm ERR! Test failed.  See above for more details.
Script npm test handling the va:test:accessibility event returned with error code 1
  • On: devshop.cms.va.gov
  • In: 01:20

Please sign in to comment.