12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- """
- You'll probably want to customize this to your own environment and needs.
- For changes to take effect immediately, use Python's Develop Mode.
- Develop Mode Install: "pip install -e ." (from the top-level directory)
- """
- # #####>>>>>----- REQUIRED/IMPORTANT SETTINGS -----<<<<<#####
- # Default maximum time (in seconds) to wait for page elements to appear.
- # Different methods/actions in base_case.py use different timeouts.
- # If the element to be acted on does not appear in time, the test fails.
- MINI_TIMEOUT = 2
- SMALL_TIMEOUT = 6
- LARGE_TIMEOUT = 10
- EXTREME_TIMEOUT = 30
- # If True, existing logs from past test runs will be saved and take up space.
- # If False, only the logs from the most recent test run will be saved locally.
- # You can also archive existing logs on the command line with: "--archive_logs"
- ARCHIVE_EXISTING_LOGS = True
- # If True, existing downloads from past runs will be saved and take up space.
- # If False, only the downloads from the most recent run will be saved locally.
- ARCHIVE_EXISTING_DOWNLOADS = False
- # Default names for files saved during test failures.
- # (These files will get saved to the "latest_logs/" folder.)
- SCREENSHOT_NAME = "error.png"
- BASIC_INFO_NAME = "basic_test_info.txt"
- PAGE_SOURCE_NAME = "page_source.html"
- # Default names for files and folders saved when using nosetests reports.
- # Usage: "--report". (NOSETESTS only)
- LATEST_REPORT_DIR = "latest_report"
- REPORT_ARCHIVE_DIR = "archived_reports"
- HTML_REPORT = "report.html"
- RESULTS_TABLE = "results_table.csv"
- # Default browser resolutions when opening new windows for tests.
- # (Headless resolutions take priority, and include all browsers.)
- # (Firefox starts maximized by default when running in GUI Mode.)
- CHROME_START_WIDTH = 1920
- CHROME_START_HEIGHT = 1080
- HEADLESS_START_WIDTH = 1920
- HEADLESS_START_HEIGHT = 1080
|