UNCLASSIFIED

"233c47f14474e2a0af2b41e15ec488d0cab7c505/README.md" did not exist on "233c47f14474e2a0af2b41e15ec488d0cab7c505"
README.md 796 Bytes
Newer Older
Graham Smith's avatar
Graham Smith committed
1
# launchboard
ckwolff's avatar
ckwolff committed
2

luke.glasscock's avatar
luke.glasscock committed
3
Launchboard Frontend for:
luke.glasscock's avatar
luke.glasscock committed
4 5
Production: https://launchboard.apps.dso.mil
Staging: https://launchboard.staging.dso.mil
graham.smith's avatar
graham.smith committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

## Project setup

```
npm install
```

### Compiles and hot-reloads for development

```
npm run serve
```

### Compiles and minifies for production

```
npm run build
```

graham.smith's avatar
graham.smith committed
25 26 27
## Testing

### Unit Tests
graham.smith's avatar
graham.smith committed
28 29 30 31 32

```
npm run test:unit
```

graham.smith's avatar
graham.smith committed
33
### End-to-End Tests
graham.smith's avatar
graham.smith committed
34

graham.smith's avatar
graham.smith committed
35
Platform One is still working on a solution to run `npm run test:e2e-ci` against a deployed app instance outside of Keycloak/Authservice.
graham.smith's avatar
graham.smith committed
36

graham.smith's avatar
graham.smith committed
37
We can run e2e tests on the Launchboard Front End by mocking api requests in Cypress (see `tests/e2e/fixtures/users/`).
graham.smith's avatar
graham.smith committed
38

graham.smith's avatar
graham.smith committed
39
```bash
graham.smith's avatar
graham.smith committed
40 41
# run e2e tests locally with the cypress ui
npm run test:e2e
graham.smith's avatar
graham.smith committed
42

graham.smith's avatar
graham.smith committed
43 44
# run e2e tests locally headless (no cypress ui)
npm run test:e2e -- --headless
graham.smith's avatar
graham.smith committed
45
```