adobe / aio-e2e-tests
End to end testing for aio-* repos
README
Adobe I/O E2E Tests
E2e tests for Adobe I/O SDKs and tools.
Requirements
Each tested repository has its own requirements, mostly environment variables to be set.
Tests are run against an internal Adobe Console Project.
Running Tests
Full E2E Test Suite
Run all e2e tests for all libraries:
npm run all
This executes src/index.js which runs e2e tests for all configured repositories.
Individual Smoke Tests (GitHub Actions)
The smoke tests for aio-cli-plugin-app are run via GitHub Actions workflows using JavaScript scripts:
-
App Plugin Smoke Test:
.github/workflows/app-smoke-test.yml- Uses scripts from
.github/scripts/smoke-test.js - Tests: create app, pack, install, create with extension
- Uses scripts from
-
Asset Compute Smoke Test:
.github/workflows/asset-compute-smoke-test.yml- Uses scripts from
.github/scripts/smoke-test.js - Tests: Asset Compute integration
- Uses scripts from
These workflows can also be run locally (see .github/scripts/README.md for details).
Tests
Add a new e2e test
- expose a
npm run e2ecommand in the repo under test. - set the repo, branch, requiredEnv and doNotLog fields in
repositories.json. - add to the above section a reference to a markdown describing what the test does.
Contributing
Contributions are welcomed! Read the Contributing Guide for more information.
Licensing
This project is licensed under the Apache V2 License. See LICENSE for more information.
