File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ def test_ignore_multiple_packages(
131131
132132 # Ignore bravo
133133 active .locator (".package-bravo" ).get_by_role ("button" , name = "Ignore" ).click ()
134+ ignored .click ()
134135 expect (ignored .get_by_text ("alpha" )).to_be_visible ()
135136 expect (ignored .get_by_text ("bravo" )).to_be_visible ()
136137 expect (active .get_by_text ("charlie" )).to_be_visible ()
@@ -173,8 +174,10 @@ def test_restore_one_of_multiple_ignored_packages(
173174 active .locator (".package-bravo" ).get_by_role ("button" , name = "Ignore" ).click ()
174175
175176 # Restore only alpha
177+ ignored .click ()
176178 ignored .locator (".package-alpha" ).get_by_role ("button" , name = "Restore" ).click ()
177179
180+ ignored .click ()
178181 expect (active .get_by_text ("alpha" )).to_be_visible ()
179182 expect (active .get_by_text ("charlie" )).to_be_visible ()
180183 expect (ignored .get_by_text ("bravo" )).to_be_visible ()
@@ -197,9 +200,8 @@ def test_ignored_packages_persist_across_page_load(
197200 },
198201 )
199202
200- detail_url = (
201- live_server .url
202- + reverse ("webview:suggestion:detail" , kwargs = {"suggestion_id" : suggestion .pk })
203+ detail_url = live_server .url + reverse (
204+ "webview:suggestion:detail" , kwargs = {"suggestion_id" : suggestion .pk }
203205 )
204206 as_staff .goto (detail_url )
205207
You can’t perform that action at this time.
0 commit comments