Add doc
[scpubgit/stemmaweb.git] / doc / Manual_Testing.md
1 #Manual testing
2
3 Note: Make sure between each numbered step to delete
4 your cookies or start a new private browser window
5
6 1) OpenID account creation
7     a) reset database to empty / no users - run makedbtest.pl
8     b) Navigate to stemmaweb site, click on 'Sign In/Register'
9     and click sign in with openID
10     c) Enter a valid openID
11     d) Verify you're signed in - stemmaweb should tell you
12     e) check the database:
13         > sqlite3 db/traditions.db
14         > select * from entries where class="Text::Tradition::User";
15         > Verify your OpenID account is there.
16 2) OpenID login
17     > Logout & Repeat 1) from 1b) to 1d).
18 3) Brand new google+ account creation
19     a) reset database to empty / no users - run makedbtest.pl
20     b) Navigate to stemmaweb site, click on 'Sign In/Register'
21     and sign in with Google
22     c) Verify you're signed in - stemmaweb should tell you
23     d) Check the database, similar to 1e)
24 4) Login to google+ account
25     > Repeat 3) from 3b) to 3d)
26 5) Converting an OpenID to G+ account
27     a) `git checkout master`
28     b) Navigate to stemmaweb site, click on 'Sign In/Register'
29     and sign in with Google
30     c) Verify you're signed in - stemmaweb should tell you
31     d) Check the database, similar to 1e)
32     e) switch back to the g+ login branch
33     f) Login with google
34     g) Check the database - see that the old user is gone
35     and there is one with your g+ id
36     h) Log out, and try logging in with G+,
37     verify it works.
38 6) Stemmaweb registration
39     a) reset database to empty / no users - run makedbtest.pl
40     b) Navigate to stemmaweb site, click on 'Sign In/Register'
41     and click sign in with stemmaweb
42     c) Click on 'register' and sign up
43     d) Verify stemmaweb has logged you in and that your
44     username is in the database.
45 7) Stemmaweb login
46     a) Navigate to stemmaweb site, click on 'Sign In/Register'
47     and click sign in with stemmaweb
48     b) Log in with the username & password you created in 6)
49     c) Verify successful log in