Closed clicman closed 7 years ago
This is very strange. On my environment mvn clean test
fails with StaleElementReferenceException if I not expect it. But on your ci environment exception isn't thrown and my PR fails to pass this test.
Any ideas?
As I can see mock configured to throw this exception and we should expect it.
Another strange thing. I've gave it to test to two my colleguas. One got exception another one - not. I'm confused.
Redisigned test. Now it works as expected on all environments.
There shouldn't be stale element exception when using htmlelements. If exception occurs, framework re-search required element. This test was designed to check this behavior. Get some investigation why it fails on your env.
This test always fails. Seems missed exception expectation. Now we expect it.