Skip to content

Commit 3f0f17c

Browse files
committed
Update name in a test and a ReadMe
1 parent 67a0441 commit 3f0f17c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/visual_testing/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ class VisualLayoutTest(BaseCase):
9595
def test_python_home_layout_change_failure(self):
9696
self.open('https://python.org/')
9797
print('\nCreating baseline in "visual_baseline" folder.')
98-
self.check_window(name="github_home", baseline=True)
98+
self.check_window(name="python_home", baseline=True)
9999
# Remove the "Donate" button
100100
self.remove_element('a.donate-button')
101-
self.check_window(name="github_home", level=3)
101+
self.check_window(name="python_home", level=3)
102102
```
103103
Here's the output of that:
104104
```

examples/visual_testing/python_home_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class VisualLayoutTest(BaseCase):
66
def test_python_home_layout_change(self):
77
self.open('https://python.org/')
88
print('\nCreating baseline in "visual_baseline" folder.')
9-
self.check_window(name="github_home", baseline=True)
9+
self.check_window(name="python_home", baseline=True)
1010
# Remove the "Donate" button
1111
self.remove_element('a.donate-button')
12-
self.check_window(name="github_home", level=0)
12+
self.check_window(name="python_home", level=0)

0 commit comments

Comments
 (0)