1
0
mirror of https://github.com/quay/quay.git synced 2025-04-18 10:44:06 +03:00
quay/integration_tests
2023-10-06 14:11:36 +00:00
..
2019-11-12 11:09:47 -05:00
2019-11-12 11:09:47 -05:00
2019-11-12 11:09:47 -05:00
2019-11-12 11:09:47 -05:00
2019-11-12 11:09:47 -05:00

Quay Integration Testing

Dependencies:

  1. node.js >= 8 & yarn >= 1.3.2
  2. Google Chrome/Chromium >= 60 (needs --headless flag) for integration tests

Install Dependencies

To install the dependencies:

yarn install

You must run this command once, and every time the dependencies change. node_modules are not committed to git.

Integration Tests

Integration tests are run in a headless Chrome driven by protractor. Requirements include Chrome, a working Quay, podman.

Setup (or any time you change node_modules - yarn add or yarn install)

cd integration_tests && yarn run webdriver-update

Run integration tests:

yarn run test-all

Run integration tests against a specific test suite:

yarn run test-suite --suite <test suite>

Could check test suite list in package.json.

Required Environment Varaiable

export QUAY_APP_ADDRESS=<Quay Hostname>
export QUAY_INTERNAL_USERNAME=<Username>
export QUAY_INTERNAL_PASSWORD=<Password>

Supported Browsers

Support the latest versions of the following browsers:

  • Edge
  • Chrome
  • Safari
  • Firefox