airgun.entities.webhook
¶
Module Contents¶
Classes¶
Navigate to All Webhooks screen. |
|
Navigate to Create Webhook page. |
|
Navigate to Edit Webhook page. |
|
Search for Webhook and confirm deletion in dialog. |
- class airgun.entities.webhook.WebhookEntity(browser)¶
- endpoint_path = /webhooks¶
- create(values)¶
Create new Webhook
- Parameters
values – Parameters to be assigned to a Webhook, Name, Subscribe to, Target URL, Template and HTTP Method should be provided
- delete(entity_name)¶
Delete corresponding Webhook
- Parameters
entity_name (str) – name of the corresponding Webhook
- search(entity_name)¶
Search for a specific Webhook
- class airgun.entities.webhook.ShowAllWebhooks(obj, navigate_obj, logger=None)¶
Navigate to All Webhooks 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.webhook.AddNewWebhook(obj, navigate_obj, logger=None)¶
Navigate to Create Webhook page.
- 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.webhook.EditWebhook(obj, navigate_obj, logger=None)¶
Navigate to Edit Webhook page.
- Parameters
entity_name – name of the Webhook
- 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.
- class airgun.entities.webhook.DeleteWebhook(obj, navigate_obj, logger=None)¶
Search for Webhook and confirm deletion in dialog.
- Parameters
entity_name – name of the Webhook
- 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.