znsio / teswiz

End-2-End framework for Native & Web Automation using Cucumber-jvm, Appium, Selenium WebDriver, Applitools & ReportPortal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description should be configurable for Report Portal for the consumers of teswiz

grover-ankit11 opened this issue · comments

Currently, the description for ReportPortal is being set in Setup.java like this:

System.setProperty("rp.description", configs.get(
                APP_NAME) + " End-2-End scenarios on " + currentPlatform.name());

If the consumer, want to change this to something else or don't want "End-2-End scenarios" as they may be dealing with component, contract test, there's no way which currently exist. We need to make "rp.description" configurable so that consumers can set this property on their own. If they're not setting, then the same value defined above should be used.

you can try with this teswiz id: fb7da47

@grover-ankit11
You can now provide the custom description in config.properties:

RP_DESCRIPTION=custom description

See changes done here:
fb7da47

fixed in fb7da47