feat: updated docs, removed some clutter

This commit is contained in:
surtur 2020-07-03 17:42:49 +02:00
parent e8ff297cb7
commit 41d00bc941
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

81
docs
View File

@ -6,8 +6,6 @@ test set
- id - 00
- name - just a page GET
- opens the specified webpage
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - webpage is successfully loaded (screenshot proof)
- steps:
see test{{tc_id}}.robot
@ -21,8 +19,6 @@ test set
- id - 01
- name - open page and maximize
- opens the specified webpage and maximizes the browser window
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - webpage is successfully loaded and browser is maximized (screenshot proof)
- steps:
see test{{tc_id}}.robot
@ -37,8 +33,6 @@ test set
- name - attempt login without creds
- opens the specified webpage and attempts to log in with no
credentials (at all), which should (obviously) fail
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - webpage is loaded, login page displayed and login fails
- steps:
see test{{tc_id}}.robot
@ -53,8 +47,6 @@ test set
- name - open page, click Explore button and sort by "Most stars"
- opens the specified webpage, clicks on a button to browse
repositories, clicks on a dropdown, selects an option
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - repositories page should be ordered by "Most stars"
- steps:
see test{{tc_id}}.robot
@ -69,8 +61,6 @@ test set
- name - attempt login without password
- opens the specified webpage, clicks on a tabbar button to get to
login page, inputs a username and clicks on a 'Sign In' button
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - login fails, error message is shown
- steps:
see test{{tc_id}}.robot
@ -85,8 +75,6 @@ test set
- name - attempt login without username
- opens the specified webpage, clicks on a tabbar button to get to
login page, inputs a password and clicks on a 'Sign In' button
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - login fails, error message is shown
- steps:
see test{{tc_id}}.robot
@ -102,8 +90,6 @@ test set
- opens the specified webpage, clicks on a tabbar button to get to
login page, inputs a bogus username and bogus password and clicks
on a 'Sign In' button
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - login fails, error message is shown
- steps:
see test{{tc_id}}.robot
@ -121,8 +107,6 @@ test set
email and a *short* password (this Gitea instance has got a password
length requirement), retypes it for confirmation and clicks on
the 'Register Account' button
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - account registration fails, error message is shown
- steps:
see test{{tc_id}}.robot
@ -141,8 +125,6 @@ test set
Gitea instance has also got a password 'strength' requirement),
retypes it for confirmation and clicks on the 'Register Account'
button
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - account registration fails, error message is shown
- steps:
see test{{tc_id}}.robot
@ -161,8 +143,6 @@ test set
with requirements of this Gitea instance, it could be better;
however, for testing purposes will do), retypes it for confirmation
and clicks on the 'Register Account' button
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- expected result - account registration is successful, user Dashboard page is shown
- steps:
see test{{tc_id}}.robot
@ -178,7 +158,7 @@ test set
- opens the specified webpage, clicks on a tabbar button to get to
login page, inputs username and password, hits Enter, logs in
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- user registered (test09)
- expected result - user login is successful, user Dashboard page is shown
- steps:
see test{{tc_id}}.robot
@ -194,7 +174,7 @@ test set
- opens the specified webpage, clicks on a tabbar button to get to
login page, inputs email and password, hits Enter, logs in
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- user registered (test09)
- expected result - user login is successful, user Dashboard page is shown
- steps:
see test{{tc_id}}.robot
@ -210,7 +190,7 @@ test set
- robot user logs in using username and password,
clicks on a tabbar button to get to the Milestones page
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- user registered (test09)
- expected result - Milestones page is shown
- steps:
see test{{tc_id}}.robot
@ -226,7 +206,7 @@ test set
- robot user logs in using username and password,
clicks on a tabbar button to get to the Pull Requests page
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- user registered (test09)
- expected result - Pull Requests page is shown
- steps:
see test{{tc_id}}.robot
@ -242,7 +222,7 @@ test set
- robot user logs in using username and password,
clicks on a tabbar button to get to the Issues page
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- user registered (test09)
- expected result - Issues page is shown
- steps:
see test{{tc_id}}.robot
@ -259,7 +239,7 @@ test set
clicks on a tabbar user menu button, selects Profile entry
to get to the user profile page
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- user registered (test09)
- expected result - user profile page is shown
- steps:
see test{{tc_id}}.robot
@ -276,7 +256,7 @@ test set
clicks on Explore tabbar button, searches for dotfiles repo,
selects the one by 'wanderer' and stars it
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- user registered (test09)
- expected result - wanderer's dotfiles repo is starred by robot user
- steps:
see test{{tc_id}}.robot
@ -293,7 +273,7 @@ test set
clicks on Explore tabbar button, searches for dotfiles repo,
selects the one by 'wanderer' and unstars it
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- user registered (test09)
- wanderer's repo is starred by the robot user
- expected result - wanderer's dotfiles repo is not starred by robot user
- steps:
@ -310,7 +290,7 @@ test set
- robot user logs in using username and password,
creates a mirror of the BLAKE3 repository
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- user registered (test09)
- expected result - local mirror of BLAKE3 is created
- steps:
see test{{tc_id}}.robot
@ -326,8 +306,8 @@ test set
- robot user logs in using username and password,
deletes a previously created mirror repository
- Pre-conditions
- robotframework + selenium + chromium + chromedriver
- completed test18
- user registered (test09)
- mirror created (test18)
- expected result - mirror repo is deleted
- steps:
see test{{tc_id}}.robot
@ -344,8 +324,6 @@ test set
- id - 00
- name - open homepage (mobile)
- opens the specified webpage
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- expected result - webpage is loaded
- steps:
see test{{tc_id}}.robot
@ -359,8 +337,6 @@ test set
- id - 02
- name - attempt login without creds (mobile)
- attempts login without creds
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- expected result - login fails
- steps:
see test{{tc_id}}.robot
@ -377,8 +353,6 @@ test set
clicks on the Explore button to browse through repositories,
clicks on a dropdown and selects an option to sort repos by
most stars
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- expected result - repositories page should be ordered by "Most stars"
- steps:
see test{{tc_id}}.robot
@ -392,8 +366,6 @@ test set
- id - 04
- name - attempt login without password (mobile)
- attempts login using only username (no password)
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- expected result - login fails
- steps:
see test{{tc_id}}.robot
@ -407,8 +379,6 @@ test set
- id - 05
- name - attempt login without username (mobile)
- attempts login using only password (no username)
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- expected result - login fails
- steps:
see test{{tc_id}}.robot
@ -422,8 +392,6 @@ test set
- id - 06
- name - attempt login with bogus creds (mobile)
- robot attempts login using bogus creds
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- expected result - login fails
- steps:
see test{{tc_id}}.robot
@ -437,8 +405,6 @@ test set
- id - 07
- name - attempt to register short password (mobile)
- robot attempts to register an account using a short password
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- expected result - registration fails
- steps:
see test{{tc_id}}.robot
@ -452,8 +418,6 @@ test set
- id - 08
- name - attempt to register weak password (mobile)
- robot attempts to register an account using a weak password
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- expected result - registration fails
- steps:
see test{{tc_id}}.robot
@ -470,8 +434,6 @@ test set
'Log In' to get to login page, taps on a 'Need to register' link,
inputs a username, an email and a semi-legitimate password
retypes it for confirmation and clicks on 'Register Account'
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- expected result - account registration is successful, user Dashboard page is shown
- steps:
see test{{tc_id}}.robot
@ -487,7 +449,7 @@ test set
- opens the specified webpage, taps on the "burger menu", selects
'Sign In', inputs username and password, taps on 'Sign In' button
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- user registered (test09)
- expected result - user login is successful, user Dashboard page is shown
- steps:
see test{{tc_id}}.robot
@ -503,7 +465,7 @@ test set
- opens the specified webpage, taps on the "burger menu", selects
'Sign In', inputs email and password, taps on 'Sign In' button
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- user registered (test09)
- expected result - user login is successful, user Dashboard page is shown
- steps:
see test{{tc_id}}.robot
@ -519,7 +481,7 @@ test set
- robot user signs in, taps on the burger menu, selects
'Milestones'
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- user registered (test09)
- expected result - user's 'Milestones' page is shown
- steps:
see test{{tc_id}}.robot
@ -535,7 +497,7 @@ test set
- robot user signs in, taps on the burger menu, selects
'Pull Requests'
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- user registered (test09)
- expected result - user's 'Pull Requests' page is shown
- steps:
see test{{tc_id}}.robot
@ -550,7 +512,7 @@ test set
- name - show Issues page (mobile)
- robot user signs in, taps on the burger menu, selects 'Issues'
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- user registered (test09)
- expected result - user's 'Issues' page is shown
- steps:
see test{{tc_id}}.robot
@ -566,7 +528,7 @@ test set
- robot user signs in, taps on the burger menu, taps on a dropdown
to have user menu shown, selects 'Profile'
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- user registered (test09)
- expected result - user profile page is shown
- steps:
see test{{tc_id}}.robot
@ -583,7 +545,7 @@ test set
button, searches for dotfiles repo, selects the one by 'wanderer'
and stars it
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- user registered (test09)
- expected result - user profile page is shown
- steps:
see test{{tc_id}}.robot
@ -600,7 +562,7 @@ test set
button, searches for dotfiles repo, selects the one by 'wanderer'
and unstars it
- Pre-conditions
- robotframework + selenium + (emulated) mobile chromium + chromedriver
- user registered (test09)
- expected result - user profile page is shown
- steps:
see test{{tc_id}}.robot
@ -615,6 +577,8 @@ test set
- name - create a mirror of a repository (mobile)
- robot user logs in using username and password,
creates a mirror of the BLAKE3 repository
- Pre-conditions
- user registered (test09)
- expected result - local mirror of BLAKE3 is created
- steps:
see test{{tc_id}}.robot
@ -630,7 +594,8 @@ test set
- robot user logs in using username and password,
deletes a previously created mirror repository
- Pre-conditions
- completed m-test18
- user registered (test09)
- mirror created (m-test18)
- expected result - mirror repo is deleted
- steps:
see test{{tc_id}}.robot