E2E: QA Added acceptance tests for notification emails (#20918)

* Added tests for notification emails for content

* Bumped version

* Updated tests for notification permission in content

* Added appsettings.json for smtp tests

* Added smtp test project

* Updated nightly E2E test pipeline yaml file to run smtp project in the pipeline

* Fixed command to run smtp4dev in Docker

* Fixed pipeline

* Only run smtp tests on Linux

* Debugged

* Debugging

* Added step to stop smtp4dev container

* Debugging

* Updated port

* Reverted tests

* Added more tests for notification emails

* Formatted code
This commit is contained in:
Nhu Dinh
2025-11-26 14:34:36 +07:00
committed by GitHub
parent bd33246525
commit 69e2f8df74
5 changed files with 397 additions and 4 deletions

View File

@@ -102,6 +102,17 @@ export default defineConfig({
use: {
...devices['Desktop Chrome']
}
},
{
name: 'smtp',
testMatch: 'SMTP/*.spec.ts',
dependencies: ['setup'],
use: {
...devices['Desktop Chrome'],
// Use prepared auth state.
ignoreHTTPSErrors: true,
storageState: STORAGE_STATE
}
}
],
});