For bug reports and questions, please use the in-app chat or support@mabl.com.
Note: Issue has been resolved (already exists) and suggestion can be removed.
As a tester, I'd like to be able to use existing variables in the urls for visual tests.
Right now, if I set up a test plan to run against our Staging and Production environments and include a visual test, because the urls for the visual test must be hardcoded, the test will only run against the environment it was coded against. This means I have to create separate Plans for our Staging and Production environments for any visual tests, with tests that are otherwise identical.
Also, if the url for one of our environments changes, our team would need to manually update every visual test that targets that environment.
This is working for me. I'm not sure why it wasn't when I submitted the idea; probably user error. This suggestion can be closed.
That variable will get set to value of the URL for your chosen deployment/environment.
Dave, you should be able to use {{@web.defaults.url}} in visual tests. E.g.
{{@web.defaults.url}}
{{@web.defaults.url}}/help
{{@web.defaults.url}}/about