Uses of Class
org.jenkinsci.test.acceptance.Matcher
Package
Description
-
Uses of Matcher in org.jenkinsci.test.acceptance
Modifier and TypeMethodDescriptionMatchers.containsRegexp
(String regexp) Matchers.containsRegexp
(String regexp, int opts) Matches if a string contains a portion that matches to the regular expression.Matchers.containsRegexp
(Pattern re) Matches if a string contains a portion that matches to the regular expression.Matchers.existingFile()
Matchers.fullNameIs
(String fullName) static Matcher<PageObject>
For asserting that aPageObject
's top page has an action of the given name.static Matcher<org.openqa.selenium.WebDriver>
Matchers.hasContent
(String content) Asserts that given text is shown on page.static Matcher<org.openqa.selenium.WebDriver>
Matchers.hasContent
(Pattern pattern) static Matcher<org.openqa.selenium.WebDriver>
Matchers.hasElement
(org.openqa.selenium.By selector) Matches that matchesWebDriver
when it has an element that matches to the given selector.Matchers.hasInvalidLoginInformation()
Matchers.hasLoggedInUser
(String user) static Matcher<org.openqa.selenium.WebDriver>
Matchers.isMemberOf
(String group) Matchers.loggedInAs
(String user) Matchers.mailAddressIs
(String mail) static Matcher<PageObject>
Matchers.pageObjectDoesNotExist()
static Matcher<PageObject>
Matchers.pageObjectExists()
-
Uses of Matcher in org.jenkinsci.test.acceptance.plugins.xvnc
Modifier and TypeMethodDescriptionXvncJobConfig.runXvnc()
XvncJobConfig.tookScreenshot()
XvncJobConfig.usedDisplayNumber
(int number) -
Uses of Matcher in org.jenkinsci.test.acceptance.po
Modifier and TypeMethodDescriptionstatic Matcher<BuildHistory>
BuildHistory.containsBuildOf
(Job job) View.containsColumnHeader
(String headerName) View.containsColumnHeaderTooltip
(String tooltip) View.containsImage
(String imageName) View.containsJob
(Job needle) View.containsLinkWithTooltip
(String text) View.containsSvgWithText
(String text) View.hasDescription
(String description) static Matcher<FormValidation>
FormValidation.reports
(FormValidation.Kind kind, String message) static Matcher<FormValidation>
FormValidation.reports
(FormValidation.Kind kind, org.hamcrest.Matcher<String> message) Slave.runBuildsInOrder
(Job... jobs) static Matcher<FormValidation>
FormValidation.silent()
When either there is no validation or empty OK was returned (there is no way to tell that apart).Workspace.workspaceContains
(String file)