qxf2-page-object-model
qxf2-page-object-model copied to clipboard
Imageio Warning
The following warning message is seen when we run the selenium tests:
============================== warnings summary ===============================
tests/test_example_form.py: 12 warnings
D:\code\backup\qxf2_pom\qxf2-page-object-model\utils\Gif_Maker.py:21: DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use `import imageio.v2 as imageio` or call `imageio.v2.imread` directly.
images.append(imageio.imread(os.path.join(screenshot_dir_path, files)))
Steps to reproduce:
- Clone the repository
- Install the requirements
- Run any selenium test
pytest tests/test_example_form.py
- The warning should pop up once the execution of the test completes