diff --git a/docs b/docs index 73d6c68..ff5e88a 100644 --- a/docs +++ b/docs @@ -760,7 +760,12 @@ test set - id - 08 - name - add webhook - - + - user searches for their favourite repo, clicks on 'Settings', + move to the 'Webhooks' tab, clicks on 'Add Webhook', selects + 'Discord', inputs webhook URL into 'Target URL', optionally + renames the webhook or specifies a path to the custom icon, + specifies trigger events and branches that are relevant (wildcards allowed), + checks the 'Active' checkbox and clicks on 'Add Webhook' button to save all. - Pre-conditions - user registered (automated test09) - user is logged in @@ -773,7 +778,11 @@ test set - id - 09 - name - set protected branch - - + - user finds their favourite repo, clicks on repo 'Settings', goes + to the 'Branches' tab, selects one from the dropdown, checks the 'Enable Branch Protection' + checkbox, selects the desired protection options such as commit + signing requirement, blocked merges when PRs are outdated + (behind the base) etc., and clicks on 'Update Settings' to save all. - Pre-conditions - user registered (automated test09) - user is logged in @@ -786,7 +795,12 @@ test set - id - 10 - name - add deploy key - - + - user finds their favourite repo, clicks on repo 'Settings', goes + to the 'Deploy Keys' tab, clicks on 'Add Deploy Key' button, + pastes copied pubkey from the clipboard to the 'Content' field, + optionally renames the key (as its name is derived automatically from the key), + decides whether or not to allow write access and saves by clicking + on the big green 'Add Deploy Key' button right under the 'Content' field - Pre-conditions - user registered (automated test09) - user is logged in @@ -798,8 +812,11 @@ test set - execution time - variable - id - 11 - - name - add a pre-receive git hook - - + - name - update a pre-receive git hook + - user finds their favourite repo, clicks on repo 'Settings', goes + to the 'Git Hooks' tab, clicks on the edit icon of the 'pre-receive' row, + inputs the desired content into the 'Hook Content' field and saves it + by clicking on 'Update Hook' - Pre-conditions - user registered (automated test09) - user is logged in