Skip to content

Commit 925c34d

Browse files
committed
remove cypress specific code
1 parent 8db92c1 commit 925c34d

25 files changed

Lines changed: 51 additions & 2123 deletions

.eslintignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ node_modules
22
vendor
33
build
44
!.*.js
5-
snapshots.js
6-
cypress/index.d.ts
75
release/

.eslintrc.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
module.exports = {
22
root: true,
33
extends: [ 'plugin:@wordpress/eslint-plugin/recommended' ],
4-
parserOptions: {
5-
requireConfigFile: false,
6-
babelOptions: {
7-
presets: [ require.resolve( '@wordpress/babel-preset-default' ) ],
8-
},
4+
globals: {
5+
wp: 'off',
96
},
10-
overrides: [
11-
{
12-
// Use cypress/recommended plugin for cypress tests.
13-
files: [ 'cypress/**/*.js' ],
14-
extends: [ 'plugin:cypress/recommended' ],
15-
},
16-
],
177
};

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ build/*
99
!build/settings.css
1010
composer.phar
1111
/release
12-
cypress/videos
13-
cypress/screenshots
1412
.DS_Store
1513
/test-results/
1614
/artifacts/

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The support is still experimental since it's also marked as experimental in the
8787

8888
## Bootstrap library
8989

90-
Please be aware that this plugin does not include the Bootstrap library in your website. You need to do this by yourself.
90+
Please be aware that this plugin does not include the Bootstrap library in your website. You need to do this by yourself.
9191
We decided not to include the library so that you can modify Bootstrap to your own needs before loading it.
9292

9393
The easiest way to do this is to add the following to your theme's `functions.php`:
@@ -864,7 +864,7 @@ The following commands can be used to set up a local dev environment. See the of
864864
There are two types of tests for this plugin:
865865

866866
* PHPUnit Tests: Used to validate generated block output. Since this plugin uses dynamic blocks which are rendered on the server side we need to test them with PHPUnit tests.
867-
* Cypress E2E Tests: Used to validate block behaviour in the editor.
867+
* Playwright E2E Tests: Used to validate block behaviour in the editor.
868868

869869
#### PHPUnitTests
870870

@@ -890,9 +890,9 @@ or the following command to run a specific test:
890890
npm run test:unit:php -- --filter 'my_test'
891891
```
892892

893-
#### Cypress E2E Tests
893+
#### Playwright E2E Tests
894894

895-
The Cypress E2E Tests are stored in the `cypress` directory.
895+
The Playwright E2E Tests are stored in the `playwright` directory.
896896

897897
To run the tests use the following command:
898898

cypress.config.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

cypress/index.d.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

cypress/plugins/index.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

cypress/support/commands/get-by-cy.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

cypress/support/commands/index.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

cypress/support/commands/insert-button-block.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)