Add Integration Tests
We're working on adding a bunch of tests to app-catalog and app-catalog-ui repos. We can track those efforts under this blueprint.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Christopher Aedo
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Good progress
- Milestone target:
- None
- Started by
- Mark Vanderwiel
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
The idea here is to have gate jobs that test the integration between the Application Catalog UI and the Horizon dashboard.
At a high level this will require the following:
- A new gate job that sets up DevStack with Horizon and the Application Catalog UI plugin. This job should make use of the pre and post gate hook such that future changes can be made within the project itself.
- New integration tests built upon the existing Selenium testing framework within the Horizon project. These tests should try to cover the basic plugin functionality and the three path flows for Orchestration Templates, Glance Images and Murano packages.
- With the addition of a bunch of python and js code, consider adding a gate job for linting.
Work Items
Work items:
Understand the horizon testing framework based on work that Sahara dashboard did: DONE
Create a new gate job for running the integration tests: DONE
Create the basic file layout with a simple test to make sure integration is working: DONE
Create tests for heat templates flows: TODO
Create tests for image flows: TODO
Create tests for Murano flows: TODO
At some point consider making the job voting: TODO
Create a new gate job for linting (python and js): DONE
Update the project to be compliant with linting: INPROGRESS