-
Notifications
You must be signed in to change notification settings - Fork 30
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
[PB-985]: feature/playwright e2e tests #1233
Open
savilashokworks
wants to merge
28
commits into
master
Choose a base branch
from
feature/playwright-e2e-tests
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
3079e25
The first commit contains the creation of the folders: data, helper, …
QAZebass 51c4bb0
login tests was updated and sign up tests are being developed. Still …
QAZebass 68cb6de
existing tests were refined. The folder creation tests was initialize…
QAZebass 568f4d6
faker.js installed. Locators folder deleted for simplicity and use of…
QAZebass a176dc5
fixed tests that depended on locators folder
QAZebass c5f6cf6
Hide banner in development mode
2a8096f
Dinamyc new user per test run was added
QAZebass a7f3d94
Merge branch 'feature/playwright-e2e-tests' of https://github.com/int…
QAZebass 25b5ed4
BasePage deleted, Edge browser project configured, flaky tests fixed.…
QAZebass 5b3fc8c
unnecessary waits deleted, credentials passed through credentials.json
QAZebass dbfbe8d
Locators, staticdata, upload folder and first test about file deletio…
QAZebass 58b4951
Added staging env for playwright tests
1862a2e
Merge branch 'master' into feature/playwright-e2e-tests
860bf7e
Add required node version to playwright action
4692429
Run local front to run tests in local env
2bd3c2c
Change on playwright ci to run dev server
0d60175
corrected login test url
670dbee
Changed wait to wrong endpoint
d513f84
Removed cypress test run from ci action
f0ddcf6
Diplay on boarding tutorial only in production environment
d82f8f6
Merge branch 'master' into feature/playwright-e2e-tests
CandelR b353088
Changed e2e tests url in config files and minor changes
CandelR cd482e2
Store email in lowercase in order to match with sign up email
CandelR 1876de9
Fixed e2e imports
CandelR bcd51ad
Modified playwright.yml to add staging env
CandelR fa99af1
Increased time to be visible Drive text
CandelR 76ba52e
Added headed by default
CandelR 0a86c59
Added screenshots on failure option
CandelR File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
Empty file.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// global.ts | ||
export const userCredentials = { | ||
email: '', | ||
password: '', | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
export const staticData = { | ||
//CREDENTIALS | ||
invalidPassword: 'invalid', | ||
tooShortPassword: 'tes', | ||
notComplexPassword: 'password', | ||
|
||
//URLS | ||
passwordRecoveryLinkURL: 'http://localhost:3000/recovery-link/', | ||
signUpURL: 'http://localhost:3000/new', | ||
driveURL: 'http://localhost:3000/', | ||
|
||
//SIGNUP DISCLAIMER | ||
disclaimer: | ||
'Internxt doesn’t store passwords. If you forget your password, you can download a backup key to regain access to your files. Learn more', | ||
|
||
//PASSWORD WARNINGS | ||
passwordNotLongEnough: 'Password has to be at least 8 characters long', | ||
passwordNotComplex: 'Password is not complex enough', | ||
passwordWeak: 'Password is weak', | ||
passwordStrong: 'Password is strong', | ||
|
||
//PAGE TITLES | ||
termsOfServiceTitle: 'Terms of Service', | ||
needHelpTitle: 'How can we help you?', | ||
howToCreateBackUpKeyPageTitle: 'How do I create a backup key?', | ||
logInPageTitle: 'Log in', | ||
|
||
userAlreadyRegistered: 'already registered', | ||
accountRecovery: 'Account recovery', | ||
wrongLoginWarning: 'Invalid username or password', | ||
dontHaveAccountText: 'Don\'t have an account?', | ||
createAccountText: 'Create account', | ||
termsAndConditionsLinkText: 'Terms and conditions', | ||
youAcceptTermsLinkText: 'you accept the terms & conditions', | ||
needHelpLinkText: 'Need help?', | ||
driveTitle: 'Drive', | ||
itemMovedToTrash: 'moved to trash', | ||
}; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to run the test with the current branch in a local environment, not pointing to the production frontend, the backend could be the production one but not the frontend.
If you point to the production frontend you are not testing the actual changes.