airgun.entities.job_invocation

Module Contents

Classes

JobInvocationEntity

ShowAllJobs

Navigate to All Job Invocations screen.

RunNewJob

Navigate to Create new Job Invocation screen.

JobStatus

Navigate to Job Invocation status screen.

class airgun.entities.job_invocation.JobInvocationEntity(browser)
endpoint_path = /job_invocations
run(values)

Run specific job

search(value)

Search for specific job invocation

read(entity_name, host_name, widget_names=None)

Read values for scheduled or already executed job

wait_job_invocation_state(entity_name, host_name, expected_state='succeeded')

Check job invocation state from table view

class airgun.entities.job_invocation.ShowAllJobs(obj, navigate_obj, logger=None)

Navigate to All Job Invocations screen.

VIEW
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.job_invocation.RunNewJob(obj, navigate_obj, logger=None)

Navigate to Create new Job Invocation screen.

VIEW
prerequisite
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.job_invocation.JobStatus(obj, navigate_obj, logger=None)

Navigate to Job Invocation status screen.

Parameters
  • entity_name – name of the job

  • host_name – name of the host to which job was applied

VIEW
prerequisite(*args, **kwargs)

Describes a step that must be carried our prior to this one.

This often calls a previous navigate_to, often using one of the helpers, NavigateToSibling which will navigate to a given destination using the same object, or NavigateToAttribute which will navigate to a destination against an object describe by the attribute of the parent object.

This is a default and is generally overridden.

step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.