File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ from automation .tests .conftest import validate_window
2
+
3
+
4
+ def test_match_level_layout (driver , eyes ):
5
+ validate_window (driver , eyes )
Original file line number Diff line number Diff line change 6
6
from automation .config .base import APPLITOOLS_API_KEY
7
7
8
8
APP_NAME = 'the-internet'
9
- APP_UNDER_TEST = 'https://the-internet.herokuapp.com/dynamic_content '
9
+ APP_UNDER_TEST = 'https://the-internet.herokuapp.com/large '
10
10
11
11
12
12
@pytest .fixture (scope = 'function' )
@@ -31,7 +31,7 @@ def initialize_eyes():
31
31
32
32
def validate_window (driver , eyes , tag = None ):
33
33
open_eyes (driver , eyes )
34
- eyes .match_level = MatchLevel . LAYOUT
34
+ eyes .force_full_page_screenshot = True
35
35
eyes .check_window (tag = tag )
36
36
close_eyes (eyes )
37
37
You can’t perform that action at this time.
0 commit comments