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

feat: remove bokchoy dependency #2213

Conversation

deborahgu
Copy link
Member

  • removed the defunct acceptance tests folder
  • created an external ticket (APER-2857) to see if any of these tests should be replaced
  • Removed bok choy dependency
  • removed geckodriver dependency, which seems only to have been used by bok choy, and verified that karma tests still run
  • ran make upgrade

FIXES: #1989

Run JavaScript tests locally with Karma

There is work being done on a fix to get Karma to run in CI. Until then, however, contributors are required to run these tests locally.

  • Make sure you are inside the devstack container
  • Run make test-karma
  • All tests pass

* removed the defunct acceptance tests folder
* created an external ticket (APER-2857) to see if any of these tests should be replaced
* Removed bok choy dependency
* removed geckodriver dependency, which seems only to have been used by bok choy, and verified that karma tests still run
* ran `make upgrade`

FIXES: #1989
These readme files are actually still out of date, but I'm removing the
references specifically to the acceptance suite that is being flat out purged.
The readme files still need updates, however.

FIXES: APER-2857
@@ -42,10 +39,6 @@ container image that mimics the ones that Github Actions uses.
NOTE: The first time you run any of the test suites below, it
will build the image which will take a few minutes. Following test runs will be quicker.

To run acceptance tests locally ("acceptance_tests" in CI) ::
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: this README is still wrong w.r.t. local testing; all that's happening here is removing a reference to the now-removed, already unused test.

@@ -11,11 +11,10 @@ To make testing easier, there are a few commands that mirror our suites in CI:

.. code-block:: bash

$ make acceptance_tests_suite
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: this document is still wrong w.r.t. local testing; all that's happening here is removing a reference to the now-removed, already unused test.

Copy link
Contributor

@justinhynes justinhynes left a comment

Choose a reason for hiding this comment

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

LGTM!

@deborahgu deborahgu merged commit c98e8bd into master Sep 29, 2023
@deborahgu deborahgu deleted the dkaplan1/APER-2857_remove-bok-choy-testing-framework-from-credentials branch September 29, 2023 14:33
irtazaakram pushed a commit that referenced this pull request Oct 3, 2023
* feat: remove bokchoy dependency

* removed the defunct acceptance tests folder
* created an external ticket (APER-2857) to see if any of these tests should be replaced
* Removed bok choy dependency
* removed geckodriver dependency, which seems only to have been used by bok choy, and verified that karma tests still run
* ran `make upgrade`

FIXES: #1989
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.

Remove bok-choy usage
2 participants