mangroveorg/datawinners

View on GitHub
func_tests/pages/activitylogpage/show_activity_log_locator.py

Summary

Maintainability
A
55 mins
Test Coverage
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8

from framework.utils.common_utils import *


# By default every locator should be CSS
# Abbr:
# TB - Text Box
# CB - Check Box
# RB - Radio Button
# BTN - Button
# DD - Drop Down
# LINK - Links
# LABEL - Label


# variable to access locator
LOCATOR = "locator"
BY = "by"

FIND_DATA_BY_ROW_AND_COLUMN_NUMBER = "#users_list #log_data tbody tr:nth-child(%s) td:nth-child(%s)"
LOG_INFO = by_css("#log_data_info")
FILTER_BUTTON = by_css("#log_filter")