Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
/ kiali-qe-java Public archive

Java/Selenium based Kiali test automation framework

License

Notifications You must be signed in to change notification settings

Hawkular-QE/kiali-qe-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kiali-qe-java

Selenium/Java UI tests for Kiali

run tests

mvn test -DkialiHostname="localhost" -DseleniumGrid="http://localhost:4444/wd/hub"

define blockers list

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
definitions:
  • bug-trackers: define jira tracking tool details. For now supports only for jira
  • non-blocking-list: list of status key words, say this issue is resolved and ready to test.
  • blockers: we can specify testClass name or testMethod(fully qualified name) as a key and a list of bugs/issues details to block this test. If we specify className, 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"})
How to supply this yaml file?

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"

Releases

No releases published

Packages

No packages published

Languages