Selenium/Java UI tests for Kiali
mvn test -DkialiHostname="localhost" -DseleniumGrid="http://localhost:4444/wd/hub"
We can define blockers list out of the box, without touch actual tests. Create a yaml file as specified here,
--- # blockers list
# bug tracker tools details
bug-trackers:
jira:
url: https://issues.jboss.org
non-blocking-list:
- awaiting_release
- done
# blockers
blockers:
com.redhat.qe.kiali.ui.tests.menu.TestMenu.testToggle:
- JR:KIALI-429
com.redhat.qe.kiali.ui.tests.menu.TestNavbar.testAbout:
- JR:KIALI-430
bug-trackers
: define jira tracking tool details. For now supports only for jiranon-blocking-list
: list of status key words, say this issue is resolved and ready to test.blockers
: we can specifytestClass
name ortestMethod
(fully qualified name) as a key and a list of bugs/issues details to block this test. If we specifyclassName
, it blocks all the methods on this class.@Blockers
: It is possible to add @Blockers annotation on class level or method level. Example,@Blockers({"JR:KIALI-429", "JR:KIALI-430"})
We can supply this yaml file in different ways,
- Source code: update
src/test/resources/blockers.yaml
file. - Java properties:
-Dblockers="/tmp/blockers.yaml"
- Environment variable:
export blocers="/tmp/blockers.yaml"