Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
.. image:: https://img.shields.io/pypi/v/bok_choy.svg :target: https://pypi.python.org/pypi/bok_choy/ :alt: PyPI
.. image:: https://github.com/openedx/bok-choy/workflows/Python%20CI/badge.svg?branch=master :target: https://github.com/openedx/bok-choy/actions?query=workflow%3A%22Python+CI%22 :alt: Github CI
.. image:: http://codecov.io/github/edx/bok-choy/coverage.svg?branch=master :target: http://codecov.io/github/edx/bok-choy?branch=master :alt: Codecov
.. image:: https://readthedocs.org/projects/bok-choy/badge/?version=latest :target: http://bok-choy.readthedocs.io/en/latest/ :alt: Documentation
.. image:: https://img.shields.io/pypi/pyversions/bok_choy.svg :target: https://pypi.python.org/pypi/bok_choy/ :alt: Supported Python versions
.. image:: https://img.shields.io/github/license/edx/bok-choy.svg :target: https://github.com/openedx/bok-choy/blob/master/LICENSE.txt :alt: License
UI-level acceptance test framework. Full documentation available on ReadTheDocs
__.
__ http://bok-choy.readthedocs.org/en/latest/
As of 2022-02-18, bok-choy is deprecated <https://github.com/openedx/public-engineering/issues/13>
_.
All tests written using bok-choy have either been removed or are slated to be removed soon.
Please do not write new tests using bok-choy!
In the near future, this repository will be archived.
A Python framework for writing robust Selenium tests.
As Bok Choy is a Python framework, you first need to install Python.
If you’re running Linux or Mac OS X, you probably already have it installed.
We recommend that you use pip <http://www.pip-installer.org/>
_ to install your Python
packages:
.. code-block:: bash
pip install bok_choy
.. Note::
On Ubuntu Linux 18.04 you might have to install firefox-geckodriver (for Firefox) and/or chromium-chomedriver (for Chromium), especially if you hit the following Error when running bok_choy::
bok_choy.promise.BrokenPromise: Promise not satisfied: Browser is instantiated successfully.
To run the test suite for bok-choy itself:
version 59.0.1 <https://ftp.mozilla.org/pub/firefox/releases/59.0.1/>
_
works with the latest selenium Python package (3.11.0)phantomjs <http://phantomjs.org/download.html>
_pip install -r requirements/ci.txt
to
install the tox <http://tox.testrun.org/>
_ testing tool and its
dependenciestox -e py38
. If you want to run the tests in
parallel, add the desired number of worker processes like tox -e py38 -- -n 5
or tox -e py38 -- -n auto
.tox -e doc
py.test tests/<test file>::<test class>::<test name>
The code in this repository is licensed under the Apache License, Version 2.0, unless otherwise noted.
Please see LICENSE.txt
for details.
Contributions are very welcome. The easiest way is to fork this repo, and then make a pull request from your fork. The first time you make a pull request, you may be asked to sign a Contributor Agreement.
Please do not report security issues in public. Please email security@edx.org
You can discuss this code on the edx-code Google Group <https://groups.google.com/forum/#!forum/edx-code>
_
or in the testing channel on the Open edX Slack <https://openedx.slack.com>
_.
FAQs
Deprecated UI-level acceptance test framework
We found that bok-choy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.