Commit 1ab05d8
Fix RequestBlocklistTest on native input builds
The Internal Privacy Tests job runs RequestBlocklistTest on the
internal build, where native input is now enabled by default
(#8588). With native input on, the omnibar disables the legacy
omnibarTextInput and routes taps through a click-catcher overlay,
so Espresso's typeText() failed with a PerformException on the
disabled, input-connection-less view.
Drive the unified input flow instead: after the warm-up page
loads, tap the omnibar click-catcher to open the input screen and
type the URL into the native inputField, mirroring the e2e tests.
Loading the warm-up page first also gives the privacy config time
to load before the request-blocklist page fires its requests,
which avoids a content-level race that a direct page load hit.
Verified on a Pixel 8 Pro emulator (API 34, same level as CI):
the test passes 4/4 runs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b14c2ab commit 1ab05d8
1 file changed
Lines changed: 13 additions & 2 deletions
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
76 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
77 | 88 | | |
78 | 89 | | |
79 | 90 | | |
80 | 91 | | |
81 | 92 | | |
82 | 93 | | |
83 | 94 | | |
84 | | - | |
| 95 | + | |
85 | 96 | | |
86 | 97 | | |
87 | 98 | | |
| |||
0 commit comments