Skip to content

D0bhareach/slotegrator_test_assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Assignment for Slotegrator.

Technical Stack:
  • Java 11
  • Selenium
  • Geckodriver
  • Cucumber
Settings:

To run test Geckodriver 0.32 must be installed on test machine. Then in directory PROJECT_ROOT/lib/src/test/resources in file driver.properties set required properties:

geckodriver_exec=path to executable

firefox_profile_path=must set firefox profile

app_profile='dev' == firefox in maximized screen, other string == headless.
To run test.

In terminal cd to PROJECT_ROOT and ./gradlew test.
Html reports for test are in PROJECT_ROOT/cucumber_reports
To run tests individually: ./gradlew apiTests and ./gradlew uiTests respectively.

What is not properly done:

Whole API Testing Section. Because url that provided in specifications respond with 404 code response. After writing letters to HR I have got response that it's actually that what is requested. So I simply write boiler plate code for this section.
I have spend a lot of time to suppress logging to teminal from sprinframework. But no matter what I did it still showing up. One thing that makes me feel a bit easier that as in 'Inception' movie the more levels of indirection we have the more glitchy system behave.

Notes to those who may read this code:

Code written in vim editor I don't have particularly good settings for Java. Some unused imports and strange formatting may be present.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published