Tags: automationhacks/visual-validation-python-course
Tags
Chapter 10: Analyzing test results via applitools eyes test manager Change log: 1. Added an apps.py file to hold app and urls for different sections 2. Updated validate_window to accept MatchLevel from the caller 3. Added a TestInfo class to hold details required to setup the tests 4. Added a function scope fixture setup_test which accepts TestInfo method from the tests and does manager and app setup 5. Dummy pdf file from pdf test added.
Chapter 9: Visual validation of pdf files Change log: 1. Added a test to generate a pdf and visually assert it 2. Basic base page lib with wrappers over selenium functions 3. Page objects for app.invoicesimple.com 4. validate_pdf method in eyes_manager.py 5. file utils to check if file is present, remove if it exists and move to required dir 6. util to execute command from python 7. generic wait method which can accept a function and then execute it till a certain timeout is reached.
Chapter 8: Organizing tests into batches Change log: 1. Added a wrapper class called EyesManager which wraps eyes selenium's convenience methods 2. Updated conftest.py file to expose this class as a manager fixture (module level) 3. Added tests and page objects for tables webpage in elemental selenium 4. Added a setup_suite and setup_eyes fixture to set batch info for all the tests in the module and take care of setup/teardown of eyes.
Chapter 7: Checkpoints: Check region inside an IFrame Change log: 1. Added a new base method to validate element inside an Iframe in conftest.py 2. Added a test to verify the content inside an iframe in checkpoints_test.py file.
Chapter 7: Checkpoints: Check region on page for a specific WebElement Change log: 1. Added a new base method to validate element in conftest.py 2. Added a test to get element for agile testing book and pass it to the base function
Chapter 7: Checkpoints: Full page screenshot Change log: Added test and modified eyes instance with `force_full_page_screenshot = True` to capture entire page instead of visible view port.
Chapter 6: Understanding match levels: Layout Change log: Added a test for the internet site by elemental selenium to show handling of dynamic content with use of MatchLevel.LAYOUT Set match level as LAYOUT in conftest.py file and changed the app under test.
Chapter 6: Understanding match levels: Content Pre-requisite: Update background in below css class to hex code for red (#ff0000) in `/automated-visual-testing/website/css/listview-grid.css` file before running the match_level_test ```css .my-page .ui-listview .ui-li-aside { background: #ff0000; } ``` Change log: Added a simple test for automation bookstore site to use MatchLevel.CONTENT Set match level as CONTENT in conftest.py file
PreviousNext