Skip to content

e-gov/RIHA-Browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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