Skip to content

Commit d4f2f9f

Browse files
committed
Update test comments
1 parent 915aaef commit d4f2f9f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/visual_testing/layout_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ class VisualLayoutTest(BaseCase):
55

66
def test_applitools_layout_change(self):
77
self.open('https://applitools.com/helloworld?diff1')
8-
print('\nCreating baseline in "visual_baseline" folder...')
8+
print('\nCreating baseline in "visual_baseline" folder.')
99
self.check_window(name="helloworld", baseline=True)
1010
self.click('a[href="?diff1"]')
11-
# Verify html tags match previous version
11+
# Verify html tags match the baseline
1212
self.check_window(name="helloworld", level=1)
13-
# Verify html tags and attribute names match previous version
13+
# Verify html tags and attribute names match the baseline
1414
self.check_window(name="helloworld", level=2)
15-
# Verify html tags and attribute values match previous version
15+
# Verify html tags and attribute values match the baseline
1616
self.check_window(name="helloworld", level=3)
1717
# Change the page enough for a Level-3 comparison to fail
1818
self.click("button")
@@ -21,6 +21,6 @@ def test_applitools_layout_change(self):
2121
with self.assertRaises(Exception):
2222
self.check_window(name="helloworld", level=3)
2323
# Now that we know the Exception was raised as expected,
24-
# let's print out the comparison results by running in Level-0.
24+
# let's print out the comparison results by running a Level-0 check.
2525
# (NOTE: Running with level-0 will print but NOT raise an Exception.)
2626
self.check_window(name="helloworld", level=0)

0 commit comments

Comments
 (0)