Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gtroshin/hospital-logistics-e2e-tests


https://github.com/gtroshin/hospital-logistics-e2e-tests

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Hospital logistics end-to-end tests

![Node v16.16.0](https://img.shields.io/badge/Node-v16.16.0-green.svg)
![TestCafe 2.4.0](https://img.shields.io/badge/TestCafe-2.4.0-blue.svg)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/gtroshin/hospital-logistics-e2e-tests/tree/master.svg?style=svg&circle-token=54b8278a4b1aa7632e0e86c6bafe171ecb731441)](https://dl.circleci.com/status-badge/redirect/gh/gtroshin/hospital-logistics-e2e-tests/tree/master)

Showcase end-to-end tests using a TestCafe library and JavaScript.

## Requirements

- **Node v16.16.0** - install it from [here](https://nodejs.org/en/)
- **Yarn 1.22.19+** - install it from [here](https://yarnpkg.com/getting-started/install#nodejs-1610)
- **TestCafe 2.4.0** - find documentation [here](https://testcafe.io/documentation/402635/getting-started)

## Development

In the project root folder, to install dependencies run:

yarn

Start a new local web service to run tests on (it will take few minutes to start up):

docker run --rm --privileged --name web-service -p 8080:8080 -it quay.io/evooq/qa-challenge:latest

As an alternative, you can run tests against the stage environment by providing a URL:

export SITE_URL=

To run/debug tests locally with Chrome, in the project root folder run:

yarn test-local