LaunchpadUser.ensure_login() fails if the current page is a +login page

Bug #461759 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
Björn Tillenius

Bug Description

If you call LaunchpadUser.ensure_login() in a Windmill test, it will fail if the browser already is on the +login page. The code will assume that the user is logged in, and will try to press the "logout" button, which doesn't exist.

Related branches

Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.