Task #9830 (closed)
Opened 7 years ago
Closed 7 years ago
QA2: test login tokens
| Reported by: | wmoore | Owned by: | wmoore |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-4.4.7 |
| Component: | QA | Version: | n.a. |
| Keywords: | n.a. | Cc: | jamoore, cxallan |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2012-11-20 (2) |
Description
Need to find a way to test QA2 as a non logged-in user, as if we're coming from the url with session token that you get in an e-mail.
- Maybe use old urls from old e-mails (will this work?)
- See if the url is visible on a feedback when you are logged-in proper?
- See if there's a way to generate login.
etc.
Change History (2)
comment:1 Changed 7 years ago by jmoore
comment:2 Changed 7 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
At least for testing QA2 locally, this works for getting a url with token that works without login:
$ psql feedback feedback=# select id, token from qa_feedback;
Then use http://localhost:8000/qa/feedback/<id>/?token=<token>
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Perhaps a URL which allows one to auto-generate a token? I wouldn't use old tokens, since you're not quite sure what DB you'll have under /qa2-staging.