Open jurec72 opened 1 year ago
At least in the project I work, forks parallel execution is not working properly. You need to use batch automation, for example, impementing parallel tasks in the pipeline execution.
@wakaleo Thank you for documentation. But when I do everything like in doc with junit 4, then all my steps are not initialized. I always got this error "n.thucydides.core.steps.StepFactory - Cannot create StepFactory for .."
HI, Just change junit4 to junit5 and took example from serenity-cucumber-starter, general tests are executed, but when run through command line - parallel is not happening. Maybe any additional settings required? Thank you!
========================================================================= Serenity.conf:
`serenity { console.colors = true take.screenshots = FOR_FAILURES browser.width = 1536 browser.height = 960 }
headless.mode = false
drivers { windows { webdriver.chrome.driver = ${user.dir}${file.separator}webdrivers${file.separator}chromedriver.exe } }
webdriver { //autodownload webdriver is working automatically in selenium 4.8 driver = chrome autodownload=false capabilities { browserName = "chrome" acceptInsecureCerts = true, "goog:chromeOptions" { args = ["start-maximized", "test-type", "no-sandbox", "ignore-certificate-errors", "disable-default-apps", "disable-web-security", "incognito", "disable-infobars", "disable-gpu", "homepage=about:blank", "no-default-browser-check", "webview-disable-safebrowsing-support", "disable-extensions", "disable-print-preview", "disable-extensions-file-access-check", "disable-notifications", "deny-permission-prompts", "disable-dev-shm-usage"] // "remote-allow-origins=*", prefs { //{0 ==> default, 1 ==> allow, 2 ==> block} default_content_settings.popups = 1 default_content_settings.notifications = 2 default_content_settings.geolocation = 2 credentials_enable_service = false password_manager_enabled = false safebrowsing.enabled = true download.default_directory = ${user.dir}${file.separator}target } excludeSwitches = ["enable-automation", "load-extension"], } timeouts { implicit = 1000 script = 30000 pageLoad = 60000 } } }`
========================================================================= POM.XML: `<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
`