Notalib / Test

Issues for various testing tasks - submit issues if you need something tested
1 stars 0 forks source link

Guest login #2

Open NajaWulff opened 12 years ago

NajaWulff commented 12 years ago

A guest login is used to give access to a limited amount of books to try the mobile player without an e17 account; It can either be used by

Logging on with the credentials: guest/anypassword

By following a deeplink with the guest=true parameter set; ie http://m.e17.dk/#book-play?book=38277&guest=true The test includes both options, where it is taken into consideration that

If a user following a deeplink is allready logged in with an e17 account, he is NOT logged on to the guest account. There is sufficient error messages that explains to the guest user why he can't listen to other books that those on the shelf - this is in part solved because the buttons are not there, but still - if someone should get the idea of writing another bookid in the URL for instance.

Assumption: When logged on as a user, one should be able to find and add books to the book shelf, assuming that these books are freely available.

Borderline test cases:

  1. Log on with credentials as described above.
  2. Log on by following a deep link as described above.
  3. Log on following a deep link to a non-free book (by just adding the '&guest=true'-parameter to the address)
  4. Search for a random (non-free) book and try to add it to the book shelf
  5. Search for a free book and add it to the book shelf
  6. Play a book on the book shelf
  7. Change one of the settings and start the book
  8. Use the 'Del bog' feature by sending a mail to yourself - does the link to the book work?
  9. Log on as a normal user, and click the guest deep link. Are you logged on as normal user or guest?
  10. Log out as guest

Issues so far: When loggin on as a guest, an error message is presented to the user. After clicking 'Annulér' on the message, the user is logged in as a guest as intended.

Furthermore, when logged in as guest, none of the books on the book shelf are actually playable, this supposedly because they are carried in from the wrong catalogue.

simmoe commented 12 years ago

Yes, this has to do with the fact that the DODP (Daisy online protocol) service on the live environment is outdated - the books there are actually NOT free for the guest user; You can however use bookid 38277 for testing on the live environment;

http://m.e17.dk/#book-play?book=38277&guest=true

This URL works without the "cancel" dialogue option - which is not really an option. But I still think there should be an issue to make a better errormessage for guest login trying to access books he's not allowed to listen to; something like: you are logged on as guest, and therefore you can only access a linited amount of books; please login with a e17 account to hear this book;

Will you submit that one?

simmoe commented 12 years ago

Btw I think it'd be nice if the issue itself starts with a description of the test scenario; in this case something like:

A guest login is used to give access to a limited amount of books to try the mobile player without an e17 account; It can either be used by

  1. Logging on with the credentials: guest/anypassword
  2. By following a deeplink with the guest=true parameter set; ie http://m.e17.dk/#book-play?book=38277&guest=true

The test includes both options, where it is taken into consideration that

NajaWulff commented 12 years ago

@simmoe I am in doubt as to how the 'Del bog' feature is supposed to function here. Obviously, we really don't want the user to be able to fill in their personal mail information if it is saved after they log out or exit the player. Should we simply remove the sharing-button, leaving just the direct link for copy-pasting into mails?

simmoe commented 12 years ago

Now - what dó you mean eik? How or where dó anyone fill in personal Info here? If you click the share button it just opens your own email app where you can choose someone to send to right? Or where am i?

Sendt fra min iPad

Den 23/03/2012 kl. 14.07 skrev Najareply@reply.github.com:

@simmoe I am in doubt as to how the 'Del bog' feature is supposed to function here. Obviously, we really don't want the user to be able to fill in their personal mail information if it is saved after they log out or exit the player. Should we simply remove the sharing-button, leaving just the direct link for copy-pasting into mails?


Reply to this email directly or view it on GitHub: https://github.com/Notalib/Test/issues/2#issuecomment-4658621

NajaWulff commented 12 years ago

@simmoe you are correct. The filling in of personal data does not relate to the guest user profile at all, but my unfamiliarity with the Apple application for choosing which social network profile to send from baffled me.