Repository navigation
Commit 750f683
authored
[js] Fix failing javascript tests (#17293)
* fix failing test "can unpin script" in "webdriver_script_test.js"
it seems that FireFox can call pinned JS script two or three times. In this test, the exact count is not important - it's enough to verify that the script was called at least once.
* remove unneeded delays in "webdriver_script_test.js"
it seems that we don't need to wait: the usual "await driver.get(...)" already does it.1 parent 45db0c0 commit 750f683
1 file changed
Lines changed: 9 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
| |||
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
52 | | - | |
53 | | - | |
54 | 48 | | |
55 | 49 | | |
56 | 50 | | |
| |||
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
72 | | - | |
73 | | - | |
74 | 66 | | |
75 | 67 | | |
76 | 68 | | |
| |||
133 | 125 | | |
134 | 126 | | |
135 | 127 | | |
136 | | - | |
137 | | - | |
138 | 128 | | |
139 | 129 | | |
140 | 130 | | |
141 | 131 | | |
142 | | - | |
| 132 | + | |
| 133 | + | |
143 | 134 | | |
144 | | - | |
| 135 | + | |
145 | 136 | | |
146 | | - | |
| 137 | + | |
147 | 138 | | |
148 | 139 | | |
149 | 140 | | |
| 141 | + | |
| 142 | + | |
150 | 143 | | |
151 | 144 | | |
152 | 145 | | |
| 146 | + | |
153 | 147 | | |
154 | | - | |
155 | | - | |
| 148 | + | |
| 149 | + | |
156 | 150 | | |
157 | 151 | | |
158 | 152 | | |
| |||
0 commit comments