pages.payments package

Submodules

pages.payments.base module

Basic page parent for all Payment pages.

class pages.payments.base.PaymentsBase(driver, base_url=None, timeout=10, **url_kwargs)[source]

Bases: pypom.page.Page

Payments base class.

property logged_in

Return if user is logged in.

wait_for_page_to_load()[source]

Override the basic page loader.

pages.payments.email_logs module

OpenStax payment admin email logs page object.

class pages.payments.email_logs.EmailLogs(driver, base_url=None, timeout=10, **url_kwargs)[source]

Bases: pages.payments.base.PaymentsBase

OpenStax payment admin email logs page object.

class EmailList(page, root=None)[source]

Bases: regions.payments.section.PaymentsListSection

The section of email lists.

class Item(page, root=None)[source]

Bases: regions.payments.section.Item

The section of email items.

property get_email_address

Return the email address of an email entry.

property get_email_status

Return the email status of a an email entry.

property get_email_time

Return the sent time of an email entry.

property get_email_type

Return the type of an email entry.

property email_list

Return the email list region.

property nav

Return the nav bar region.

pages.payments.home module

OpenStax payment home page object.

class pages.payments.home.PaymentsHome(driver, base_url=None, timeout=10, **url_kwargs)[source]

Bases: pages.payments.base.PaymentsBase

OpenStax payment home page object.

go_to_email_logs()[source]

Go to the orders page.

go_to_orders()[source]

Go to the orders page.

go_to_section(locator)[source]

Scroll to section with the input index.

property nav

Return the nav bar region.

property sections

Return a list of section objects.

pages.payments.login module

OpenStax payment login page object.

class pages.payments.login.PaymentsLogin(driver, base_url=None, timeout=10, **url_kwargs)[source]

Bases: pages.payments.base.PaymentsBase

OpenStax payment login page object.

login_with_osa(username, password)[source]

Login with an os account.

pages.payments.logout module

OpenStax payment log out transition page object.

class pages.payments.logout.PaymentsLogOut(driver, base_url=None, timeout=10, **url_kwargs)[source]

Bases: pages.payments.base.PaymentsBase

OpenStax payment log out transition page object.

click_log_in_again()[source]

Click the log in again button to return to log in page.

pages.payments.orders module

OpenStax payment orders page object.

class pages.payments.orders.PaymentOrders(driver, base_url=None, timeout=10, **url_kwargs)[source]

Bases: pages.payments.base.PaymentsBase

OpenStax payment orders page object.

class OrdersList(page, root=None)[source]

Bases: regions.payments.section.PaymentsListSection

The section of order lists.

class Item(page, root=None)[source]

Bases: regions.payments.section.Item

The section of order items.

click_item()[source]

Click into the current item.

property get_order_identifier

Return the identifier of an order entry.

property get_order_product

Return the product of an order entry.

property get_order_time

Return the sent time of an order entry.

property get_order_uuid

Return the uuid of an order entry.

property nav

Return the nav bar region.

property orders_list

Return the order list region.

pages.payments.orders_detail module

OpenStax payment orders detail page object.

class pages.payments.orders_detail.PaymentOrdersDetail(driver, base_url=None, timeout=10, **url_kwargs)[source]

Bases: pages.payments.base.PaymentsBase

OpenStax payment orders detail page object.

class TransactionList(page, root=None)[source]

Bases: regions.payments.section.PaymentsListSection

The section of transactions lists.

class Item(page, root=None)[source]

Bases: regions.payments.section.Item

The section of order items.

property get_status

Return the status of the transaction.

property get_type

Return the status of the transaction.

property get_identifier

Return the order identifier.

property nav

Return the nav bar region.

property transactions_list

Return the transaction list region.

Module contents