Skip to content

Commit 7e981e2

Browse files
fix breaking tests
1 parent a54db00 commit 7e981e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/browser_object_autofill_popup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def select_nth_element(self, index: int):
106106
Arguments:
107107
index (int): The index of the element to retrieve (1-based)
108108
"""
109-
self.element_clickable("select-form-option-by-index", labels=[str(index)])
109+
self.element_clickable("pop-up-component-box")
110110
self.click_on("select-form-option-by-index", labels=[str(index)])
111111

112112
@BasePage.context_chrome

modules/data/autofill_popup.components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
]
7474
},
7575
"select-form-option-by-index": {
76-
"selectorData": ".autocomplete-richlistitem .autocomplete-richlistitem:nth-child({index})",
76+
"selectorData": "richlistitem:nth-child({index})",
7777
"strategy": "css",
7878
"groups": [
7979
"doNotCache"

0 commit comments

Comments
 (0)