From 81b8484ae90a134b22470e42222a117fe51e8e2c Mon Sep 17 00:00:00 2001 From: Arkadiusz Kuczynski Date: Sat, 12 Oct 2024 19:24:42 +0200 Subject: [PATCH] Added windows condition to the requirements file for numpy>2 (because this was only problem with windows). Test cases for ubuntu should pass now (older numpy + PyMuPDF versions) Issue #38 --- Tests/Regression/Reporter/GUI_Features.robot | 4 ++-- Tests/Regression/Reporter/pip_requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/Regression/Reporter/GUI_Features.robot b/Tests/Regression/Reporter/GUI_Features.robot index 55a8396af..7ab74920e 100644 --- a/Tests/Regression/Reporter/GUI_Features.robot +++ b/Tests/Regression/Reporter/GUI_Features.robot @@ -171,8 +171,8 @@ Verify the Content Of the DOCX Report VAR ${resultfolder} ${basefolder}${/}${resultdata} VAR ${template_dir} ${basefolder}${/}sample.template VAR ${docx_file} ${resultfolder}${/}${resultdata}.docx - VAR ${img_comp_threshold} 1 - VAR ${move_tolerance} 100 + VAR ${img_comp_threshold} 0.7 + VAR ${move_tolerance} 10 Log template: ${template_dir} console=True Open GUI -d ${resultfolder} -t ${template_dir} diff --git a/Tests/Regression/Reporter/pip_requirements.txt b/Tests/Regression/Reporter/pip_requirements.txt index 7812f2166..83ef30b77 100644 --- a/Tests/Regression/Reporter/pip_requirements.txt +++ b/Tests/Regression/Reporter/pip_requirements.txt @@ -1,6 +1,6 @@ robotframework -numpy>2; python_version > '3.12' -PyMuPDF>=1.23.1; python_version > '3.12' +numpy>2; python_version > '3.12' and sys_platform == 'windows' +PyMuPDF>=1.23.1; python_version > '3.12' and sys_platform == 'windows' robotframework-doctestlibrary # pyscreeze 0.1.29 doesn't seem to work with pyautogui 0.9.53 pyscreeze==0.1.28