Skip to content

Commit 9112fed

Browse files
chore: theme install
1 parent 0e00b32 commit 9112fed

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency:
99
cancel-in-progress: true
1010
jobs:
1111
e2e:
12-
name: E2E for ${{ matrix.env }}
12+
name: Playwright E2E tests
1313
env:
1414
DOCKER_FILE: docker-compose.ci.yml
1515
strategy:
@@ -48,6 +48,6 @@ jobs:
4848
if: always()
4949
uses: actions/upload-artifact@v4
5050
with:
51-
name: code-coverage-report
51+
name: e2e-playwright-results
5252
path: artifacts
5353
retention-days: 3

bin/cli-setup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ wp --allow-root core install --url="http://localhost:8889" --admin_user="admin"
44
mkdir -p /var/www/html/wp-content/uploads
55
chmod -R 777 /var/www/html/wp-content/uploads/*
66
wp --allow-root plugin install classic-editor
7+
wp --allow-root theme install twentytwentyone
78

89
# activate
910
wp --allow-root plugin activate visualizer
10-
wp --allow-root theme activate twentynineteen
11+
wp --allow-root theme activate twentytwentyone
1112

1213
# set this constant so that the specific hooks are loaded
1314
wp --allow-root config set TI_CYPRESS_TESTING true --raw

tests/e2e/config/global-setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function globalSetup( config ) {
2828

2929
// Reset the test environment before running the tests.
3030
await Promise.all( [
31-
requestUtils.activateTheme( 'twentytwentyone' ),
31+
// requestUtils.activateTheme( 'twentytwentyone' ),
3232
// Disable this test plugin as it's conflicting with some of the tests.
3333
// We already have reduced motion enabled and Playwright will wait for most of the animations anyway.
3434
// requestUtils.deactivatePlugin(

0 commit comments

Comments
 (0)