Skip to content

Releases: devonfw-forge/mrchecker-source

2023.03.07

06 Mar 07:39
Compare
Choose a tag to compare

Selenium / Playwright

  • Handle all throwable on BasicElement usability check

2023.03.06

03 Mar 13:51
Compare
Choose a tag to compare

Selenium/Playwright

  • Romeved final from element types methods

Selenium

  • ScrollUtils reworked

2023.03.03

03 Mar 07:46
Compare
Choose a tag to compare

Selenium & Playwright

  • Element type interface

2023.02.27

27 Feb 09:57
Compare
Choose a tag to compare

Bump dependencies:
Maven surefire plugin 3.0.0-M8 -> M9
Selenium 4.8.0 -> 4.8.1

Selenium

  • Rework element types

Playwright

  • Add more element types

2023.02.08

08 Feb 07:59
Compare
Choose a tag to compare

Core

  • Fixed typo in environments.csv file path
  • Refactored to lazy loading environments.csv file

Playwright

  • Adapted default LoadState in refresh or load page BasePage methods

Possible breaking changes

  • Migrating to newest version require adapting the path of environments.csv file

2023.02.07

07 Feb 08:32
Compare
Choose a tag to compare

Handle new headless modes

Selenium

For Chromium browsers (Chrome, Edge) there are two kinds of headless mode - 'old' and 'new'.
You can use one of these parameters to work with one of them:

-Dheadless=false (don't add any browser arguments, it is default if parameter is not used)
-Dheadless=true (adds '--headless' argument to browser options, it is "old" headless mode)
-Dheadless=chrome (adds '--headless=chrome' argument to browser options, it is 'new' headless mode for versions 96-108)
-Dheadless=new (adds '--headless=new' argument to browser options, it is 'new' headless mode for versions 109+)

Firefox browser has one headless mode. You can use one of these parameters to work with it:

-Dheadless=false (don't add any browser arguments, it is default if parameter is not used)
-Dheadless=true (adds '-headless' argument to browser options, )

Playwright

Headless mode is also supported by Playwright. You can use one of these parameters to work with it:

-Dheadless=false (disables headless mode)
-Dheadless=true (enables headless mode, it is default if parameter is not used)

2023.02.06

06 Feb 12:33
Compare
Choose a tag to compare

Bump dependencies. List of most important changes:
Maven surefire plugin 3.0.0-M3 -> M8
JUnit 5.9.0 -> 5.9.2
JUnit Platform 1.9.0 -> 1.9.2
RestAssured 3.0.6 -> 5.3.0
AspectJ 1.9.9.1 -> 1.9.19
Playwright 1.28.1 -> 1.29.9
Selenium 4.7.2 -> 4.8.0

Selenium

2023.02.03

03 Feb 15:25
Compare
Choose a tag to compare

Selenium

  • Don't add empty platform and browser version desired capabilities (fix some issues with connections to Selenium grid)

You don't longer need to use -Dselenium3grid=true for backward compatibility with Selenium 3 grids if you don't use -DbrowserVersion or -Dos on your commands.

2023.02.02 Playwright module

02 Feb 13:19
Compare
Choose a tag to compare

Playwright

  • Initiation of new Playwright module with approach based on Selenium module

2023.01.27

27 Jan 14:56
Compare
Choose a tag to compare

Core

  • Refactored TestExecutionObserver (handle more events properly)

Selenium

  • Adapted to changes in Core (BasePage properly handles screenshots in events onTestExecutionException, onSetupFailure and on TeardownFailure to save screens at the time issue occur)

Default approach in MrChecker is still that tests from single class should be executed on single thread sequentially (JUnit 'same_thread' value in '' attribute). WebDriver is by default closed onTestClassFinish event.
There is an option to change this behavior - for example to run all tests from class parallel ('concurrent' as JUnit attribute value) or to use new browser for each test even executing them sequentially. Then you should execute DriverManager.closeDriver() on onTestFinish() event method on extended BasePage class.

public class BasePageGUI extends BasePage {
    @Override
    public void onTestFinish() {
        super.onTestFinish();
        DriverManager.closeDriver();
    }
}