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

Add Bootstrap support to Vue Component Tests #649

Conversation

FutzMonitor
Copy link
Collaborator

Pull Request Description

Imported stylesheets to the component.js file so that the CustomTableComponent and the BannerComponent appear as they are supposed to within the unit tests.


Licensing Certification

FarmData2 is a Free Cultural Work and all accepted contributions are licensed as described in the LICENSE.md file. This requires that the contributor holds the rights to do so. By submitting this pull request I certify that I satisfy the terms of the Developer Certificate of Origin for its contents.

1. Added bootstrap@3.3.7 to the DockerFile to be installed in the fd2test directory. This will make the stylesheet available for the BannerComponent when we import it into Cypress.
Changes to cypress/support/component.js
1. Imported the stylesheets for the project and bootstrap so that the CustomTableComponent and the BannerComponent look like what they're supposed to look like in the page within their unit tests.
@braughtg braughtg changed the title Changes to dev/DockerFile Add Bootstrap support to Vue Component Tests Apr 30, 2023
braughtg added a commit that referenced this pull request Apr 30, 2023
__Pull Request Description__

Builds on #649, see that PR for additional information.

---
__Licensing Certification__

FarmData2 is a [Free Cultural
Work](https://freedomdefined.org/Definition) and all accepted
contributions are licensed as described in the LICENSE.md file. This
requires that the contributor holds the rights to do so. By submitting
this pull request __I certify that I satisfy the terms of the [Developer
Certificate of Origin](https://developercertificate.org/)__ for its
contents.

---------

Co-authored-by: futzmonitor <cgonzalez.smdc@gmail.com>
@braughtg braughtg closed this Apr 30, 2023
braughtg added a commit that referenced this pull request Apr 30, 2023
__Pull Request Description__

Builds on #649.  See that PR for a fuller description.

Closes #649.

---
__Licensing Certification__

FarmData2 is a [Free Cultural
Work](https://freedomdefined.org/Definition) and all accepted
contributions are licensed as described in the LICENSE.md file. This
requires that the contributor holds the rights to do so. By submitting
this pull request __I certify that I satisfy the terms of the [Developer
Certificate of Origin](https://developercertificate.org/)__ for its
contents.

---------

Co-authored-by: futzmonitor <cgonzalez.smdc@gmail.com>
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.

2 participants