public interface

URLAssertions

com.atlassian.jira.functest.framework.assertions.URLAssertions
Known Indirect Subclasses

Class Overview

Make some assertions about a URL.

Summary

Public Methods
void assertCurrentURLEndsWith(String expectedEnd)
Make sure the current URL ends with the specified value.
void assertCurrentURLMatchesRegex(String regex)
Make sure current URL match the passed regular expression.
void assertCurrentURLPathEndsWith(String expectedEnd)
Make sure the current URL path ends with the specified value.
void assertURLAreSimilair(String msg, String expectedURL, String actualURL)
Makes sure that the 2 URLs are similair enough to be compared

Public Methods

public void assertCurrentURLEndsWith (String expectedEnd)

Make sure the current URL ends with the specified value.

Parameters
expectedEnd the expected end of the current url.

public void assertCurrentURLMatchesRegex (String regex)

Make sure current URL match the passed regular expression.

Parameters
regex the regular to use to match.

public void assertCurrentURLPathEndsWith (String expectedEnd)

Make sure the current URL path ends with the specified value.

Parameters
expectedEnd the expected current path the check.

public void assertURLAreSimilair (String msg, String expectedURL, String actualURL)

Makes sure that the 2 URLs are similair enough to be compared

Parameters
msg the assertyion message
expectedURL the expected URL
actualURL the actual URL