Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Architectural Modifications & Dependency Updates #1

Open
helkv opened this issue Dec 10, 2019 · 0 comments
Open

Architectural Modifications & Dependency Updates #1

helkv opened this issue Dec 10, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@helkv
Copy link
Collaborator

helkv commented Dec 10, 2019

Ticket for tracking all changes related to the architecture of the keeper-ui-tests project.

Architectural Modifications :

  1. Use Dependency Injection Framework (Spring) to take control over the WebDriver
  2. Use Dependency Injection Framework (Spring) to take control over the PageObjects

All updates of dependencies can be collected here as well.

@helkv helkv added the enhancement New feature or request label Dec 10, 2019
@helkv helkv self-assigned this Dec 10, 2019
helkv added a commit that referenced this issue Dec 10, 2019
-> Use Spring (Boot) to take control over the initialization/termination
of the WebDriver.
-> Add TestConfiguration (Spring Configuration)
-> Remove: PageCreator, SeleniumSteps, SeleniumUtil, WebDriverCreator
(not used any more, because Spring will take control)
helkv added a commit that referenced this issue Dec 12, 2019
-> Use Spring (Boot) to take control over the initialization/termination
of the PageObjects.
-> Enhance TestConfiguration (Spring Configuration) by the ComponentScan
-> Enhance BasePage by Seleniums PageFactory (sets a lazy proxy for each
WebElement attribute of the pages)
helkv added a commit that referenced this issue Jan 15, 2020
- Add testData.properties, used for all test data
-> Use Maven filtering to replace the variables (e.g. credentials) in
testData.properties with the properties from local settings.xml
=> Reworked initialization of the credentials, now: Get credentials from
testData.properties
=> Reworked initialization of the URLs, now: Get the KEEPER URL from
testData.properties
-> Add maven surefire plugin (to be able to skip the tests)
helkv added a commit that referenced this issue Jan 16, 2020
-> WebDriverManager:
-- Downloads the latest driver (to ~/.m2/repository/webdriver)
-- Sets the path to the driver binary
helkv added a commit that referenced this issue Jan 17, 2020
-> Use Cucumber Hooks for all actions that should be executed before and
after all scenarios
-> For now each test scenarios always starts on the keeper start page
(basic url) and the language is being set to English (using a cookie)
- Add InitializationHooks class
helkv added a commit that referenced this issue Jan 17, 2020
-> Reworked the Step-Definitions in FileSteps & LibrariesSteps
-> Now test data can be defined in the feature files and passed to the
Step-Definitions by Cucumber parameters
- Extended LibraryPage
helkv added a commit that referenced this issue Jan 17, 2020
-> Reworked the Step-Definitions in ContentInformationSteps
-> Now test data can be defined in the feature files and passed to the
Step-Definitions by Cucumber parameters
helkv added a commit that referenced this issue Jan 20, 2020
-> Use Cucumber Hooks for all actions that should be executed before and
after scenarios
- Add CleanUpHooks class
- Add Tag @createLibrary to all Scenarios which create test libraries
-> Delete the created test libraries after each scenario which is tagged
with @createLibrary
helkv added a commit that referenced this issue Jan 21, 2020
-> Add slf4j dependency
- Use Logger in TestConfiguration and LibrariesSteps
helkv added a commit that referenced this issue Jan 21, 2020
- Add StartPage
- Use StartPage.navigateTo() method (which contains waits) to open the
first Page (as precondition) before each test
helkv added a commit that referenced this issue Jan 22, 2020
-> Add 'hookdefinitions' package to @CucumberOptions glue parameter in
TestRunnerTestNG
=> Now: Hooks get executed when staring tests with Maven (Before: Hooks
get executed only when running tests as 'Cumcumber Feature')
helkv added a commit that referenced this issue Jan 22, 2020
-> Add dataproviderthreadcount to maven-surefire-plugin configuration
helkv added a commit that referenced this issue Jan 22, 2020
- Add FirefoxOptions to set the headless mode
helkv added a commit that referenced this issue Mar 23, 2020
-> A screenshot helps identifying the cause of a failed test much faster
- The screenshot is saved in the projects target directory
helkv added a commit that referenced this issue Nov 11, 2020
-> Updating several dependencies...
-> New Annotation needed to use Cucumber + Spring:
--> See CucumberSpringConfiguration.class for the configuration
--> Add the testconfiguration-folder to the glue list (in TestRunnerTestNG.class)
-> New Configuration: Use UTF-8 for Source Encoding
helkv added a commit that referenced this issue Mar 3, 2021
-> Updating dependencies: Cucumber, Spring, TestNG, AssertJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant