-
Notifications
You must be signed in to change notification settings - Fork 2.9k
E2E: QA Added acceptance tests for notification emails #20918
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
3112ab7
Added tests for notification emails for content
nhudinh0309 efa3789
Merge branch 'main' into v17/update/notification-tests
nhudinh0309 0b334e6
Bumped version
nhudinh0309 b2d8490
Updated tests for notification permission in content
nhudinh0309 0becbff
Added appsettings.json for smtp tests
nhudinh0309 e478f8a
Added smtp test project
nhudinh0309 d211de5
Updated nightly E2E test pipeline yaml file to run smtp project in th…
nhudinh0309 28b688a
Fixed command to run smtp4dev in Docker
nhudinh0309 b873a11
Fixed pipeline
nhudinh0309 98118fa
Only run smtp tests on Linux
nhudinh0309 0d9e169
Debugged
nhudinh0309 cd4e33b
Debugging
nhudinh0309 d27d681
Added step to stop smtp4dev container
nhudinh0309 500d2ac
Debugging
nhudinh0309 5bc38b8
Updated port
nhudinh0309 3cbe065
Reverted tests
nhudinh0309 545d62a
Merge branch 'main' into v17/update/notification-tests
nhudinh0309 10d91a9
Added more tests for notification emails
nhudinh0309 2525bf4
Merge branch 'main' into v17/update/notification-tests
nhudinh0309 9abab1b
Merge branch 'main' into v17/update/notification-tests
nhudinh0309 f4c5108
Formatted code
nhudinh0309 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 hidden or 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 hidden or 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 hidden or 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
64 changes: 64 additions & 0 deletions
64
tests/Umbraco.Tests.AcceptanceTest/tests/SMTP/AdditionalSetup/appsettings.json
This file contains hidden or 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,64 @@ | ||
| { | ||
| "$schema": "appsettings-schema.json", | ||
| "Serilog": { | ||
| "MinimumLevel": { | ||
| "Default": "Information", | ||
| "Override": { | ||
| "Microsoft": "Warning", | ||
| "Microsoft.Hosting.Lifetime": "Information", | ||
| "System": "Warning" | ||
| } | ||
| }, | ||
| "WriteTo": [ | ||
| { | ||
| "Name": "Async", | ||
| "Args": { | ||
| "Configure": [ | ||
| { | ||
| "Name": "Console" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| "Umbraco": { | ||
| "CMS": { | ||
| "Unattended": { | ||
| "InstallUnattended": true, | ||
| "UnattendedUserName": "Playwright Test", | ||
| "UnattendedUserEmail": "playwright@umbraco.com", | ||
| "UnattendedUserPassword": "UmbracoAcceptance123!" | ||
| }, | ||
| "Content": { | ||
| "ContentVersionCleanupPolicy": { | ||
| "EnableCleanup": false | ||
| } | ||
| }, | ||
| "Global": { | ||
| "DisableElectionForSingleServer": true, | ||
| "InstallMissingDatabase": true, | ||
| "Id": "00000000-0000-0000-0000-000000000042", | ||
| "VersionCheckPeriod": 0, | ||
| "UseHttps": true, | ||
| "Smtp": { | ||
| "From": "no-reply@localhost.test", | ||
| "Host": "localhost", | ||
| "Port": 25, | ||
| "SecureSocketOptions": "None" | ||
| } | ||
| }, | ||
| "HealthChecks": { | ||
| "Notification": { | ||
| "Enabled": true | ||
| } | ||
| }, | ||
| "KeepAlive": { | ||
| "DisableKeepAliveTask": true | ||
| }, | ||
| "WebRouting": { | ||
| "UmbracoApplicationUrl": "https://localhost:44331/" | ||
| } | ||
| } | ||
| } | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.