Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
3bfc54e
Tests: Block Editor: Register Post Settings
n7studios Mar 11, 2026
ccf4d3e
Tests: Page Form
n7studios Mar 11, 2026
04ccb62
Create new cest for block editor pages
n7studios Mar 11, 2026
060e577
Revert PageFormCest to original
n7studios Mar 11, 2026
d1ad7f9
Page Form Tests
n7studios Mar 11, 2026
08a3c44
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 11, 2026
13909f2
Remove configurePluginSidebarSettings = default
n7studios Mar 11, 2026
54f19f1
Page Form Tests: Use Classic Editor
n7studios Mar 11, 2026
bf52519
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 12, 2026
63ed48e
Added `addClassicEditorParagraph` helper
n7studios Mar 12, 2026
f3be0fd
Added editor switching test
n7studios Mar 12, 2026
f5e4c7a
Tests: Add FormBlockEditorCest
n7studios Mar 12, 2026
0ff7a4a
Revert PageFormCest
n7studios Mar 12, 2026
09328ed
Added FormClassicEditorCest
n7studios Mar 12, 2026
8cc994f
Replace configureMetaboxSettings with configurePluginSidebarSettings
n7studios Mar 12, 2026
7721d25
Coding standards
n7studios Mar 12, 2026
d3b2327
Revert forms/post-types tests
n7studios Mar 12, 2026
dee076c
Updates tests to use configurePluginSidebarSettings; add `testFormSet…
n7studios Mar 12, 2026
1957b11
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 12, 2026
8786c9c
Fix tests
n7studios Mar 12, 2026
7b4d9b8
Fix tests
n7studios Mar 12, 2026
a40a0e3
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 20, 2026
9de5a74
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 24, 2026
cc2ba49
Limit tests to 8.1
n7studios Mar 25, 2026
c4d818d
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 25, 2026
0ca2933
Tests: CPT: Add support for Custom Fields
n7studios Mar 25, 2026
7583351
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 25, 2026
e5c8606
Fix tests
n7studios Mar 26, 2026
af888cd
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 26, 2026
82fecf5
Tests: Support WordPress 6.2.8 Plugin Sidebar
n7studios Mar 26, 2026
b91efe1
Tests: Fix missing actor in configurePluginSidebarSettings call
n7studios Mar 26, 2026
99eaf4a
Run Tests against all PHP versions
n7studios Mar 26, 2026
d5f2c00
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 27, 2026
585e0c1
Merge branch 'register-block-editor-post-settings' into register-bloc…
n7studios Mar 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 24 additions & 60 deletions tests/EndToEnd/forms/blocks-shortcodes/PageBlockFormBuilderCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,9 @@ public function testFormBuilderBlockWithDefaultConfiguration(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page.
Expand Down Expand Up @@ -188,12 +185,9 @@ public function testFormBuilderBlockWithTextCustomization(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page.
Expand Down Expand Up @@ -304,12 +298,9 @@ public function testFormBuilderBlockWithFormEnabled(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page.
Expand Down Expand Up @@ -412,12 +403,9 @@ public function testFormBuilderBlockWithTaggingEnabled(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page.
Expand Down Expand Up @@ -519,12 +507,9 @@ public function testFormBuilderBlockWithSequenceEnabled(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page.
Expand Down Expand Up @@ -625,12 +610,9 @@ public function testFormBuilderBlockWithCustomField(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page.
Expand Down Expand Up @@ -761,12 +743,9 @@ public function testFormBuilderBlockWithRedirectOption(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page, setting the Form setting to the value specified in the .env file.
Expand Down Expand Up @@ -915,12 +894,9 @@ public function testFormBuilderFieldsCanOnlyBeInsertedToFormBuilderBlock(EndToEn
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Confirm the Form Field blocks cannot be added, as we are not within the Form Builder block.
Expand Down Expand Up @@ -974,12 +950,9 @@ public function testFormBuilderSupportsCoreBlocks(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add the Form Builder block.
Expand Down Expand Up @@ -1031,12 +1004,9 @@ public function testFormBuilderWithRecaptchaEnabled(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page.
Expand Down Expand Up @@ -1098,12 +1068,9 @@ public function testFormBuilderWithRecaptchaEnabledAndHighMinimumScore(EndToEndT
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page.
Expand Down Expand Up @@ -1154,12 +1121,9 @@ public function testFormBuilderWithStoreEntriesEnabled(EndToEndTester $I)
);

// Configure metabox's Form setting = None, ensuring we only test the block in Gutenberg.
$I->configureMetaboxSettings(
$I->configurePluginSidebarSettings(
$I,
'wp-convertkit-meta-box',
[
'form' => [ 'select2', 'None' ],
]
form: 'None'
);

// Add block to Page.
Expand Down
Loading
Loading