e-gov / RIHA-Browser

Software application that allows a human user to browse descriptions and approval decisions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Estonian Information System Authority European Regional Development Fund

RIHA-Browser RIHA Beta version

Software application that allows a human user to browse descriptions and approval decisions. Project is divided into frontend and backend modules. Frontend is an Angular 4 module which interacts with the bakcend java application's API.

Installation

Installation manual is divided into two: build process and deployment process

Development profile configuration

Development profile allows to run the application without external dependencies to LDAP or TARA.

In order to user the development profile, the maven profile "dev" must be selected for packaging and necessary user attribute values must be provided under the application-dev.properties configuration file.

Selenium automated UI tests

  • Automated UI tests located in "autotest" module.
  • By default running tests is disabled for this module (through maven-surefire-plugin configuration) in order not to interrupt regular build process.
  • Selenium test are managed and run by Cucumber framework.
  • In order to execute all tests with default parameters navigate to "autotest" module folder and run mvn test -DskipTests=false task.

    Additional parameters:
    browser - defines which webdriver should be used by selenium (driver file is downloaded automatically using "webdrivermanager" Maven plugin)
    currently supported: 'chrome', 'firefox'
    default: 'chrome'
    url - defines RIHA application URL
    default: 'https://www.riha.ee'

    Running tests with additional parameters:
    mvn test -DskipTests=false -Dbrowser=chrome -Durl=https://www.riha.ee

About

Software application that allows a human user to browse descriptions and approval decisions.

License:MIT License


Languages

Language:Java 54.1%Language:TypeScript 20.5%Language:HTML 14.3%Language:SCSS 8.7%Language:Gherkin 1.3%Language:FreeMarker 0.8%Language:JavaScript 0.3%Language:CSS 0.0%