Business Case, Stakeholder Analysis, Project Plan, three milestones, ADR-0001, their reviews (RC-001 to RC-008) and the traceability matrix. Python project skeleton: pyproject.toml, constants.py, layer packages, Doxyfile, .gitignore and README with venv instructions. Task: MIL-001#1
20 lines
586 B
Python
20 lines
586 B
Python
from selenium.webdriver.common.by import By
|
|
from selenium.webdriver.common.keys import Keys
|
|
|
|
from fill_out_form import constants
|
|
|
|
|
|
def test_locator_strategies_equal_selenium_by() -> None:
|
|
assert constants.BY_LINK_TEXT == By.LINK_TEXT
|
|
assert constants.BY_NAME == By.NAME
|
|
assert constants.BY_CSS_SELECTOR == By.CSS_SELECTOR
|
|
|
|
|
|
def test_enter_key_equals_selenium_keys_enter() -> None:
|
|
assert constants.KEY_ENTER == Keys.ENTER
|
|
|
|
|
|
def test_urls_use_https() -> None:
|
|
assert constants.WIKIPEDIA_URL.startswith("https://")
|
|
assert constants.FORM_URL.startswith("https://")
|