Skip to content

Agile-IoT/agile-ui-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AGILE UI Testing

This project runs UI tests for different parts of the AGILE-UI project. It uses cypress, whose documentation can be found here. Before starting, run npm install to install the cypress module.

1. Configuration

First adjust the properties in the configuration file conf.json, e. g. the URL of UI and the URL of agile-security to acquire an OAuth2 token. Furthermore, two users (admin and a less privileged user) and a client must be defined, which need to be added in AGILE in advance.

2. Writing tests

To write tests add or modify files in the cypress/integration/ directory. For this you can follow cypress' documentation on writing tests.

3. Run tests

Run cypress:open to start the cypress framework. Chose a file in which your tests are. The tests will start automatically.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published