[build] Attempting to fix flickering tests.
- Simplified the xpath for actions on jobs.