Skip to content

Commit

Permalink
chore: hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Sep 27, 2024
1 parent 7b58f60 commit 4dc00c3
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 118 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Playwright E2E tests
strategy:
fail-fast: false
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out source files
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion assets/js/build/tracking/tracking.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'b8af0b12ad3cabe4c4b8');
<?php return array('dependencies' => array(), 'version' => 'f35e2c927fed8015fa08');
2 changes: 1 addition & 1 deletion assets/js/build/tracking/tracking.js

Large diffs are not rendered by default.

139 changes: 32 additions & 107 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@
"test:unit:php:base": "wp-env run --env-cwd='wp-content/plugins/themeisle-sdk' tests-wordpress vendor/bin/phpunit",
"test:unit:php": "npm run wp-env start && npm run test:unit:php:base",
"test:unit": "wp-scripts test-unit-js",
"test:unit:help": "wp-scripts test-unit-js --help",
"test:unit:watch": "wp-scripts test-unit-js --watch",
"test:unit:debug": "wp-scripts --inspect-brk test-unit-js --runInBand --no-cache"
"test:unit:help": "wp-scripts test-unit-js --help",
"test:unit:watch": "wp-scripts test-unit-js --watch",
"test:unit:debug": "wp-scripts --inspect-brk test-unit-js --runInBand --no-cache"
},
"author": "Themeisle",
"devDependencies": {
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@wordpress/e2e-test-utils-playwright": "^1.1.0",
"@wordpress/env": "^10.1.0",
"@wordpress/e2e-test-utils-playwright": "^1.8.0",
"@wordpress/env": "^10.8.0",
"@wordpress/postcss-plugins-preset": "^4.17.0",
"@wordpress/scripts": "^27.8.0",
"conventional-changelog-simple-preset": "^1.0.20",
"eslint-config-wordpress": "^2.0.0",
"grunt-version": "^1.3.1",
"npm-run-all": "^4.1.5",
"playwright": "^1.44.1",
"playwright": "^1.47.2",
"postcss-combine-media-query": "^1.0.1",
"postcss-custom-media": "^9.1.3",
"postcss-sort-media-queries": "^5.1.0",
Expand Down
3 changes: 1 addition & 2 deletions tests/e2e/specs/rollback.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ test.describe( 'Rollback', () => {
test( 'rendering', async({ page, admin }) => {
await admin.visitAdminPage( 'plugins.php' );

const pluginContainer = page.locator( '[data-slug="visualizer"]' );

const pluginContainer = page.locator( '[data-slug="visualizer"] .plugin-title' );
await expect( pluginContainer ).toBeVisible();
await expect( pluginContainer.getByRole( 'link', { name: 'Rollback to' }) ).toBeVisible();
});
Expand Down

0 comments on commit 4dc00c3

Please sign in to comment.