qxf2-page-object-model icon indicating copy to clipboard operation
qxf2-page-object-model copied to clipboard

Imageio Warning

Open akkuldn opened this issue 10 months ago • 0 comments

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:

  1. Clone the repository
  2. Install the requirements
  3. Run any selenium test pytest tests/test_example_form.py
  4. The warning should pop up once the execution of the test completes

akkuldn avatar Apr 05 '24 07:04 akkuldn