Package org.jenkinsci.test.acceptance.po
Class Changes
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageObject
-
- org.jenkinsci.test.acceptance.po.Changes
-
- All Implemented Interfaces:
CapybaraPortingLayer
public class Changes extends PageObject
- Author:
- Matthias Karl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, url
-
Fields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, time
-
Fields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Changes(PageObject context, URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasChanges()
Are there any changes in the current build.boolean
hasDiffFileLink(String file)
Is there a (diff) link for a specific file.-
Methods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, getContext, getJenkins, open, toString, url, url, visit
-
Methods inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, elasticSleep, executeScript, fillIn, find, findCaption, findCaption, findIfNotVisible, getCurrentUrl, getCurrentUrlWithFragment, getElement, getPageContent, getPageSource, getPageSource, getPath, handleAlert, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
-
-
-
Constructor Detail
-
Changes
protected Changes(PageObject context, URL url)
-
-
Method Detail
-
hasChanges
public boolean hasChanges()
Are there any changes in the current build.- Returns:
- true if the build has changes.
-
hasDiffFileLink
public boolean hasDiffFileLink(String file)
Is there a (diff) link for a specific file. Links are present if there are changes in a file and a repository browser is specified.- Parameters:
file
- name of the file with changes.- Returns:
- true if (diff) link for file is present.
-
-