[bug 1010006] Fix some test infrastructure issues#282
Conversation
What got "fixed": * this comments out the LiveServerTestCase stuff because it's not working right because we rely on data migrations to run to set up the test database; once we fix that, we can re-enable LiveServerTestCase things * this fixes some tests in regards to the data context they're running in so they're not order dependent * this adds some helpful comments and removes some not helpful ones Outstanding: * selenium needs to be updated * fix the infrastructure to not require data migrations so that we can re-enable LiveServerTestCase
There was a problem hiding this comment.
All this diffy stuff is really just "added a cache.clear() to tearDown and removed an obvious comment".
|
Added some notes so it's easier to follow in your storybook because there's a non-trivial amount of "wtf" here. This is the first half of fixing that bug. I need this now so things aren't fux0rd. I'll fix the second half (removing the need to do data migrations) at some point when I'm not hurting for time. To test:
|
|
Oops--that second step should be:
|
|
Also, this reduces test run times for fjord:
|
|
Also, this decreases the time it takes to boil water on your stove. It realigns the laws of physics to work for you. |
|
wow, crazy pants!! |
|
Everything you commented makes sense. Tests pass. r+ |
|
Landed: 53791e9 [bug 1010006] Fix some test infrastructure issues |
What got "fixed":
working right because we rely on data migrations to run to set up the
test database; once we fix that, we can re-enable LiveServerTestCase
things
in so they're not order dependent
Outstanding:
re-enable LiveServerTestCase
r?