Commit 4188803
committed
fix(robot): make locator version test resilient to new locator files
The test_locators_in_robot_context test hardcoded the expected locator
module name. When not running in a Robot context, the library falls
back to the highest-numbered locator file. Use dynamic discovery
(same pattern as test_locators_outside_robot_context) instead.1 parent 3f8fa00 commit 4188803
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
0 commit comments