[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:
Ivan Stojadinov 2024-07-11 23:37:10 +03:00 committed by GitHub
parent 7e86b23761
commit 9e3eb2d024
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: add
Add support to run e2e tests against WPCOM website.

View File

@ -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
}
}
]
}

View File

@ -0,0 +1,5 @@
#!/bin/bash
set -eo pipefail
echo "Default WPCOM site setup."

View File

@ -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;