File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,6 @@ def test_homepage(page: Page):
1515 expect (page .locator ('.sphinxsidebar' )
1616 ).to_have_attribute ("style" , "display: none;" )
1717
18- # Github Link
19- page .locator ('#source_link' ).click ()
20- expect (page ).to_have_url (re .compile (
21- 'https://github.com/piccolo-orm/piccolo_theme/' ))
22-
2318 # Dark Mode
2419 page .goto (BASE_URL )
2520 expect (page .locator ('html' )).to_have_attribute ("data-mode" , "light" )
@@ -46,3 +41,8 @@ def test_homepage(page: Page):
4641 page .goto (BASE_URL )
4742 page .locator ('//*[@id="piccolo-theme"]/div/ul/li[1]/a' ).click ()
4843 expect (page ).to_have_title (re .compile ("Setup" ))
44+
45+ # Github Link
46+ page .locator ('#source_link' ).click ()
47+ expect (page ).to_have_url (re .compile (
48+ 'https://github.com/piccolo-orm/piccolo_theme/' ))
Original file line number Diff line number Diff line change 1- pytest==7.4 .0
2- pytest-playwright==0.4.2
1+ pytest==8.1 .0
2+ pytest-playwright==0.4.4
You can’t perform that action at this time.
0 commit comments