Changeset 5358


Ignore:
Timestamp:
1 Aug 2010, 16:28:35 (14 years ago)
Author:
Henrik Bettermann
Message:

login via staff login page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/henrik-experimental-layout/src/waeup/sirp/authentication.txt

    r4921 r5358  
    5252  200 Ok
    5353
    54 There is a login form on the front page sidebar:
     54We have to go to one of the login pages first:
     55
     56  >>> browser.open('http://localhost/app/@@loginstaff')
     57  >>> print browser.headers['Status']
     58  200 Ok
     59
     60There is a login form on tis page:
    5561
    5662  >>> 'form.login' in browser.contents
     
    8389
    8490  >>> logout.click()
     91  >>> print browser.contents
     92  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
     93  ...Staff Login
     94  ...
    8595
    86 Now we are logged out again:
    87 
    88   >>> 'form.login' in browser.contents
    89   True
Note: See TracChangeset for help on using the changeset viewer.