Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9830 (closed)

Opened 12 years ago

Closed 11 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 12 years ago by jmoore

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.

comment:2 Changed 11 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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66968 sec.)

We're Hiring!