Hello all.
I have a question regarding WebDriver testing. I was working on creating an integration test. When I would change code in the widgets.py file, my integration test was not responsive to my changes, and seemed to be holding on to information from previous versions.
Is there a cache in the webdriver or something that needs to be updated when we make a change?
Thanks, Shawn
Excerpts from Shawn Doherty's message of 2017-06-28 15:40 -04:00:
Hello all.
I have a question regarding WebDriver testing. I was working on creating an integration test. When I would change code in the widgets.py file, my integration test was not responsive to my changes, and seemed to be holding on to information from previous versions.
Is there a cache in the webdriver or something that needs to be updated when we make a change?
There's no cache or anything like that. How exactly are you running the tests? Most likely what is happening is that when the tests are firing up the server it is loading a different copy of widgets.py from elsewhere. For example you are editing a git checkout but it is loading from /usr/lib/python2.6/site-packages.
beaker-devel@lists.fedorahosted.org