widgetastic_patternfly4.progress module

class widgetastic_patternfly4.progress.BaseProgress

Bases: object

Represents the Patternfly Progress

https://www.patternfly.org/v4/components/progress

DESCRIPTION = './/div[@class="pf-c-progress__description"]'
MEASURE = './/span[@class="pf-c-progress__measure"]'
PROGRESS_BAR = ".//div[@class='pf-c-progress__bar']"
STATUS_TYPE_MAPPING = {'pf-m-danger': 'error', 'pf-m-success': 'success', 'pf-m-warning': 'warning'}
current_progress
description
status

Returns the status of the progress, one of warning, success, error or info.

class widgetastic_patternfly4.progress.Progress(parent, locator, logger=None)

Bases: widgetastic_patternfly4.progress.BaseProgress, widgetastic.widget.base.Widget

ROOT

ParametrizedString modified to return instances of smartloc.Locator