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

HAAR-1054 Updating cypress dependency, plus readme #35

Merged
merged 1 commit into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,40 @@
[![Known Vulnerabilities](https://snyk.io/test/github/ministryofjustice/hmpps-audit-poc-ui/badge.svg)](https://snyk.io/test/github/ministryofjustice/hmpps-audit-poc-ui)

# hmpps-audit-poc-ui

A POC to investigate how to capture audit information for frontend applications.

## Latest
This is currently a skeleton Typescript UI project and no extra functionality has been added.

### Running the Cypress tests
You need to fire up the wiremock server first:
```
docker-compose -f docker-compose-test.yml up
```

### Starting feature tests node instance
A separate node instance needs to be started for the feature tests. This will run on port 3008 and won't conflict
with any of the api services.
```
npm run start-feature:dev
```

### Running the tests
With the UI:
```
npm run int-test-ui
```














This is currently a skeleton Typescript UI project and no extra functionality has been added.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"concurrently": "^7.6.0",
"cypress": "^11.2.0",
"cypress": "^12.0.1",
"cypress-multi-reporters": "^1.5.0",
"eslint": "^8.20.0",
"eslint-config-airbnb-base": "^15.0.0",
Expand Down