From 2293449ab965036a4a721c238bf05f977307425c Mon Sep 17 00:00:00 2001 From: mervearas Date: Wed, 9 Dec 2020 23:34:54 +0100 Subject: [PATCH 1/4] finished the week1 assignment --- Week1/RealWord.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Week1/RealWord.md diff --git a/Week1/RealWord.md b/Week1/RealWord.md new file mode 100644 index 0000000..4f4da2f --- /dev/null +++ b/Week1/RealWord.md @@ -0,0 +1,29 @@ +# Shared Testing Activities + +- Home page displays the same content ( Your Feed, Global Feed ) +- New Post form +- Follow button on the article page +- Displaying single article + +# Unique Testing Activities For Mobile App + +- Home page load since it does not have pagination. +- Resetting backend url from the settings page. +- Displaying about page +- Logout button on the navigation bar. +- Add article button on the right bottom edge of the screen. +- Notification bar after clicking logout button +- Functionality of side navigation(drawer). + +# Unique Testing Activities For Web App + +- Pagination +- New Post button on the navigation bar +- Popular Tags on the home page +- Favourite button on the Global feed tab +- "or click here to logout" button in the settings page. + + + + + From c207a3d7500ee90b40ddfd7c3638772be04e7522 Mon Sep 17 00:00:00 2001 From: mervearas Date: Fri, 11 Dec 2020 22:42:28 +0100 Subject: [PATCH 2/4] added description --- Week1/RealWord.md | 61 ++++++++++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 16 deletions(-) diff --git a/Week1/RealWord.md b/Week1/RealWord.md index 4f4da2f..cc32970 100644 --- a/Week1/RealWord.md +++ b/Week1/RealWord.md @@ -1,27 +1,56 @@ # Shared Testing Activities -- Home page displays the same content ( Your Feed, Global Feed ) -- New Post form -- Follow button on the article page -- Displaying single article +##### Home page displays the same content ( Your Feed, Global Feed ) +- Both application display the same content in the home page. 'your feed' and 'global feed' buttons working correctly. Clicking global feed and your feed render the content as expected in the first page load but refreshing your feed does not display the data. + +##### New Post form +- New Post form is accessible from different location of the applications. Form expects the same data with different labels. Saving or puslihing the post button creates a new post. + +##### Follow button on the article page +- Both User pages in these applications have follow buttons and the clicking that button works as expected. After clicking follow button your feed displayed the articles belongs the followed user. + +##### Displaying single article +- Both page displayes the single article. Adding comment works as expected. But deleting comment is only working for mobile application since it does not work on web application. # Unique Testing Activities For Mobile App -- Home page load since it does not have pagination. -- Resetting backend url from the settings page. -- Displaying about page -- Logout button on the navigation bar. -- Add article button on the right bottom edge of the screen. -- Notification bar after clicking logout button -- Functionality of side navigation(drawer). +##### Home page load since it does not have pagination. +- Home page/Global Feed is loaded as expected. Scrolling down displayes more articles and during the load page displayes a spinner to notify the user. + +##### Resetting backend url from the settings page. +- Settings page has a form to reset or change the backend url. Save and Reset button works as expected. Url validation also works good. The application displays an error if the url is not valid. + +##### Displaying about page +- Clicking about button displays the application information in a modal. And close button on the modal works. + +##### Logout button on the sidebar. +- Clicking logout button works as expected. + +##### + icon on the right bottom edge of the screen. +- Clicking + icon navigates user to the add article page. + +##### Notification +- Mobile application has easy readable notifications on the actions of the user since the other application does not have it. It is displayed when the user clicks the logout button or the backend url is not valid or when the user creates a new article. + +##### Functionality of side navigation(drawer). +- Clicking hamburger menu icon opens the drawer. And clicking the backdrop closes the drawer as expected. # Unique Testing Activities For Web App -- Pagination -- New Post button on the navigation bar -- Popular Tags on the home page -- Favourite button on the Global feed tab -- "or click here to logout" button in the settings page. +##### Pagination +- Clicking pagination buttons works and gets the new page with the selected number. But refreshing the page does not keep the selected page and displays the your feed tab instead. + +##### New Post button on the navigation bar +- Clicking New Post button navigates the user to the Add new article page. + +##### Popular Tags on the home page +- Popolar tags displayes the dupplicated content. Clicking the tag works and displayed the selected tag next to the global feed tab and renders the content as expected. + +##### Favourite(like) button on the Global feed tab +- Global feeds display the favourite(like) button for each article since it is not displayed in the other application. + +##### "or click here to logout" button in the settings page. +- Clikcing the button works as expected. From a37894c3001baa4c85712748e070aba3a04ce517 Mon Sep 17 00:00:00 2001 From: mervearas Date: Fri, 11 Dec 2020 22:49:35 +0100 Subject: [PATCH 3/4] changed the font size --- Week1/RealWord.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Week1/RealWord.md b/Week1/RealWord.md index cc32970..a24d33d 100644 --- a/Week1/RealWord.md +++ b/Week1/RealWord.md @@ -1,55 +1,55 @@ # Shared Testing Activities -##### Home page displays the same content ( Your Feed, Global Feed ) +### Home page displays the same content ( Your Feed, Global Feed ) - Both application display the same content in the home page. 'your feed' and 'global feed' buttons working correctly. Clicking global feed and your feed render the content as expected in the first page load but refreshing your feed does not display the data. -##### New Post form +### New Post form - New Post form is accessible from different location of the applications. Form expects the same data with different labels. Saving or puslihing the post button creates a new post. -##### Follow button on the article page +### Follow button on the article page - Both User pages in these applications have follow buttons and the clicking that button works as expected. After clicking follow button your feed displayed the articles belongs the followed user. -##### Displaying single article +### Displaying single article - Both page displayes the single article. Adding comment works as expected. But deleting comment is only working for mobile application since it does not work on web application. # Unique Testing Activities For Mobile App -##### Home page load since it does not have pagination. +### Home page load since it does not have pagination. - Home page/Global Feed is loaded as expected. Scrolling down displayes more articles and during the load page displayes a spinner to notify the user. -##### Resetting backend url from the settings page. +### Resetting backend url from the settings page. - Settings page has a form to reset or change the backend url. Save and Reset button works as expected. Url validation also works good. The application displays an error if the url is not valid. -##### Displaying about page +### Displaying about page - Clicking about button displays the application information in a modal. And close button on the modal works. -##### Logout button on the sidebar. +### Logout button on the sidebar. - Clicking logout button works as expected. -##### + icon on the right bottom edge of the screen. +### + icon on the right bottom edge of the screen. - Clicking + icon navigates user to the add article page. -##### Notification +### Notification - Mobile application has easy readable notifications on the actions of the user since the other application does not have it. It is displayed when the user clicks the logout button or the backend url is not valid or when the user creates a new article. -##### Functionality of side navigation(drawer). +### Functionality of side navigation(drawer). - Clicking hamburger menu icon opens the drawer. And clicking the backdrop closes the drawer as expected. # Unique Testing Activities For Web App -##### Pagination +### Pagination - Clicking pagination buttons works and gets the new page with the selected number. But refreshing the page does not keep the selected page and displays the your feed tab instead. -##### New Post button on the navigation bar +### New Post button on the navigation bar - Clicking New Post button navigates the user to the Add new article page. -##### Popular Tags on the home page +### Popular Tags on the home page - Popolar tags displayes the dupplicated content. Clicking the tag works and displayed the selected tag next to the global feed tab and renders the content as expected. -##### Favourite(like) button on the Global feed tab +### Favourite(like) button on the Global feed tab - Global feeds display the favourite(like) button for each article since it is not displayed in the other application. -##### "or click here to logout" button in the settings page. +### "or click here to logout" button in the settings page. - Clikcing the button works as expected. From 22de69d335fc7662c5c0e21e470bc0fd3b226e86 Mon Sep 17 00:00:00 2001 From: mervearas Date: Thu, 31 Dec 2020 02:55:07 +0100 Subject: [PATCH 4/4] finished signup test cases --- Week3/signup.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Week3/signup.md diff --git a/Week3/signup.md b/Week3/signup.md new file mode 100644 index 0000000..cf68777 --- /dev/null +++ b/Week3/signup.md @@ -0,0 +1,48 @@ +Feature: Checking the sign up functionality on sign up page. + +Background: +Given I am entering the sign up page + + +Scenario: Filling the form with valid data +When I enter a valid username +And I enter a valid email +And I enter a valid password +AndI click the Sign in button +Then I will be redirected to the homepage + +Scenario: Filling the form with an existing user name and valid email, password +When I enter the existing username +And I enter a valid email +And I enter a valid password +And I click the sign in button +Then I will see the notification says "username has already been taken" + +Scenario: Filling the form with an invalid password (less than 8 characters) and valid username, email +When I enter the valid username +AndI enter a valid email +And I enter a password with 7 characters +And I click the sign in button +Then I will see the notification says "password is too short (minimum is 8 characters)" + +Scenario: Filling the form with a empty username and valid email, password +When I leave the username input empty +AndI enter a valid email +And I enter a valid password +And I click the sign in button +Then I will see the notification says "username can't be blankis too short (minimum is 1 character)" + + +Scenario: Filling the form with an invalid email and valid username, password +When I enter a valid username +And I enter an invalid email without @ sign +And I enter a valid password +And I click the sign in button +Then I will see the notification says "Please include an '@' in the email address" + + + + + + +