Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apicurio/apicurio-registry-e2e-operate-first
https://github.com/apicurio/apicurio-registry-e2e-operate-first
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/apicurio/apicurio-registry-e2e-operate-first
- Owner: Apicurio
- License: apache-2.0
- Created: 2022-10-20T17:34:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-28T14:30:57.000Z (over 1 year ago)
- Last Synced: 2023-08-05T04:22:56.228Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Multitenant Apicurio Registry UI E2E - Operate First
This repository contains the User Interface End to End tests for the Operate First deployment of Apicurio Registry.
## Build & Run
Tools:
- [Typescript](https://www.typescriptlang.org/): close to the UI developers ecosystem
- [NPM](https://www.npmjs.com/): build tool
- [Node](https://nodejs.org/en/): runtime
- [Playwright](https://playwright.dev/): framework for UI testing
- [GH Action](https://docs.github.com/en/actions): infrastructureLocal requirements:
- `npm`: `8.X`
- `node`: `16.X````bash
npm install # Install all the needed Node dependencies
npx playwright install # Install all the Playwright dependencies and needed browsers
npx playwright test --project chromium # Executes the tests on a selected browser (`chromium` in this case)
```if you need to debug you can use the Playwright console and have a Playwright helper available in console by executing:
```bash
PWDEBUG=1 npx playwright test --project chromium --debug
```### Setup
This repository uses GitHub Actions as infrastructure to run the tests agains publicly accessible services.
There are currently 2 CI running on the `main` branch:- `quick.yml` faster feedback loop
run the tests using only the `chromium` browser on Linux
- `full.yml` wide coverage of OSes/browsers
run the tests for full coverage including:
`mac`, `linux`, `windows`
and multiple browsers:
`chromium`, `chrome`, `webkit`, `firefox`, `edge`The CI only runs on the `main` branch to avoid sharing secrets on branches and forks.
### Security
The only sensitive data in this project is the username and password used to login.
Those are stored in [GitHub Encrypted Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets).