Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VACMS-15783: Alt-Text Validation Testing #16159

Merged

Conversation

tonytaylor
Copy link
Contributor

@tonytaylor tonytaylor commented Nov 17, 2023

Description

Relates to #15783

Testing done

Added Cypress Tests in support of #15785

Select Team for PR review

  • CMS Team
  • Public websites
  • Facilities
  • User support
  • Accelerated Publishing

@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 17, 2023 19:22 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 17, 2023 20:50 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 17, 2023 20:56 Destroyed
Copy link
Contributor

@JunTaoLuo JunTaoLuo left a comment

Choose a reason for hiding this comment

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

Not sure what's going on but the tests don't seem to be passing here. Also, I'll defer to @edmund-dunn for a more thorough review but I had a few questions.

@@ -291,7 +291,8 @@
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"cweagans/composer-patches": true,
"orakili/composer-drupal-info-file-patch-helper": true
"orakili/composer-drupal-info-file-patch-helper": true,
"digitalrevolution/php-codesniffer-baseline": true
Copy link
Contributor

Choose a reason for hiding this comment

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

Strange, this should have been updated in 531ad7f. Can you double check why this change show up here?

Copy link
Contributor

Choose a reason for hiding this comment

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

@tonytaylor you might need to merge in a fresh copy of main?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

This branch isn't based off main, but 15785-alt-text-validation. So it should merge from that branch, not main. If that branch is being used as an integration branch, then it needs to be kept updated to avoid freaking out passersby.

Since this merged from main, it now includes changes to main that weren't in 15785-alt-text-validation, which makes this PR longer and weird AF to review.

Copy link
Contributor

Choose a reason for hiding this comment

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

In general, I also recommend for PRs to use rebase instead of merge to simplify the commit history for review purposes. Let me know if you need help with untangling this @tonytaylor.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@JunTaoLuo Thanks, I appreciate it. I could definitely stand to work on my git-fu.

Copy link
Contributor

Choose a reason for hiding this comment

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

Feel free to ping me on Slack whenever you want to sort out the git history tomorrow!

Copy link
Contributor

Choose a reason for hiding this comment

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

Noting here that this is needed because the base Tugboat image is based off of main and the base branch 15785-alt-text-validation is out of date with main, hence the need to add this tactical fix. This change will go away when the base branch is updated but we won't be blocking on that to merge the PR.

@tonytaylor tonytaylor requested review from a team as code owners November 21, 2023 00:19
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 21, 2023 00:19 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 21, 2023 16:53 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 21, 2023 17:31 Destroyed
Copy link

GitHub Workflows (.github/workflows/*.yml)

Have you...

  • pinned all affected GitHub Actions at a specific commit by SHA?
  • reviewed the source code of the action at the commit you are pinning?
  • confirmed that no GitHub security measures are being bypassed?
  • checked for any injection of user content into protected contexts?
  • reviewed Security hardening for GitHub Actions?
  • reviewed GitHub Workflows?

@tonytaylor tonytaylor force-pushed the VACMS-15783-alt-text-validation-testing branch from 724d0e0 to a4ce74f Compare November 22, 2023 16:58
@va-cms-bot va-cms-bot temporarily deployed to Tugboat November 22, 2023 16:58 Destroyed
@va-cms-bot
Copy link
Collaborator

va/tests/status-error:


entity_update
Title Entity/field definitions
Severity Error
Value Mismatched entity and/or field definitions

@JunTaoLuo
Copy link
Contributor

The cypress tests are failing in the base branch as well so the flakiness is probably introduced there. @tonytaylor can you update the PR description? Otherwise I think this PR is ready to be merged.

@tonytaylor tonytaylor merged commit ad412b7 into 15785-alt-text-validation Nov 22, 2023
15 of 16 checks passed
@tonytaylor tonytaylor deleted the VACMS-15783-alt-text-validation-testing branch November 22, 2023 17:48
edmund-dunn added a commit that referenced this pull request Jan 10, 2024
* VACMS-15435: hard validation for alt text field

* VACMS-15436: clientside validation for alt text field

* VACMS-15436: updated composer.lock

* VACMS-15436: fix linting errors

* VACMS-15436: one more linting error fixed

* VACMS-15436: more linting fixes

* VACMS-15785: updated composer.lock

* VACMS-15962: theming changes for image form

* VACMS-15962: fix linting errors

* VACMS-15962: final fix

* VACMS-15783: Alt-Text Validation Testing (#16159)

* VACMS-15783 adds alt-text validation tests

* VACMS-15785: update composer.lock, fix merge error

* VACMS-15785: fix for spacing around error

* VACMS-15785: updated composer.lock

* Updates content

* smdh

---------

Co-authored-by: Tony Taylor <[email protected]>
Co-authored-by: Nathan Douglas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants