mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 11:38:57 +00:00
* test(pytest) The driver methods added. Wrappers for UI elements added. #67 * test(pytest) Squishserver added #68 * test(pytest) Attach/Detach AUT methods added #69 * test(pytest) Main window handler added #70 * test(pytest) Save screenshot on fail added #71 * test(pytest) Wait for squishserver added #71 * test(pytest) Setup Windows #71 * Generate new keys (#11804) * test(pytest) Image comparison methods added #76 * test(pytest) Tesseract methods added #77 * test(pytest) The Methods to search color on image added #80 * test(onboarding) Test on generation new keys added #75 * test(pytest) Handlers for OS Native File dialog added #81 * test(Onboarding) Test on Profile image added #83 * Allure and TestRail integration (#11806) * test(Allure) Steps descriptions added #72 * test(TestRail) Integration #72
28 lines
751 B
Python
28 lines
751 B
Python
import os
|
|
from datetime import datetime
|
|
|
|
import typing
|
|
|
|
from scripts.utils.system_path import SystemPath
|
|
|
|
ROOT: SystemPath = SystemPath(__file__).resolve().parent.parent
|
|
|
|
# Runtime initialisation
|
|
TEST: typing.Optional[SystemPath] = None
|
|
TEST_VP: typing.Optional[SystemPath] = None
|
|
TEST_ARTIFACTS: typing.Optional[SystemPath] = None
|
|
|
|
# Test Directories
|
|
RUN_ID = os.getenv('RUN_DIR', f'run_{datetime.now():%d%m%Y_%H%M%S}')
|
|
TEMP: SystemPath = ROOT / 'tmp'
|
|
RESULTS: SystemPath = TEMP / 'results'
|
|
RUN: SystemPath = RESULTS / RUN_ID
|
|
VP: SystemPath = ROOT / 'ext' / 'vp'
|
|
TEST_FILES: SystemPath = ROOT / 'ext' / 'test_files'
|
|
|
|
# Driver Directories
|
|
SQUISH_DIR = SystemPath(os.getenv('SQUISH_DIR'))
|
|
|
|
# Status Application
|
|
STATUS_DATA: SystemPath = RUN / 'status'
|