From 2d94f2363dd6bed0e16d31415372ed6ab44fa153 Mon Sep 17 00:00:00 2001 From: Volker Killesreiter Date: Thu, 24 Nov 2022 16:01:26 +0100 Subject: [PATCH 1/4] fix tests --- .github/workflows/run.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index aeedbfc..a9ed50f 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -9,10 +9,12 @@ on: - cron: '0 6 * * *' env: - DRUPAL_TESTING_TEST_CODING_STYLES: false - DRUPAL_TESTING_DATABASE_USER: root - DRUPAL_TESTING_DATABASE_PASSWORD: root - DRUPAL_TESTING_DATABASE_ENGINE: mysql + DRUPAL_TESTING_TEST_CODING_STYLES: false + DRUPAL_TESTING_DATABASE_USER: root + DRUPAL_TESTING_DATABASE_PASSWORD: root + DRUPAL_TESTING_DATABASE_ENGINE: mysql + DRUPAL_TESTING_HTTP_PORT: 8888 + DRUPAL_TESTING_PARALLEL_TESTING: true jobs: build: @@ -22,8 +24,8 @@ jobs: strategy: matrix: THEME: ['stark', 'seven', 'thunder_admin', 'claro', 'gin'] - DRUPAL_TESTING_DRUPAL_VERSION: ['~9.4.0'] - PHP: ['8.1'] + DRUPAL_TESTING_DRUPAL_VERSION: ['~9.4.0', '~9.5.0'] + PHP_VERSION: ['8.1'] steps: - uses: actions/checkout@v1 @@ -31,7 +33,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: coverage: none - php-version: ${{ matrix.PHP }} + php-version: ${{ matrix.PHP_VERSION }} extensions: Imagick, gd, pdo_mysql - name: Start MySql service @@ -68,7 +70,15 @@ jobs: env: DRUPAL_TESTING_TEST_DEPRECATION: false - - name: Start webserver and run the tests + - name: Setup Apache + uses: thunder/apache-shiva-php-action@v1 + with: + php-version: ${{ matrix.PHP_VERSION }} + site-directory: /tmp/test/paragraphs_features/install/web + http-port: ${{ env.DRUPAL_TESTING_HTTP_PORT }} + + - name: Run the tests run: test-drupal-project env: THEME: ${{ matrix.THEME }} + DRUPAL_TESTING_SELENIUM_CHROME_VERSION: '105.0' From 12d1cd64952cdc43d11a5518acf191c8a2bedd80 Mon Sep 17 00:00:00 2001 From: Christian Fritsch Date: Mon, 28 Nov 2022 14:49:39 +0100 Subject: [PATCH 2/4] Update plugin.js --- js/plugins/splittext/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/plugins/splittext/plugin.js b/js/plugins/splittext/plugin.js index 044f4cc..e0c1a1c 100644 --- a/js/plugins/splittext/plugin.js +++ b/js/plugins/splittext/plugin.js @@ -186,7 +186,7 @@ } // After ajax response correct values should be placed in text editors. - $(document).once('ajax-paragraph').ajaxComplete(onAjaxSplit); + $(document).once('ajax-paragraph').ajaxComplete((...args) => setTimeout(() => onAjaxSplit(...args))); createNewParagraphOverModal(editor); }; From 6177b62b69bd9d0c9382ce477181b6710c06b851 Mon Sep 17 00:00:00 2001 From: Volker Killesreiter Date: Mon, 2 Jan 2023 10:46:52 +0100 Subject: [PATCH 3/4] trigger From 4a201e15b86d52164320d9d867bca01d7d5591f5 Mon Sep 17 00:00:00 2001 From: Volker Killesreiter Date: Mon, 22 Apr 2024 13:56:00 +0200 Subject: [PATCH 4/4] trigger