Skip to content

Commit 9d6b8fd

Browse files
authored
Apply suggestions from code review
1 parent fb33260 commit 9d6b8fd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

shiny/playwright/controller/_expect.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ def expect_locator_values_in_list(
174174
The key. Defaults to `"value"`.
175175
alt_verify
176176
Determines if multiple expectations should be performed.
177-
Defaults to `False`, a single (and very complicated) locator is asserting.
178-
`True` will perform multiple assersions, which have the possibility of being invalid.
177+
Defaults to `False`, a single (and very complicated) locator is asserted.
178+
`True` will perform multiple assertions, which have the possibility of being invalid.
179179
Use in playwright bug situations only.
180180
"""
181181
# Make sure the locator has exactly `arr` values
@@ -219,7 +219,7 @@ def perform_multiple_assertions():
219219

220220
if alt_verify:
221221
# Accordion has issues where the single locator assertion waits forever within playwright.
222-
# Perform multiple assertions until playwright fixes bug.
222+
# Perform multiple assertions until playwright fixes bug.
223223
perform_multiple_assertions()
224224
return
225225

@@ -250,6 +250,5 @@ def perform_multiple_assertions():
250250
except AssertionError as e:
251251
# Debug expectations
252252
perform_multiple_assertions()
253-
254253
# Could not find the reason why. Raising the original error.
255254
raise e

0 commit comments

Comments
 (0)