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

Move 4.1.0 UI test from apim-apps-support to apim-test-integration #190

Open
wants to merge 2 commits into
base: 4.1.0-ui-test-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
# Log file
*.log

# Ignored folders
cypress/videos/
cypress/screenshots/
cypress/reports/
node_modules

# BlueJ files
*.ctxt

Expand Down
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

66 changes: 39 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,39 @@
## apim-test-integration
Automation scripts of the APIM business scenario implementation and the related artifacts are maintained in this repo.

## List Of Scenarios

| *#* | *Scenario* |
| --- | --- |
| 1 | API Development |
| | * Managing Public, Partner vs Private APIs |
| | * Ownership, permission and collaborative API development |
| | * Developer Optimized APIs Development" |
| 2 | API security |
| | * Protecting Businesses by Anomaly Detection |
| 3 | App Development with APIs |
| 4 | API Lifecycle Management |
| 5 | API Versioning |
| 6 | API Governance |
| 7 | API Rate Limiting |
| | * API Monetization |
| 8 | Manage the Value Chain for APIs |
| | * Business Insights by API analytics |
| 9 | Developer Enablement and Community Building
| 10 | Support for API Types |
| 11 | Geographical Distributed wide API Management |
| 12 | API SLA |
| 13 | Micro API Gateway |
| 14 | Hybrid Cloud Pattern Support |
# API Manager 4.1.0 UI Tests

## Running tests against a pack

This branch contains the UI tests for API Manager 4.1.0. See the following steps to run the tests against the required pack.

## Prerequisites

Install NodeJS 14.x or later LTS version from [https://nodejs.org/en/download/](https://nodejs.org/en/download/).

> **_Note :-_**
>
> You may use [Node Version Manager (nvm)](https://github.com/nvm-sh/nvm) tool to manage NodeJS on your development environment. You can use the following steps to switch to node 14.
> ```
> nvm install 14
> nvm use 14
> ```

## Running the tests

1. Start the pack.
2. Navigate to the root `apim-test-integration/` directory.
3. Run the following commands from the `apim-test-integration/` directory.
1. `npm ci` to reinstall the dependencies.
2. `npm run test` to run the tests against the running pack.
4. A report will be generated with the test results.

> **_Note :-_**
> Currently the **application sharing feature** and the **product profiles** are not added to the tests. Therefore, they need to be tested manually.

## Troubleshooting

If there are any test failures, you can run the dev server and run the failed test cases in order to identify where the failure occurs.

Use the below command to run the test server,

```
npm run test:dev
```
21 changes: 0 additions & 21 deletions apps/AppDevelopmentAPI_v1.0.0_java/.gitignore

This file was deleted.

23 changes: 0 additions & 23 deletions apps/AppDevelopmentAPI_v1.0.0_java/.swagger-codegen-ignore

This file was deleted.

29 changes: 0 additions & 29 deletions apps/AppDevelopmentAPI_v1.0.0_java/.travis.yml

This file was deleted.

Loading