Skip to content

Commit 2f95613

Browse files
committed
fix e2e
1 parent 6f786e5 commit 2f95613

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

e2e-tests/specs/customizer/general/custom-global-colors.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ test.describe('Custom Global Color Control', () => {
3535

3636
await page.locator('.block-editor-rich-text__editable').first().click();
3737
// use Background color control to open the color picker, available since WP 6.1
38+
await page.getByRole('tab', { name: 'Style' }).click();
3839
await page.getByRole('button', { name: 'Background' }).click();
3940
await page.getByRole('option', { name: 'Color: Custom 1' }).click();
4041
await page

e2e-tests/specs/customizer/layout/single-post-settings.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ test.describe('Single Post Check', function () {
320320
});
321321

322322
await page.goto('/template-comments/?test_name=metaOrder');
323-
await page.screenshot({ path: 'metaOrder.png' });
324323
const metaOrder = ['category', 'date', 'comments', 'author'];
325324
await checkElementsOrder(page, '.nv-meta-list', metaOrder);
326325

inc/customizer/options/layout_sidebar.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,11 @@ private function sidebar_layout_choices( $control_id ) {
182182

183183
return $options;
184184
}
185-
185+
/**
186+
* Retrieve the advanced controls for the sidebar layout.
187+
*
188+
* @return array The array of advanced controls.
189+
*/
186190
public function get_advanced_controls() {
187191
if ( empty( $this->advanced_controls ) ) {
188192
$this->advanced_controls = [

0 commit comments

Comments
 (0)