Skip to content
Open

wip #267

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
1047c16
wp-now poc
davseve Jan 17, 2024
1da98cc
wp-now POC
davseve Jan 17, 2024
48fd721
Update pwwpnow.yml
davseve Jan 17, 2024
85ad6c7
Update pwwpnow.yml
davseve Jan 17, 2024
47b62ac
Update pwwpnow.yml
davseve Jan 17, 2024
ba6a827
Update pwwpnow.yml
davseve Jan 17, 2024
8b9e502
Update package.json
davseve Jan 18, 2024
b1bbd8e
Update pwwpnow.yml
davseve Jan 18, 2024
7d788a8
Update pwwpnow.yml
davseve Jan 18, 2024
00317b8
Update pwwpnow.yml
davseve Jan 18, 2024
1926e36
Wip
davseve Jan 18, 2024
1c68d8d
wip
davseve Jan 18, 2024
c60bd83
wip
davseve Jan 18, 2024
559c0c8
WIP
davseve Jan 18, 2024
f7331c0
wip
davseve Jan 18, 2024
11af22d
Update package.json
davseve Jan 18, 2024
29bc134
Update package.json
davseve Jan 18, 2024
7627461
Update package.json
davseve Jan 18, 2024
4e8cfe1
wip
davseve Jan 18, 2024
e4e75e4
Merge branch 'wp-now-poc' of https://github.com/davseve/elementor int…
davseve Jan 18, 2024
c50608b
Auto stash before merge of "wp-now-poc" and "davseve/wp-now-poc"
davseve Jan 18, 2024
4d0163e
wip
davseve Jan 18, 2024
de8ef3f
wip
davseve Jan 18, 2024
666d1cf
wip
davseve Jan 18, 2024
0705fa0
wip
davseve Jan 18, 2024
04dc066
wip
davseve Jan 18, 2024
20c35dd
wip
davseve Jan 18, 2024
5781fba
Merge branch 'wp-now-poc' of https://github.com/davseve/elementor int…
davseve Jan 18, 2024
6f01b4e
wip
davseve Feb 8, 2024
064d270
Blueprint file added
davseve Feb 8, 2024
142a964
wip
davseve Feb 8, 2024
a40efc7
wip
davseve Feb 8, 2024
6d7a47a
wip
davseve Feb 8, 2024
d46e379
wip
davseve Feb 8, 2024
95425d9
wip
davseve Feb 8, 2024
6f01733
wip
davseve Feb 8, 2024
ea79c1b
wip
davseve Feb 8, 2024
d49f1b1
wip
davseve Feb 8, 2024
74b4c49
wip
davseve Feb 8, 2024
752001d
wip
davseve Feb 8, 2024
9fd24f0
wip
davseve Feb 8, 2024
1354c03
wip
davseve Feb 8, 2024
4a5effd
wip
davseve Feb 8, 2024
872ae90
wip
davseve Feb 8, 2024
b879b9b
wip
davseve Feb 8, 2024
3e8fa07
WIP
davseve Feb 8, 2024
7d9c9bf
WIP
davseve Feb 8, 2024
e52b9dd
WIP
davseve Feb 8, 2024
5d8cd34
wip
davseve Feb 8, 2024
87dc8fd
wip
davseve Feb 8, 2024
06901ad
wip
davseve Feb 8, 2024
b11c5bc
wip
davseve Feb 8, 2024
eb6f3c0
wip
davseve Feb 8, 2024
f0eac90
wip
davseve Feb 8, 2024
8c697ac
wip
davseve Feb 8, 2024
8c07085
Merge branch 'main' into wp-now-poc
davseve Jun 21, 2024
af66815
add wp-cli support
davseve Jun 21, 2024
195e8c0
wip
davseve Jun 21, 2024
8117493
w
davseve Jun 21, 2024
c31e76a
w
davseve Jun 21, 2024
7397741
w
davseve Jun 21, 2024
3f341be
Internal: Add `editor-controls` to atomic module [EDS-567] (#29303)
IshayMaya Nov 17, 2024
e3d7fc9
Internal: Use short array syntax in all PHP files [ED-15130] (#29301)
rami-elementor Nov 17, 2024
f3e1064
Internal: Add PLG for site mailer in WP dashboard [ED-16097] (#29233)
bainternet Nov 17, 2024
241d5ae
Internal: Don't load the same CSS twice in the editor [ED-15739] (#29…
KingYes Nov 17, 2024
e227864
Tweak: Display Transition Duration controls conditionally [ED-16142] …
rami-elementor Nov 17, 2024
f700a00
Internal: Change border radius and width use a union of multi sizes &…
ronros-elementor Nov 18, 2024
6dde7c0
Fix: Transform not working when 3D Rotate is on [ED-16136] (#29305)
KingYes Nov 18, 2024
120e031
Internal: Improved functionality in Ajax Before Save Settings [ED-157…
baghdasarovelementor Nov 18, 2024
e4bdb3e
Internal: Changelog v3.25.7 to main (#29316)
ronenelementor Nov 18, 2024
9019176
Internal: Internal: Add the div-block icon to Elementor e-icon font […
ronenelementor Nov 18, 2024
d58d204
Tweak: Make section/container presets area keyboard accessible [ED-16…
rami-elementor Nov 18, 2024
d135059
Internal: Create default Swiper Upgrade experiment [ED-16197] (#29320)
hein-obox Nov 18, 2024
b10dcc1
Internal: Prevent loading the same CSS twice in the editor (#29307)
bainternet Nov 18, 2024
ad4c11c
Internal: Enqueue font family in the frontend [EDS-509] (#29304)
ManorHazaz Nov 19, 2024
6d4aeb8
Internal: Icon Widget stability improvement [ED-15835] (#29325)
mike-elementor Nov 19, 2024
24a6d66
Internal: Changelog v3.25.8 (#29327)
louiswol94 Nov 19, 2024
201c9a6
Fix: Images from url open the generate modal [ED-16200] (#29330)
DennisNerush Nov 19, 2024
69deef1
Internal: Clean up Share Buttons comments [ED-16199] (#29324)
hein-obox Nov 19, 2024
e108f53
Internal: Changelog v3.25.9 to main (#29342)
MichaelLiamin Nov 20, 2024
fbc345d
Internal: Bump main to 3.27 (#29346)
mykytamurzin Nov 20, 2024
67be94b
Internal: Create REST API for `global-classes` [EDS-573] (#29260)
Omerisra6 Nov 21, 2024
73e1742
Internal: Integrate the global style defs into the kits render proces…
Omerisra6 Nov 21, 2024
55576cf
Tweak: Use consistent markup for all sliders / carousels [ED-16079] (…
rami-elementor Nov 21, 2024
562b0d2
Internal: Update sanitize url function [ED-16229] (#29360)
hein-obox Nov 22, 2024
1f3b6cd
Internal: Merge background-video CSS classes (#29358)
rami-elementor Nov 24, 2024
35857f0
Tweak: Make nested container presets area keyboard accessible [ED-162…
rami-elementor Nov 24, 2024
3cebb6a
Internal: Fix capitalize word in Editor plugin title in repo [ED-1610…
KingYes Nov 24, 2024
1e0d968
Fix: Deprecated `print_emoji_styles` warnning in theme builder screen…
KingYes Nov 24, 2024
e1a8da0
Internal: Global Typography rendering improvements [ED-16047] (#29378)
mike-elementor Nov 24, 2024
d38448d
New: Animate with AI [ED-16191] (#29361)
naorsabag Nov 24, 2024
a63697b
Internal: Changelog v3.25.10 (#29388)
TzviRabinovitch Nov 24, 2024
0d85dcb
New: Animate with AI [ED-16191] (#29391)
naorsabag Nov 24, 2024
a0b3164
Internal: Tests creating template are failing after editor a11y chang…
rami-elementor Nov 24, 2024
65387f9
New: Animate with AI [ED-16191] (#29393)
naorsabag Nov 24, 2024
90847bf
New: Animate with AI - REVERT [ED-16191] (#29397)
naorsabag Nov 25, 2024
00f0dac
New: Animate with AI - FIX [ED-16191] (#29399)
naorsabag Nov 25, 2024
ff4a0af
Internal: Approve Custom Core passed before version release [ED-16236…
davseve Nov 25, 2024
c80fbac
Internal: [V2] Display control > Display Block [ED-15987] (#29375)
ronenelementor Nov 25, 2024
6ddfec6
Internal: Add Installation ID [ED-11574] (#29237)
KingYes Nov 25, 2024
423af39
Internal: Add release owners (#29406)
TzviRabinovitch Nov 25, 2024
a3c77de
Tweak: Icon Widget - fixed 'Fit to Size' option in the Safari brows…
max-zu Nov 26, 2024
e4c1983
Tweak: Remove Core/Pro dependencies in version 3.27 [ED-15717] (#29419)
hein-obox Nov 27, 2024
707c0c8
Fix: Ensure default experiment dependencies are checked (#29335)
asafdl Nov 27, 2024
b9d203d
Fix: Lightbox in the Video widget has become full width [ED-16241] (#…
hein-obox Nov 28, 2024
222a158
Internal: [V2] Display control icons -update package version [ED-1621…
ronenelementor Nov 28, 2024
b498372
Internal: Update Free to Pro promotions links [ED-16267] (#29438)
hein-obox Nov 28, 2024
46013d9
Internal: Prevent global classes API from throwing when data haven't …
Omerisra6 Nov 28, 2024
658f34d
Tweak: Improve warning content and behavior for document transitions …
KingYes Nov 28, 2024
fa61c29
Fix: Floating Buttons - Add Playwright Testing (#28507)
nicoladj77 Nov 28, 2024
0a8e5af
Internal: Add atomic style schema layout section props (#29447)
ronenelementor Nov 28, 2024
b5129b4
Fix: Style Guide throws a JS error in the console: e.0 is not a funct…
ManorHazaz Nov 28, 2024
9029a0e
Merge branch 'main' into wp-now-poc
davseve Nov 29, 2024
0490ae9
wip
davseve Nov 29, 2024
de0a0c8
wp-now update to 0.1.74
davseve Nov 29, 2024
1f97f6d
wip
davseve Nov 29, 2024
147e660
wip
davseve Nov 29, 2024
98959fa
wip
davseve Nov 29, 2024
314791b
wip1
davseve Dec 1, 2024
b669bf9
wip2
davseve Dec 1, 2024
407edca
wip
davseve Dec 1, 2024
5b787fb
wip3
davseve Dec 1, 2024
491e441
wip
davseve Dec 1, 2024
4ec5a92
wip
davseve Dec 1, 2024
020180e
wip4
davseve Dec 1, 2024
076d9c6
fix blueprint
davseve Dec 1, 2024
5ae7c26
two instances in the same time
davseve Dec 1, 2024
0606cb2
Composer install
davseve Dec 1, 2024
219ac21
wip
davseve Dec 1, 2024
21535a1
wip
davseve Dec 1, 2024
fe64c12
Update playwright-wp-now-new.yml
davseve Dec 24, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build-plugin:
name: Build plugin
runs-on: ubuntu-22.04
if: startsWith( github.repository, 'elementor/' )
# if: startsWith( github.repository, 'elementor/' )
outputs:
artifact_name: ${{ env.PLUGIN_FOLDER_FILENAME}}
changelog_diff: ${{ steps.changelog_diff_files.outputs.diff }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"deployment" : {
"repository_owner" : "elementor",
"environment" : "prod",
"permitted" : "Batsirai-muchareva,TzviRabinovitch,davseve,louiswol94,mykytamurzin,ronenelementor,hein-obox,MichaelLiamin,elchugreeva"
"permitted" : "Batsirai-muchareva,TzviRabinovitch,davseve,louiswol94,mykytamurzin,ronenelementor,hein-obox,MichaelLiamin,elchugreeva,asafdl,mugurelLupu,baghdasarovelementor,mike-elementor,Svitlana-Dykun"
}
}
9 changes: 9 additions & 0 deletions .github/workflows/one-click-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- ga
- beta
- cloud
custom_core_executed:
type: boolean
description: 'Was the Custom Core process executed and completed successful?'
required: true
pre_release:
type: boolean
description: 'Pre-release?'
Expand All @@ -28,6 +32,11 @@ jobs:
release:
runs-on: ubuntu-22.04
steps:
- name: Check if Custom Core was executed
if: github.event.inputs.custom_core_executed == 'false'
run: |
echo "Custom Core was not executed. Please run Custom Core before running this workflow."
exit 1
- name: checkout branch
uses: actions/checkout@v4
with:
Expand Down
203 changes: 203 additions & 0 deletions .github/workflows/playwright-wp-now-new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
name: Playwright wp-now new

on:
pull_request:
paths-ignore:
- '**.md'
- '**.txt'
- '.github/config.json'
- 'bin/**'
- '.gitignore'
- 'docs/**'
workflow_dispatch:
inputs:
reporter:
required: false
description: 'Select a reporter'
type: choice
options:
- allure-playwright
- html
- blob
- list
default: allure-playwright
path-to-results:
required: false
description: 'Provide path to reporter files'
default: allure-results
type: choice
options:
- test-results/
- tests/playwright/blob-report
- allure-results
fail_fast:
type: boolean
required: true
description: 'Cancel tests when one of them fails'
default: false
tag:
description: 'Provide @tag or a keyword'
required: false

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
build-plugin:
name: Build plugin
uses: ./.github/workflows/build.yml
Playwright:
name: Playwright test - ${{ matrix.shardIndex }} on PHP 8.0
runs-on: ubuntu-latest
needs: [build-plugin]
if: ${{ ( github.event.pull_request.title == null || needs.build-plugin.outputs.changelog_diff ) && github.event.inputs.tag == '' }}
strategy:
fail-fast: ${{ inputs.fail_fast || false }}
matrix:
shardIndex: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
shardTotal: [ 10 ]
include:
- shardIndex: "elements-regression"
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: |
composer install
npm ci
sed -i -e "s/image: 'mariadb:lts'/image: 'mariadb:11.2.4-jammy'/g" node_modules/@wordpress/env/lib/build-docker-compose-config.js
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.build-plugin.outputs.artifact_name }}
path: ./build
# - name: Update wp-env.json file
# env:
# PHP_VERSION: '8.0'
# WP_CORE_VERSION: 'latest'
# run: node ./.github/scripts/build-wp-env.js
# - name: Install WordPress environment
# run: |
# npm run start-local-server
# - name: Update wordpress to nightly build
# if: ${{ github.event_name == 'schedule' }}
# run: npx wp-env run cli wp core update https://wordpress.org/nightly-builds/wordpress-latest.zip
# - name: Setup test data
# run: npm run test:setup:playwright
# - name: WordPress debug information
# run: |
# npx wp-env run cli wp core version
# npx wp-env run cli wp --info
- name: Install WordPress environment 8888
run: |
npx wp-now start --php=8.0 --port=8888 --blueprint=./blueprint.json &
- name: Install WordPress environment 8889
run: |
npx wp-now start --php=8.0 --port=8889 --blueprint=./blueprint.json &
- name: Install playwright/test
run: |
npx playwright install chromium
- name: Run Playwright tests
if: ${{ matrix.shardIndex != 'elements-regression' }}
run: npm run test:playwright -- --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --reporter=${{ inputs.reporter || 'list,github' }}
- name: Run element regression tests
if: ${{ matrix.shardIndex == 'elements-regression' }}
run: npm run test:playwright:elements-regression -- --reporter=${{ inputs.reporter || 'list,github' }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-test-results-${{ matrix.shardIndex }}
path: ${{ inputs.path-to-results || 'test-results/' }}
if-no-files-found: ignore
retention-days: 2
PlaywrightWithTag:
name: Playwright test - tagged tests on PHP 8.0
runs-on: ubuntu-latest
needs: [ build-plugin ]
if: ${{ github.event.inputs.tag }}
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: |
npm ci
sed -i -e "s/image: 'mariadb:lts'/image: 'mariadb:11.2.4-jammy'/g" node_modules/@wordpress/env/lib/build-docker-compose-config.js
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.build-plugin.outputs.artifact_name }}
path: ./build
- name: Update wp-env.json file
env:
PHP_VERSION: '8.0'
WP_CORE_VERSION: 'latest'
run: node ./.github/scripts/build-wp-env.js
- name: Install WordPress environment
run: |
npm run start-local-server
- name: Setup test data
run: npm run test:setup:playwright
- name: WordPress debug information
run: |
npx wp-env run cli wp core version
npx wp-env run cli wp --info
- name: Install playwright/test
run: |
npx playwright install chromium
- name: Run Playwright tests
run: |
npm run test:playwright -- --grep="${{ inputs.tag }}" --reporter=list,allure-playwright
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-test-results-tagged-tests
path: ${{ inputs.path-to-results || 'test-results/' }}
if-no-files-found: ignore
retention-days: 2


test-result:
needs: Playwright
if: ${{ always() }} # Will be run even if 'Playwright' matrix will be skipped
runs-on: ubuntu-22.04
name: Playwright - Test Results
steps:
- name: Test status
run: echo "Test status is - ${{ needs.Playwright.result }}"
- name: Checkout source code
if: ${{ needs.Playwright.result == 'failure' && github.event_name == 'schedule' }}
uses: actions/checkout@v4
# - name: Send slack message
# if: ${{ needs.Playwright.result == 'failure' && github.event_name == 'schedule' }}
# uses: ./.github/workflows/post-to-slack
# with:
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_TOKEN }}
# SLACK_TAG_CHANNELS: ${{ secrets.TEST_AUTOMATION_RESULTS }}
# PAYLOAD: |
# {
# "text": "Elementor Core: Playwright with WordPress nightly has failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
# "blocks": [
# {
# "type": "section",
# "text": {
# "type": "mrkdwn",
# "text": "Elementor Core: Playwright with WordPress nightly failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
# }
# }
# ]
# }
# - name: Check Playwright matrix status
# if: ${{ needs.Playwright.result != 'success' && needs.Playwright.result != 'skipped' }}
# run: exit 1
Loading
Loading