Methods
-
<static> clickTab(self, tab)
-
click a certain tab and validate that url has changed
Parameters:
Name Type Description selfObject self - nightwatch page object
tabname of the tab you want to click
-
<static> configureBuildExecutor()
-
get the url to set the Build Executor
Returns:
- Type
- String
-
<static> getJobUrl(launchUrl, jobName)
-
In case we have multiBranch projects or we are using folder, we need to calculate the path, prefix every folder with
/job/Parameters:
Name Type Description launchUrlthis is normally equal to this.api.launchUrl
jobNameString name of the job to configure
Returns:
url calculate the url of a mutlibranch
- Type
- String
-
<static> makeRelative(url)
-
make it relative
Parameters:
Name Type Description urlString Returns:
url
- Type
- String
-
<static> tabSelector(tabName)
-
Return css selector of a specific tab
Parameters:
Name Type Description tabNamestring the tab we want to select
Returns:
- Type
- string
-
<static> viewAllPipelines()
-
get the url to list all pipelines
Returns:
- Type
- string
-
<static> viewPipeline()
-
get the url to list all pipelines
Returns:
- Type
- string
-
<static> viewPipelineActivity(orgName, jobName)
-
Return the path to the activity defined by the orgName and jobName
Parameters:
Name Type Description orgNameString name of the organisation
jobNameString name of the job
Returns:
- Type
- string
-
<static> viewRunPipeline(orgName, jobName, branchName, buildNumber)
-
returns the url for a job detail in blueocean
Parameters:
Name Type Description orgNamename of the organisation
jobNameString name of the job
branchNameString name of the branch (may be the same as jobname, in case of freestyle
buildNumberString number the build
Returns:
- Type
- string