[e2e] Add support for WPCOM site (#49403)
* Add support for WPCOM site * Add support for WPCOM site * Change the default Pressable site * Change the default Pressable site * Add .env.enc for WPCOM site * Add .env.enc for WPCOM site #2 * Add changefile(s) from automation for the following project(s): woocommerce * Update changelog * Add changefile(s) from automation for the following project(s): woocommerce * Update changelog --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
This commit is contained in:
parent
7e86b23761
commit
9e3eb2d024
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: add
|
||||
|
||||
Add support to run e2e tests against WPCOM website.
|
|
@ -623,6 +623,21 @@
|
|||
"resultsPath": "tests/e2e-pw/test-results",
|
||||
"allure": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Core e2e tests - default WPCOM site",
|
||||
"testType": "e2e",
|
||||
"command": "test:e2e:with-env default-wpcom",
|
||||
"shardingArguments": [],
|
||||
"changes": [],
|
||||
"events": [
|
||||
"daily-checks"
|
||||
],
|
||||
"report": {
|
||||
"resultsBlobName": "default-wpcom-core-e2e",
|
||||
"resultsPath": "tests/e2e-pw/test-results",
|
||||
"allure": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
echo "Default WPCOM site setup."
|
|
@ -0,0 +1,16 @@
|
|||
let config = require( '../../playwright.config.js' );
|
||||
const { devices } = require( '@playwright/test' );
|
||||
|
||||
config = {
|
||||
...config,
|
||||
retries: 0,
|
||||
projects: [
|
||||
{
|
||||
name: 'default',
|
||||
use: { ...devices[ 'Desktop Chrome' ] },
|
||||
testMatch: '**basic.spec.js',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = config;
|
Loading…
Reference in New Issue