Commit 9fb6baa
authored
fix: wait for login form to render before auto-fill (#201)
The Bloomreach login page is an Angular SPA that takes several seconds
to render after DOM content loads. The auto-fill was running immediately
after navigation with only 500ms per selector, causing it to silently
fail every time.
Changes:
- Use waitUntil: 'networkidle' instead of 'domcontentloaded' for login
page navigation
- Add explicit waitForSelector for email input (10s timeout) before
attempting auto-fill
- Increase default selector candidate timeout from 500ms to 3s to
accommodate SPA rendering1 parent 608860c commit 9fb6baa
File tree
3 files changed
+9
-3
lines changed- packages/core/src
- __tests__
- auth
3 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
| |||
0 commit comments