airgun.entities.task

Module Contents

class airgun.entities.task.TaskEntity

Bases: airgun.entities.base.BaseEntity

endpoint_path = /foreman_tasks/tasks
search(self, value)

Search for specific task

read_all(self, widget_names=None)

Read all tasks widgets values from the title page. Or read specific widgets by adding ‘widget_names’ parameter

read(self, entity_name, widget_names=None)

Read specific task values from details page

set_chart_filter(self, chart_name, index=None)

Remove filter from searchbox and set filter from specific chart

Parameters:index – index in ‘StoppedChart’ table, dict with ‘row’ number and ‘focus’ as column name
class airgun.entities.task.ShowAllTasks

Bases: airgun.navigation.NavigateStep

Navigate to All Tasks page

VIEW
step(self, *args, **kwargs)
class airgun.entities.task.TaskDetails

Bases: airgun.navigation.NavigateStep

Navigate to Task Details screen.

Args:
entity_name: name of the task
VIEW
prerequisite(self, *args, **kwargs)
step(self, *args, **kwargs)