public class ApplicationLinkUtils extends Object
Constructor and Description |
---|
ApplicationLinkUtils() |
Modifier and Type | Method and Description |
---|---|
void |
createTwoWayApplicationLink(BambooTestedProduct bamboo,
com.atlassian.pageobjects.TestedProduct<? extends com.atlassian.pageobjects.Tester> other)
Create two way application link between Bamboo and another product and verifies it afterwards.
|
void |
createTwoWayApplicationLink(BambooTestedProduct bamboo,
com.atlassian.pageobjects.TestedProduct<? extends com.atlassian.pageobjects.Tester> other,
boolean verifyOnBoth)
Create two way application link between Bamboo and another product.
|
void |
createTwoWayApplicationLinkWithTrustedApps(BambooTestedProduct bamboo,
com.atlassian.pageobjects.TestedProduct<? extends com.atlassian.pageobjects.Tester> other) |
void |
deleteApplink(BambooTestedProduct bamboo,
com.atlassian.pageobjects.TestedProduct other)
Delete application link between Bamboo and other product
|
static org.hamcrest.Matcher<com.atlassian.webdriver.applinks.page.AbstractApplicationLinkPage.ApplicationLinkEntryRow> |
hasUrl(String expectedUrl) |
static org.hamcrest.Matcher<com.atlassian.webdriver.applinks.page.AbstractApplicationLinkPage.ApplicationLinkEntryRow> |
hasUrlThat(org.hamcrest.Matcher<String> urlMatcher) |
public void createTwoWayApplicationLink(BambooTestedProduct bamboo, com.atlassian.pageobjects.TestedProduct<? extends com.atlassian.pageobjects.Tester> other)
bamboo
- Bamboo tested productother
- Other tested product, eg. Stash or Refapppublic void createTwoWayApplicationLink(BambooTestedProduct bamboo, com.atlassian.pageobjects.TestedProduct<? extends com.atlassian.pageobjects.Tester> other, boolean verifyOnBoth)
bamboo
- Bamboo tested productother
- Other tested product, eg. Stash or RefappverifyOnBoth
- Verify if the applink has been added on both productspublic void createTwoWayApplicationLinkWithTrustedApps(BambooTestedProduct bamboo, com.atlassian.pageobjects.TestedProduct<? extends com.atlassian.pageobjects.Tester> other)
public void deleteApplink(BambooTestedProduct bamboo, com.atlassian.pageobjects.TestedProduct other)
public static org.hamcrest.Matcher<com.atlassian.webdriver.applinks.page.AbstractApplicationLinkPage.ApplicationLinkEntryRow> hasUrl(String expectedUrl)
public static org.hamcrest.Matcher<com.atlassian.webdriver.applinks.page.AbstractApplicationLinkPage.ApplicationLinkEntryRow> hasUrlThat(org.hamcrest.Matcher<String> urlMatcher)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.