Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment front end #66

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7fbdd9a
Delete Appium_CrossPlatform directory
karimmahmoud22 Nov 9, 2022
178a18d
Delete Cypress_FE_BE directory
karimmahmoud22 Nov 9, 2022
559d44d
Delete JMeter_StressTesting directory
karimmahmoud22 Nov 9, 2022
dd39cf4
There are the following details of this commit:
karimmahmoud22 Nov 9, 2022
13db94e
extra files
karimmahmoud22 Nov 9, 2022
110a9b3
Add Analysis of the test cases for 1st time
karimmahmoud22 Nov 9, 2022
a2d0687
i have added page objects folder which include :
Samaa-Hazem2001 Nov 10, 2022
87f81ae
i have added test cases folder which include :
Samaa-Hazem2001 Nov 10, 2022
7cc5445
Upload the image which i used in my test case
Samaa-Hazem2001 Nov 11, 2022
dc4441b
example of Code style
karimmahmoud22 Nov 11, 2022
ec78767
Post Action test cases
Samaa-Hazem2001 Nov 11, 2022
b983a5e
Post action upgrade
Samaa-Hazem2001 Nov 11, 2022
034237c
add user post actions test cases header
Samaa-Hazem2001 Nov 11, 2022
38e5754
Added User post actions function logic
Samaa-Hazem2001 Nov 11, 2022
d8a8327
Delete cypress/videos directory
karimmahmoud22 Nov 12, 2022
85a940d
Delete cypress/screenshots directory
karimmahmoud22 Nov 12, 2022
bdb9fd6
Delete cypress/e2e/SWE_PROJECT directory
karimmahmoud22 Nov 12, 2022
ebb0e4c
These files are the progress of the second phase
karimmahmoud22 Nov 12, 2022
7c82f14
These files are videos of the second phase
karimmahmoud22 Nov 12, 2022
d347516
These files are screenshots of the second phase
karimmahmoud22 Nov 12, 2022
275ca6b
I have added page objects folders to :
Samaa-Hazem2001 Nov 12, 2022
a1b058d
I have added some test cases :
Samaa-Hazem2001 Nov 12, 2022
ca3a2c3
The report of test cases in phase 1
karimmahmoud22 Nov 12, 2022
3506a38
add create commuity tests
Samaa-Hazem2001 Dec 3, 2022
fff6336
add page objects to create community tests
Samaa-Hazem2001 Dec 3, 2022
1b46738
add env var
Dec 6, 2022
af6f729
adding deployment docker file
Waer1 Dec 6, 2022
409e7a5
Merge branch 'Front_End_Branch' of https://github.com/Reddit-Replica/…
Waer1 Dec 6, 2022
220a08b
adding deployment docker file
Waer1 Dec 6, 2022
93ac8c6
adding the testing pipeline
Waer1 Dec 6, 2022
9969c72
adding comments
Waer1 Dec 6, 2022
720be66
adding more indicators
Waer1 Dec 6, 2022
423b6c9
adding more indicators
Waer1 Dec 6, 2022
0c7a2cf
changing the absolute path to realtive
Waer1 Dec 6, 2022
2ed9965
edit base url
Waer1 Dec 6, 2022
87accee
remove videos from output
Waer1 Dec 6, 2022
967882d
disable video in cypress
Waer1 Dec 6, 2022
0a6ff4a
preventing video and limit cypress resources
Waer1 Dec 6, 2022
6264b20
filter login
Samaa-Hazem2001 Dec 13, 2022
fb02583
filter create post
Samaa-Hazem2001 Dec 13, 2022
9a76f87
Add files via upload
Samaa-Hazem2001 Dec 13, 2022
d0fdd5a
filter sign up
Samaa-Hazem2001 Dec 13, 2022
84f3a38
filtered : signup, login, create community
Samaa-Hazem2001 Dec 13, 2022
6cdfd75
change sign up objects
Samaa-Hazem2001 Dec 13, 2022
04bd1bd
change login objects
Samaa-Hazem2001 Dec 13, 2022
3a0b677
change create post objects
Samaa-Hazem2001 Dec 13, 2022
74658b3
update create post objects
Samaa-Hazem2001 Dec 13, 2022
9db9294
update objects of : sign up,login,createcommunity
Samaa-Hazem2001 Dec 13, 2022
3d2a176
Update README.md
karimmahmoud22 Feb 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
These files are the progress of the second phase
  • Loading branch information
karimmahmoud22 authored Nov 12, 2022
commit ebb0e4ce2d8f2155d0b7c28b6f577e1e88148426
142 changes: 142 additions & 0 deletions cypress/e2e/SWE_PROJECT/ForgetActions/ForgetPasswordActions.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
/// <reference types="cypress" />
import ForgetPasswordObjects from "/home/karimmahmoud/Desktop/CypressAutomation/cypress/e2e/SWE_PROJECT/PageObjects/ForgetObjects/ForgetPasswordObjects.cy"

describe('Reset Password Page Tests', function () {

//Test Case 1
//NOTE: CHECK THE EFFECT OF IT
it('Forget Password', () => {

const forgetPassword = new ForgetPasswordObjects()
forgetPassword.navigate()

forgetPassword.ForgetPasswordHyperLink()
forgetPassword.UrlEqualChecker('http://localhost/forgetPasswordpage')
forgetPassword.EnterEmail('karimmahmoud2210@gmail.com')
forgetPassword.EnterUserName('adasdwdx')
forgetPassword.ClickOnResetPasswordButton()

})

//Test Case 2
//TODO : REVIEW IT
it('Forget Password then click on help', () => {

const forgetPassword = new ForgetPasswordObjects()
forgetPassword.navigate()

forgetPassword.ForgetPasswordHyperLink()
forgetPassword.UrlEqualChecker('http://localhost/forgetPasswordpage')
forgetPassword.EnterEmail('karimmahmoud2210@gmail.com')
forgetPassword.EnterUserName('adasdwdx')
forgetPassword.UrlNotEqualChecker('http://localhost/forgetPasswordpage')
})

//Test Case 3
//email is : 1231565456@gmail.com which is invalid one
it('Write Invalid Email - should appear error message', () => {

const forgetPassword = new ForgetPasswordObjects()
forgetPassword.navigate()

forgetPassword.ForgetPasswordHyperLink()
forgetPassword.UrlEqualChecker('http://localhost/forgetPasswordpage')
forgetPassword.EnterEmail('1231565456@gmail.com')
forgetPassword.EnterUserName('adasdwdx')
forgetPassword.InvalidMessage()

})

//Test Case 6
//email is : 1231565456a@gmail.com which is Valid one
it('Write Valid Email - should not appear error message', () => {

const forgetPassword = new ForgetPasswordObjects()
forgetPassword.navigate()

forgetPassword.ForgetPasswordHyperLink()
forgetPassword.UrlEqualChecker('http://localhost/forgetPasswordpage')
forgetPassword.EnterEmail('1231565456a@gmail.com')
forgetPassword.EnterUserName('adasdwdx')
forgetPassword.NotInValidMessage()

})

//Test Case 7
//email is : as1231565456a which is InValid one
it('Write Invalid Email - should appear error message', () => {

const forgetPassword = new ForgetPasswordObjects()
forgetPassword.navigate()

forgetPassword.ForgetPasswordHyperLink()
forgetPassword.UrlEqualChecker('http://localhost/forgetPasswordpage')
forgetPassword.EnterEmail('as1231565456a')
forgetPassword.EnterUserName('adasdwdx')
forgetPassword.InvalidMessage()

})

//Test Case 8
//email is : <html> which is InValid one
it('Write Invalid Email - should appear error message', () => {

const forgetPassword = new ForgetPasswordObjects()
forgetPassword.navigate()

forgetPassword.ForgetPasswordHyperLink()
forgetPassword.UrlEqualChecker('http://localhost/forgetPasswordpage')
forgetPassword.EnterEmail('as1231565456a')
forgetPassword.EnterUserName('<html>')
forgetPassword.InvalidMessage()

})

//Test Case 9
//email is : #$%#$^$%#^ which is InValid one
it('Write Invalid Email - should appear error message', () => {

const forgetPassword = new ForgetPasswordObjects()
forgetPassword.navigate()

forgetPassword.ForgetPasswordHyperLink()
forgetPassword.UrlEqualChecker('http://localhost/forgetPasswordpage')
forgetPassword.EnterEmail('as1231565456a')
forgetPassword.EnterUserName('#$%#$^$%#^')
forgetPassword.InvalidMessage()

})

//Test Case 10
//email is : @@@@@@@ which is InValid one
it('Write Invalid Email - should appear error message', () => {

const forgetPassword = new ForgetPasswordObjects()
forgetPassword.navigate()

forgetPassword.ForgetPasswordHyperLink()
forgetPassword.UrlEqualChecker('http://localhost/forgetPasswordpage')
forgetPassword.EnterEmail('as1231565456a')
forgetPassword.EnterUserName('@@@@@@@')
forgetPassword.InvalidMessage()

})


//Test Case 11
//email is : 127.0.0.1 which is InValid one
it('Write Invalid Email - should appear error message', () => {

const forgetPassword = new ForgetPasswordObjects()
forgetPassword.navigate()

forgetPassword.ForgetPasswordHyperLink()
forgetPassword.UrlEqualChecker('http://localhost/forgetPasswordpage')
forgetPassword.EnterEmail('as1231565456a')
forgetPassword.EnterUserName('127.0.0.1')
forgetPassword.InvalidMessage()

})


})
Loading