[e2e tests] Add Allure reporter to Blocks e2e tests (#49228)
This commit is contained in:
parent
8f98a2a057
commit
7b0f9457cf
|
@ -194,6 +194,7 @@
|
|||
"@wordpress/prettier-config": "1.4.0",
|
||||
"@wordpress/scripts": "24.6.0",
|
||||
"@wordpress/stylelint-config": "^21.36.0",
|
||||
"allure-playwright": "^2.9.2",
|
||||
"autoprefixer": "10.4.14",
|
||||
"axios": "0.27.2",
|
||||
"babel-jest": "^29.7.0",
|
||||
|
|
|
@ -23,7 +23,17 @@ const config: PlaywrightTestConfig = {
|
|||
// Don't report slow test "files", as we're running our tests in serial.
|
||||
reportSlowTests: null,
|
||||
reporter: process.env.CI
|
||||
? [ [ 'github' ], [ 'list' ], [ './flaky-tests-reporter.ts' ] ]
|
||||
? [
|
||||
[ 'github' ],
|
||||
[ 'list' ],
|
||||
[ './flaky-tests-reporter.ts' ],
|
||||
[
|
||||
'allure-playwright',
|
||||
{
|
||||
outputFolder: `${ __dirname }/artifacts/test-results/allure-results`,
|
||||
},
|
||||
],
|
||||
]
|
||||
: 'list',
|
||||
use: {
|
||||
baseURL: BASE_URL,
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
Add Allure to Blocks e2e tests
|
|
@ -605,7 +605,8 @@
|
|||
],
|
||||
"report": {
|
||||
"resultsBlobName": "blocks-e2e-report",
|
||||
"resultsPath": "../woocommerce-blocks/tests/e2e/artifacts/test-results"
|
||||
"resultsPath": "../woocommerce-blocks/tests/e2e/artifacts/test-results",
|
||||
"allure": true
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -4260,6 +4260,9 @@ importers:
|
|||
'@wordpress/stylelint-config':
|
||||
specifier: ^21.36.0
|
||||
version: 21.36.0(postcss@8.4.32)(stylelint@14.16.1)
|
||||
allure-playwright:
|
||||
specifier: ^2.9.2
|
||||
version: 2.9.2
|
||||
autoprefixer:
|
||||
specifier: 10.4.14
|
||||
version: 10.4.14(postcss@8.4.32)
|
||||
|
@ -21630,7 +21633,7 @@ packages:
|
|||
engines: {node: '>=18'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
react: 18.2.0
|
||||
react: ^17.0.2
|
||||
|
||||
react-number-format@4.9.3:
|
||||
resolution: {integrity: sha512-am1A1xYAbENuKJ+zpM7V+B1oRTSeOHYltqVKExznIVFweBzhLmOBmyb1DfIKjHo90E0bo1p3nzVJ2NgS5xh+sQ==}
|
||||
|
|
Loading…
Reference in New Issue