-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #443 from bounswe/test_plan
Test plan
- Loading branch information
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,6 +130,15 @@ After this, Bekir logs in to his account from the mobile app. | |
- 1.1.5.1.2 Each poll must have a question. | ||
- Bekir answers the poll with a 2 as he believes Fenerbahce will win with a 3-1 score. | ||
- 1.1.5.2.1 Members shall be able to vote on active polls. | ||
## Test Plan | ||
Sgt. John "Soap" Mactavish has been serving in Task Force 141 for years. Currently serving as a sergeant under the command of Captain Price, he dreams about getting promoted to captain and raising his salary to buy a spacious mansion in Ayrshire in Northern Scotland which he plans to renovate as his future abode pending his impending retirement. In order to predict the time of his promotion, he wants to post a poll. In order to post a poll, Soap has to create an account using the following data: | ||
* Username: Makarov_Slayer | ||
* Password: PriceDisciple | ||
* Email address: [email protected] | ||
* Birthdate: 01/12/1975 | ||
<br> | ||
As in the requirement <b>1.1.2.1.1</b>. | ||
Nevertheless, he will get an error because the password doesn't satisfy the requirement <b>1.1.2.1.2</b> which obliges Soap to include numbers and special characters. Soap updates his password as <b>Price_Disciple@141</b>. As a result, he successfully creates an account. Within a couple of seconds, he will receive a verification mail in his email <b>[email protected]</b> which contains a verification link as mentioned in requirement <b>1.1.2.1.3</b>. Later, Soap can log in using his credentials as mentioned in the requirement <b>1.1.2.2.1</b>. In order to save time, Soap can sign up or log in using his Gmail address <b>[email protected]</b> as allowed by the requirements <b>1.1.2.1.4</b> and <b>1.1.2.2.2</b> respectively. John would first see his feed page which includes a navigation side list that facilitates surfing the website. Thanks to the side list, John may access his profile page which is created in compliance with the requirement <b>1.1.3.1</b>. If not, he may continue to check his feed. He may choose to create a poll as per the requirement <b>1.1.5.1.1</b>. Hence, he would select Create from the side list. He will type his question <b>When I will get promoted to a Captain?</b> as per requirement <b>1.1.5.1.2</b>. He will choose the type of responses he desires either continuous data in the form of dates or discrete ones where the users pick from multiple options as per the requirement <b>1.1.5.1.7</b>. He would prefer a continuous-type poll, hence he will click the customized button and pick the date option. Then, He will be able to set the due date to <b>11/11/2024</b> per requirement <b>1.1.5.1.5</b> and click the <b>Create Poll</b> Button to finalize the poll. Soap will then be forwarded to the feed page. He will find a poll posted by his fellow team member Ghost. The poll asks the users about the expected duration of the current World War 3 in years: the question's text is <b>How long do you expect WW3 to last?</b>. Soap will click on the poll and get forwarded to the vote page. When Soap signed up, he was awarded <b>10,000</b> points. He can use them to vote in polls as per the requirement <b>1.1.5.2.1</b>. Soap can bet <b>100</b> points given his current points. If he tries to bet <b>10,001</b>, he won't be able to vote. He will type <b>100</b> as his bet points, provide a numeric answer of <b>4</b>, meaning that he expects the war to last for 4 years, and click on the <b>Vote</b> button, completing the process. After getting forwarded, to the feed page, Soap remembers that the US Military hardware is superior and believes that the war can end within a year. He searches for Ghost's poll by typing the expression <b>WW3</b> on the search bar as per requirement <b>1.1.4.7</b>. He finds the poll, types <b>1</b> as an answer, meaning that he expects the war to conclude in a single year, and bets <b>300</b> points, effectively changing his vote as allowed by requirement <b>1.1.5.2.2</b>. Soap calls it a day and logs out of his account by clicking on the <b>LOGOUT</b> button in the side list. | ||
|
||
## Risks | ||
- If things are didn't go as expected in mobile we may delay the [moderation UI issue](https://github.com/bounswe/bounswe2023group4/issues/418) since we won't integrate it to backend it is safe to delay it for the sake of other componenents. | ||
|