Skip to content

Tags: automationhacks/visual-validation-python-course

Tags

ch_10_analyzing_test_results

Toggle ch_10_analyzing_test_results's commit message
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.

ch_09_visually_testing_pdf

Toggle ch_09_visually_testing_pdf's commit message
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.

ch_08_organizing_tests_into_batches

Toggle ch_08_organizing_tests_into_batches's commit message
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.

ch_07_check_region_in_frame

Toggle ch_07_check_region_in_frame's commit message
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.

ch_07_check_region_by_element

Toggle ch_07_check_region_by_element's commit message
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

ch_07_full_page_screenshot

Toggle ch_07_full_page_screenshot's commit message
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.

ch_06_layout

Toggle ch_06_layout's commit message
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.

ch_06_content

Toggle ch_06_content's commit message
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

ch_05

Toggle ch_05's commit message
Running your first test

1. Added a search test for filtering books in automation bookstore
2. Added functions to open/close the eyes in conftest.py

ch_04_05

Toggle ch_04_05's commit message
Chapter 4 + 5: Initializing eyes in your tests and running your first…

… hello world test.