Re: duplicated selenium test fails

2015-10-21 Thread Carl Meyer
On 10/21/2015 02:55 AM, Ulrich Laube wrote: > Am 21.10.2015 um 00:18 schrieb Carl Meyer: >> On 10/19/2015 03:03 AM, Ulrich Laube wrote: >>> It boils down to this: >>> [...] >>> Is it a known problem? >> >> Not really a problem - you just need to be aware that you can't rely on >> consistent databas

Re: duplicated selenium test fails

2015-10-21 Thread Ulrich Laube
Thanks Carl! Am 21.10.2015 um 00:18 schrieb Carl Meyer: On 10/19/2015 03:03 AM, Ulrich Laube wrote: It boils down to this: [...] Is it a known problem? Not really a problem - you just need to be aware that you can't rely on consistent database IDs in tests. So there is no test isolation whe

Re: duplicated selenium test fails

2015-10-20 Thread Carl Meyer
Hi Ulrich, On 10/19/2015 03:03 AM, Ulrich Laube wrote: > It boils down to this: > > I have a selenium test in a django project against the admin page. All > green. > If I duplicate the test class via copy and paste + renaming, then one is > green and one is red, despite containing the same code.

duplicated selenium test fails

2015-10-19 Thread Ulrich Laube
Hi! It boils down to this: I have a selenium test in a django project against the admin page. All green. If I duplicate the test class via copy and paste + renaming, then one is green and one is red, despite containing the same code. I expected both to be green. I have removed the tests from