feat(tests): running master-diff report after each UI test

[no changelog]
This commit is contained in:
grdddj
2023-06-27 14:36:11 +02:00
committed by Jiří Musil
parent eca1fc381b
commit 20c9d81018
9 changed files with 336 additions and 236 deletions

View File

@@ -5,10 +5,11 @@ from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent
sys.path.insert(0, str(ROOT))
# Needed for setup purposes, filling the FILE_HASHES dict
from tests.ui_tests.common import TestResult, _hash_files, get_fixtures # isort:skip
from tests.ui_tests.common import TestResult, _hash_files # isort:skip
from tests.ui_tests.common import get_current_fixtures # isort:skip
FIXTURES = get_fixtures()
FIXTURES = get_current_fixtures()
for result in TestResult.recent_results():
if not result.passed or result.expected_hash != result.actual_hash: