From 51179f1097f3f816bd9f3e4ff97999462154cb78 Mon Sep 17 00:00:00 2001 From: Alquen Sarmiento Date: Thu, 21 May 2026 13:43:26 +0800 Subject: [PATCH 1/3] fix: add the color in the inserted text similar with other tests --- e2e/tests/block-editor.spec.ts | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/e2e/tests/block-editor.spec.ts b/e2e/tests/block-editor.spec.ts index 268a980d89..ab4f30e155 100644 --- a/e2e/tests/block-editor.spec.ts +++ b/e2e/tests/block-editor.spec.ts @@ -103,12 +103,22 @@ test.describe( 'Block Editor', () => { } ) => { await editor.insertBlock( { name: 'stackable/text', - attributes: { - text: 'test', - textColor1: '#ff0000', - }, } ) + const settings = page.getByLabel( 'Settings', { exact: true } ) + + if ( await settings.getAttribute( 'aria-pressed' ) === 'false' ) { + await settings.click() + } + + // Add content and color to Stackable Text Block + await editor.canvas.locator( '[data-type="stackable/text"] > .stk-block-text > p[role="textbox"]' ).fill( 'test' ) + await page.locator( '.stk-color-palette-control .stk-control-content > .components-dropdown > .components-button' ).first().click() + await page.getByLabel( 'Hex color' ).fill( 'ff0000' ) + + // Click on the body to close the Color Picker popup + await editor.canvas.locator( 'body' ).click() + const clientId = await editor.canvas.getByLabel( 'Block: Text' ).getAttribute( 'data-block' ) const uniqueId = ( await editor.getBlockAttributes( clientId ) ).uniqueId From 7095df32ae8f910feee4348bf098ebd22d8f6092 Mon Sep 17 00:00:00 2001 From: Alquen Sarmiento Date: Thu, 21 May 2026 13:43:53 +0800 Subject: [PATCH 2/3] fix: update the php version from 7.3 to 7.4 --- .github/workflows/playwright.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index cbe7625420..4b0f8f195b 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -15,7 +15,7 @@ jobs: - php_version: '7.3' wp_version: 6.5.5 - - php_version: '7.3' + - php_version: '7.4' wp_version: null - php_version: '8.2' From ffa9164ceaedc9380299d38fc9677a74beff1c85 Mon Sep 17 00:00:00 2001 From: Alquen Sarmiento Date: Thu, 21 May 2026 21:08:23 +0800 Subject: [PATCH 3/3] fix: use the develop branch instead of the old v3 branch --- .github/workflows/compressed-diff.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compressed-diff.yml b/.github/workflows/compressed-diff.yml index 8d57cec4c5..9690ba9b02 100644 --- a/.github/workflows/compressed-diff.yml +++ b/.github/workflows/compressed-diff.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 # Checkout the Stackable Premium repo. with: repository: 'bfintal/Stackable-Premium' - ref: 'v3' + ref: 'develop' path: 'pro__premium_only' token: '${{ secrets.ACCESS_KEY }}' - name: Install Composer Dependencies