From 3d0627d1e23c9c3d1f4ca88b090b2b62c1a5c6af Mon Sep 17 00:00:00 2001 From: qamay209 Date: Fri, 3 Jul 2020 15:51:29 +0300 Subject: [PATCH] All logs and testcase --- automation_tests/logs/allLogs.txt | 48 + automation_tests/logs/emptyLogs.txt | 0 automation_tests/logs/myTestLogs.txt | 48 + qaMay209/conduit.xml | 1344 ++++++++++++++++++++++++++ 4 files changed, 1440 insertions(+) create mode 100644 automation_tests/logs/allLogs.txt create mode 100644 automation_tests/logs/emptyLogs.txt create mode 100644 automation_tests/logs/myTestLogs.txt create mode 100644 qaMay209/conduit.xml diff --git a/automation_tests/logs/allLogs.txt b/automation_tests/logs/allLogs.txt new file mode 100644 index 0000000..8c3d8f6 --- /dev/null +++ b/automation_tests/logs/allLogs.txt @@ -0,0 +1,48 @@ +ttaching to sample, flask +[33msample |[0m +[33msample |[0m > react-redux-realworld-example-app@0.1.0 start /app +[33msample |[0m > cross-env PORT=4100 react-scripts start +[33msample |[0m +[36mflask |[0m * Serving Flask app "/app/autoapp.py" (lazy loading) +[36mflask |[0m * Environment: production +[36mflask |[0m WARNING: This is a development server. Do not use it in a production deployment. +[36mflask |[0m Use a production WSGI server instead. +[36mflask |[0m * Debug mode: on +[36mflask |[0m * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit) +[36mflask |[0m * Restarting with stat +[36mflask |[0m * Debugger is active! +[36mflask |[0m * Debugger PIN: 492-802-202 +[33msample |[0m Starting the development server... +[33msample |[0m +[33msample |[0m Compiled successfully! +[33msample |[0m +[33msample |[0m You can now view react-redux-realworld-example-app in the browser. +[33msample |[0m +[33msample |[0m Local: http://localhost:4100/ +[33msample |[0m On Your Network: http://172.18.0.2:4100/ +[33msample |[0m +[33msample |[0m Note that the development build is not optimized. +[33msample |[0m To create a production build, use npm run build. +[33msample |[0m +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mOPTIONS /api/user HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mGET /api/user HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mOPTIONS /api/tags HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mOPTIONS /api/articles/feed?limit=10&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mGET /api/tags HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mGET /api/articles/feed?limit=10&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:41] "[37mOPTIONS /api/articles?limit=10&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:41] "[37mGET /api/articles?limit=10&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:43] "[37mOPTIONS /api/profiles/smaciiqw HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:43] "[37mOPTIONS /api/articles?author=smaciiqw&limit=5&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:43] "[37mGET /api/profiles/smaciiqw HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:43] "[37mGET /api/articles?author=smaciiqw&limit=5&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:46] "[37mOPTIONS /api/articles?favorited=smaciiqw&limit=5&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:46] "[37mGET /api/profiles/smaciiqw HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:46] "[37mGET /api/articles?favorited=smaciiqw&limit=5&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mOPTIONS /api/articles HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mPOST /api/articles HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mOPTIONS /api/articles/ff HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mOPTIONS /api/articles/ff/comments HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mGET /api/articles/ff/comments HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mGET /api/articles/ff HTTP/1.1[0m" 200 - +Gracefully stopping... (press Ctrl+C again to force) diff --git a/automation_tests/logs/emptyLogs.txt b/automation_tests/logs/emptyLogs.txt new file mode 100644 index 0000000..e69de29 diff --git a/automation_tests/logs/myTestLogs.txt b/automation_tests/logs/myTestLogs.txt new file mode 100644 index 0000000..8c3d8f6 --- /dev/null +++ b/automation_tests/logs/myTestLogs.txt @@ -0,0 +1,48 @@ +ttaching to sample, flask +[33msample |[0m +[33msample |[0m > react-redux-realworld-example-app@0.1.0 start /app +[33msample |[0m > cross-env PORT=4100 react-scripts start +[33msample |[0m +[36mflask |[0m * Serving Flask app "/app/autoapp.py" (lazy loading) +[36mflask |[0m * Environment: production +[36mflask |[0m WARNING: This is a development server. Do not use it in a production deployment. +[36mflask |[0m Use a production WSGI server instead. +[36mflask |[0m * Debug mode: on +[36mflask |[0m * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit) +[36mflask |[0m * Restarting with stat +[36mflask |[0m * Debugger is active! +[36mflask |[0m * Debugger PIN: 492-802-202 +[33msample |[0m Starting the development server... +[33msample |[0m +[33msample |[0m Compiled successfully! +[33msample |[0m +[33msample |[0m You can now view react-redux-realworld-example-app in the browser. +[33msample |[0m +[33msample |[0m Local: http://localhost:4100/ +[33msample |[0m On Your Network: http://172.18.0.2:4100/ +[33msample |[0m +[33msample |[0m Note that the development build is not optimized. +[33msample |[0m To create a production build, use npm run build. +[33msample |[0m +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mOPTIONS /api/user HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mGET /api/user HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mOPTIONS /api/tags HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mOPTIONS /api/articles/feed?limit=10&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mGET /api/tags HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:39] "[37mGET /api/articles/feed?limit=10&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:41] "[37mOPTIONS /api/articles?limit=10&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:41] "[37mGET /api/articles?limit=10&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:43] "[37mOPTIONS /api/profiles/smaciiqw HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:43] "[37mOPTIONS /api/articles?author=smaciiqw&limit=5&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:43] "[37mGET /api/profiles/smaciiqw HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:43] "[37mGET /api/articles?author=smaciiqw&limit=5&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:46] "[37mOPTIONS /api/articles?favorited=smaciiqw&limit=5&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:46] "[37mGET /api/profiles/smaciiqw HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:46] "[37mGET /api/articles?favorited=smaciiqw&limit=5&offset=0 HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mOPTIONS /api/articles HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mPOST /api/articles HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mOPTIONS /api/articles/ff HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mOPTIONS /api/articles/ff/comments HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mGET /api/articles/ff/comments HTTP/1.1[0m" 200 - +[36mflask |[0m 172.18.0.1 - - [01/Jul/2020 19:25:53] "[37mGET /api/articles/ff HTTP/1.1[0m" 200 - +Gracefully stopping... (press Ctrl+C again to force) diff --git a/qaMay209/conduit.xml b/qaMay209/conduit.xml new file mode 100644 index 0000000..988a195 --- /dev/null +++ b/qaMay209/conduit.xml @@ -0,0 +1,1344 @@ + + + S1 + Master + + +
+ User is not logged in + + +
+ Home page + + + + + + C10 + Сheck the functionality of "Read more" link + + Other + Critical + + + + 0 None + + + + + C11 + Check the functionality of [Like] button + + Other + Critical + + + + 0 None + + + + + C12 + Check if "Username" link sends the user on the page of author's article + + Other + Critical + + + + 0 None + + + + + C40 + Unregistered user can not use [Like Button] + + Other + Critical + + + + 0 None + + + + + C41 + The list of articles will be given to unregistered user after clicking on tag + + Other + Critical + + + + 0 None + + + + + C42 + N page is opened after clicking on it + + Other + High + + + + 0 None + + + + + C43 + Articles are shown on the page in DESC order + + Other + Medium + + + + 0 None + + + + + C44 + Data and name of author near the article respond to actual information + + Other + Medium + + + + 0 None + + + + + C45 + Unregistered user can not follow other authors + + Other + Critical + + + + 0 None + + + + + C46 + Unregistered user can not add comments to article. + + Other + Critical + + + + 0 None + + + + + C47 + The message "Sign in or sign up to add comments on this article" is shown if unregistered user wants to add comment + + Other + High + + + + 0 None + + + + + C48 + "Sign in" button sends user on sign in page + + Other + High + + + + 0 None + + + + + C49 + "Sign UP" button sends user in Sign up page + + Other + High + + + + 0 None + + + +
+
+ Sign in + + + + + + C17 + The authorization error message will appear if a user enters an invalid password or username + + Other + High + + + + 0 None + + + + + C18 + Authorization error message will appear if the user leaves "Password" or "Username" field blank + + Other + High + + + + 0 None + + + + + C85 + The [Sign In] button has to initiate the [username/email]/password pair checking action. + + Other + Critical + + + + 0 None + + + + + C86 + Users that have not been registered yet can not log in + + Other + Critical + + + + 0 None + + + + + C87 + ‘Need an account’ link redirects user on "Sign up" page + + Other + Medium + + + + 0 None + + + + +
+ Username/Email + + + + + + C77 + User can copy/paste text in the input field for "Username" + + Other + Medium + + + + 0 None + + + + + C78 + Lowercase letters, as well as uppercase letters, are allowed at "Username" field + + Other + Medium + + CON-16 + + 0 None + + + + + C79 + "Username" field is mandatory + + Other + Critical + + + + 0 None + + + + + C80 + User can log in only with a username/email which already exists in the server DB. + + Other + Critical + + + + 0 None + + + + + C88 + User can enter email or username in "Username" field + + Other + High + + CON-17 + + 0 None + + + +
+
+ Password + + + + + + C81 + User has to enter the same Username/Password pair which already exist on the server to log in + + Other + Critical + + + + 0 None + + + + + C82 + "Password" field should contain mask + + Other + Critical + + + + 0 None + + + + + C83 + "Password" field is mandatory + + Other + Critical + + + + 0 None + + + + + C84 + User can copy/paste text in the input field for "Password" + + Other + Medium + + + + 0 None + + + +
+
+
+
+ Sign UP + + + + + + C56 + "Username" field is mandatory + + Other + Critical + + + + 0 None + + + + + C57 + Username should contain at least 4 characters + + Other + High + + CON-5 + + 0 None + + + + + C58 + Username can not contain more than 36 characters + + Other + High + + CON-6 + + 0 None + + + + + C59 + Only Latin characters are allowed for "Username" field + + Other + Critical + + CON-7 + + 0 None + + + + + C60 + Such special symbols as “ -" and "_ “are allowed for Username filed + + Other + Medium + + + + 0 None + + + + + C61 + Username should be unique + + Other + Critical + + + + 0 None + + + + + C62 + Lowercase letters, as well as uppercase letters, are allowed at "Username" field + + Other + Medium + + + + 0 None + + + + + C76 + ERROR MESSAGE should appear: “Username/Email has been already taken“ if user enter not unique username + + Other + Critical + + + + 0 None + + + + +
+ Email + + + + + + C63 + The format of the email has to be [name]@[domain].[top-domain] + + Other + Critical + + + + 0 None + + + + + C64 + The [name] of the email can contain integer/Latin/symbols( "."," _"," +") characters + + Other + Medium + + CON-8 + + 0 None + + + + + C65 + Email must be unique + + Other + Critical + + + + 0 None + + + + + C66 + "Email" field is mandatory + + Other + Critical + + + + 0 None + + + + + C74 + ERROR MESSAGE should appear: “Username/Email has been already taken“ if user enter not unique email + + Other + High + + + + 0 None + + + + +
+ Password + + + + + + C67 + Password should contain at least 4 characters + + Other + High + + CON-12 + + 0 None + + + + + C68 + Password can not contain more than 36 characters + + Other + High + + CON-10 + + 0 None + + + + + C69 + User can use Integer/Characters/ Symbols for password + + Other + Medium + + + + 0 None + + + + + C70 + "Password" field should contain mask + + Other + Critical + + + + 0 None + + + + + C71 + "Password" field is mandatory + + Other + Critical + + + + 0 None + + + + + C72 + Required password form: at least one symbol, one integer, one capital letter + + Other + Critical + + + + 0 None + + + + + C75 + An error message should appear “password is too weak“/[field] is too short/[field] is too long" if user has entered an invalid password + + Other + High + + + + 0 None + + + +
+
+
+
+ Confirm password + + + + + + C73 + User has to enter he same text as in "password" field + + Other + Critical + + + + 0 None + + + +
+
+
+
+
+
+ User is logged in + + +
+ Home page + + +
+ YourFeed block + + + + + + C23 + Check the list of articles that is published by the registered user + + Other + Medium + + + + 0 None + + + + + C24 + Check if user's name, user's photo and publishing data correspond to actual user's information + + Other + Medium + + + + 0 None + + + + +
+ Popular Tags block + + + + + + C25 + After clicking on # tag all possible articles on this topic are shown + + Other + Medium + + + + 0 None + + + + +
+ Pagination block + + + + + + C26 + User is linked on chosen page after clicking on page number + + Other + Medium + + + + 0 None + + + + +
+ Footer block + + + + + + C27 + User is linked on the web page "Fork on GitHub" after clicking on link + + Other + Medium + + + + 0 None + + + +
+
+
+
+
+
+
+
+ New Post block + + + + + + C28 + User can't create article with empty mandatory fields + + Other + Critical + + + + 0 None + + + + + C29 + After clicking on [ Publish article button] the post is published if all mandatory fields are filled + + Other + Critical + + CON-19 + + 0 None + + + + + C89 + Unregistered user has to be redirect to "Sign In" form if he reaches "New Post" form by link + + Other + Critical + + CON-19 + + 0 None + + + + + C90 + Article title /What’s this article about?/Write your article (in markdown) are mandatory fields + + Other + Critical + + CON-19 + + 0 None + + + + + C91 + User can create two or more articles with the same title at the "Article title " field + + Other + Medium + + + + 0 None + + + + + C92 + Error message will appear if "Article title" field contains less that 5 characters + + Other + High + + + + 0 None + + + + + C93 + "Article title" field can not contain more than 240 symbols + + Other + High + + + + 0 None + + + + + C94 + Spaces can not be entered as the first/last or one by one in the raw at all fields of the page bar + + Other + High + + + + 0 None + + + + + C95 + "What’s this article about?" field can not contain less than 10 symbols or more than 240 symbols + + Other + High + + + + 0 None + + + + + C96 + If user leaves "Write your article" field empty, the error message“Body of article can't be blank.” will appear + + Other + Critical + + CON-19 + + 0 None + + + + + C97 + "Write your article" filed can contain Min 20 symbols and Max 9000 symbols + + Other + High + + + + 0 None + + + + + C98 + User can not add any attachments to "Write your article" filed + + Other + High + + + + 0 None + + + + + C99 + User can slide-down right corner of text box to change size of "Write your article" filed + + Other + Medium + + + + 0 None + + + + + C100 + "Enter tags" field can contain min 2 and max30 symbols (only letters and numbers) + + Other + High + + + + 0 None + + + + + C101 + User can not use more than 10 tags for one article + + Other + Medium + + + + 0 None + + + + + C102 + "Enter tags" field is not key sensitive. + + Other + Medium + + + + 0 None + + + + + C103 + Each tag at "Enter tags" field must start from “#” symbol. + + Other + Medium + + + + 0 None + + + + + C104 + An error message appears if one of the mandatory fields is left blank + + Other + High + + + + 0 None + + + + + C106 + If a user leaves “New Post” screen without publication, all entered info vanishes + + Other + High + + + + 0 None + + + + + C107 + After successful publication of an article, the user gets redirected to the User's Article page. + + Other + High + + + + 0 None + + + + +
+ User’s Article page + + + + + + C108 + "Article" page is available only for logged in user + + Other + Critical + + CON-20 + + 0 None + + + + + C109 + User can edit his article clicking on [Edit article] button + + Other + Critical + + CON-20 + + 0 None + + + + + C110 + User can delete his article clicking on [Delete article] button + + Other + Critical + + CON-20 + + 0 None + + + + + C111 + Text field “Write a comment…” can contain from 1 to 240 symbols + + Other + Medium + + + + 0 None + + + + + C112 + User can post a comment after clicking on [Post comment] button + + Other + Critical + + CON-20 + + 0 None + + + + + C113 + Only author of the comment can delete comment by clicking on [Delete] button + + Other + Critical + + CON-20 + + 0 None + + + +
+
+ Edit article screen + + + + + + C114 + Only logged in authors of the article can edit it + + Other + Critical + + CON-21 + + 0 None + + + + + C115 + Changes are added and saved after clicking on [Edit article] button + + Other + Critical + + CON-21 + + 0 None + + + + + C116 + An error message appears if one of mandatory fields is empty + + Other + High + + + + 0 None + + + + + C117 + “Cancel” button returns the user to the User's Article page without saving the changes + + Other + Critical + + CON-21 + + 0 None + + + +
+
+
+
+
+
+
+
+ Settings + + +
+ Settings block + + + + + + C33 + User can't create password shorter than 8 symbols + + Other + Medium + + + + 0 None + + + + + C34 + User can't login with wrong/incorrect email + + Other + Medium + + + + 0 None + + + + + C35 + User logs out after clicking on [Or click here to log out] button + + Other + Critical + + + + 0 None + + + +
+
+ Article block + + + + + + C36 + User can "Delete article" + + Other + Critical + + + + 0 None + + + + + C37 + User can "Edit article" + + Other + Critical + + + + 0 None + + + + + C38 + User can add comment + + Other + Critical + + + + 0 None + + + + +
+ Favorited articles + + + + + + C39 + User can read an article by clicking on "Read more" link + + Other + High + + + + 0 None + + + +
+
+
+
+
+
+
\ No newline at end of file