Git Product home page Git Product logo

div-decree-nisi-frontend's Introduction

Divorce Decree Nisi License: MIT

This repo is for the Decree Nisi Frontend and forms part of the online Divorce Application.

Setup

Install dependencies

yarn install

Start application

Then you can use the following commands in different terminal sessions:

docker-compose up redis
yarn mocks
yarn dev

The application will now be running on https://localhost:3000.

When the application is up and running, a new endpoint will be exposed called "/session" where you can view and edit the current session. This is only be available locally and on AAT environment and is useful for debugging and testing.

Testing

yarn test

Run Functional tests locally

  1. create local.yml file in config folder with the contents:
tests:
  functional:
    proxy:
    proxyByPass:
  1. run
yarn test:functional

Run Functional tests locally against AAT

  1. Create remote-config.json file
  2. Copy SCM config
  3. Add "TEST_URL" with AAT url
  4. Run yarn test:functional:remote

-### Running additional tests in the Jenkins PR Pipeline

  1. Add one or more appropriate labels to your PR in GitHub. Valid labels are:
  • enable_full_functional_tests
  • enable_fortify_scan
  1. Trigger a build of your PR in Jenkins. Fortify scans will take place asynchronously as part of the Static Checks/Container Build step.
  • Check the Blue Ocean view for live monitoring, and review the logs once complete for any issues.
  • As Fortify scans execute during the Static Checks/Container Build step, you will need to ensure this is triggered by making a minor change to the PR, such as bumping the chart version.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

div-decree-nisi-frontend's People

Contributors

alexwakeman avatar amobarak avatar anatolysan avatar borislavpetrovhmcts avatar bweeks-justicegovuk avatar damongreen123 avatar david-gimelle avatar dizrupto avatar dtaylor7 avatar ellisd-b avatar gurarach avatar hosainnet avatar iichr avatar jacmurphy avatar johnnyvineall avatar kleog avatar lucadelbuonohmcts avatar madjava avatar marianadpereira avatar mattyod avatar mounikahmcts avatar mthava avatar neilmcw avatar qzhou-hmcts avatar rishikrsharma avatar ruban72 avatar smillapalk avatar tchow8 avatar tseelig avatar vianvi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.