You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking that I could inject a different base url this way but I'm facing an assertion error instead:
java.lang.AssertionError: Invalid URL: {1}
at net.serenitybdd.core.pages.PageUrls.updatedFullUrl(PageUrls.java:222)
at net.serenitybdd.core.pages.PageUrls.addBaseUrlTo(PageUrls.java:206)
at net.serenitybdd.core.pages.PageUrls.urlWithParametersSubstituted(PageUrls.java:180)
at net.serenitybdd.core.pages.PageUrls.getNamedUrl(PageUrls.java:174)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:768)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:755)
Could you please tell me what is wrong and how I should do it correctly?
Thanks, André
PS: We are using serenity version 2.4.34 with cucumber runner at present.
The text was updated successfully, but these errors were encountered:
Hi there,
I have to deal with two different base url for the same environment. I tried the below solution:
Excerpt from serenity.conf:
Excerpt from step class:
Excerpt from page class:
I was thinking that I could inject a different base url this way but I'm facing an assertion error instead:
Could you please tell me what is wrong and how I should do it correctly?
Thanks, André
PS: We are using serenity version 2.4.34 with cucumber runner at present.
The text was updated successfully, but these errors were encountered: