You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Play framework runs integration tests with a TestBrowser that uses a Selenium WebDriver. Play 2.9 (see upgrade PR: #26783) changed the version of Selenium it depends on under the hood from 3.141.59 to 4.14.1. Before the Play 2.9 upgrade the following tests above could run one after the other without the first affecting the outcome of the second:
This is not true anymore, it looks like the TestBrowser we use in our current test configuration does not automatically clear its cache after each test so the second test will always fail. We have similar result if we swap the tests.
we added a flag in the url to make sure the cache gets cleared and the tests run independently. This ticket is to find a way to clear the Selenium WebDriver cache programmatically.
The text was updated successfully, but these errors were encountered:
The Play framework runs integration tests with a TestBrowser that uses a Selenium WebDriver. Play 2.9 (see upgrade PR: #26783) changed the version of Selenium it depends on under the hood from 3.141.59 to 4.14.1. Before the Play 2.9 upgrade the following tests above could run one after the other without the first affecting the outcome of the second:
frontend/applications/test/GalleryTemplateTest.scala
Lines 55 to 73 in e762f8e
This is not true anymore, it looks like the TestBrowser we use in our current test configuration does not automatically clear its cache after each test so the second test will always fail. We have similar result if we swap the tests.
In:
we added a flag in the url to make sure the cache gets cleared and the tests run independently. This ticket is to find a way to clear the Selenium WebDriver cache programmatically.
The text was updated successfully, but these errors were encountered: