diff --git a/.github/workflows/matomo-tests.yml b/.github/workflows/matomo-tests.yml index f29f1ab..3e424c7 100644 --- a/.github/workflows/matomo-tests.yml +++ b/.github/workflows/matomo-tests.yml @@ -1,7 +1,7 @@ # Action for running tests # This file has been automatically created. # To recreate it you can run this command -# ./console generate:test-action --plugin="CustomTranslations" --php-versions="7.2,8.4" --protect-artifacts --schedule-cron="45 3 * * 6" --dependent-plugins="innocraft/plugin-CustomReports" +# ./console generate:test-action --plugin="CustomTranslations" --php-versions="matomo5_min_php,matomo5_max_php" --protect-artifacts --schedule-cron="45 3 * * 6" --dependent-plugins="innocraft/plugin-CustomReports" name: Plugin CustomTranslations Tests @@ -37,7 +37,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.2', '8.4' ] + php: [ 'matomo5_min_php', 'matomo5_max_php' ] target: ['minimum_required_matomo', 'maximum_supported_matomo'] steps: - uses: actions/checkout@v3 @@ -52,7 +52,7 @@ jobs: test-type: 'PluginTests' matomo-test-branch: ${{ matrix.target }} artifacts-pass: ${{ secrets.ARTIFACTS_PASS }} - upload-artifacts: ${{ matrix.php == '7.2' && matrix.target == 'maximum_supported_matomo' }} + upload-artifacts: ${{ matrix.php == 'matomo5_min_php' && matrix.target == 'maximum_supported_matomo' }} artifacts-protected: true dependent-plugins: 'innocraft/plugin-CustomReports' UI: @@ -69,7 +69,7 @@ jobs: plugin-name: 'CustomTranslations' matomo-test-branch: 'maximum_supported_matomo' test-type: 'UI' - php-version: '7.2' + php-version: 'matomo5_min_php' node-version: '16' artifacts-pass: ${{ secrets.ARTIFACTS_PASS }} upload-artifacts: true diff --git a/tests/UI/expected-screenshots/CustomTranslationReporting_dashboard_rename.png b/tests/UI/expected-screenshots/CustomTranslationReporting_dashboard_rename.png index 8863a6e..900ec14 100644 Binary files a/tests/UI/expected-screenshots/CustomTranslationReporting_dashboard_rename.png and b/tests/UI/expected-screenshots/CustomTranslationReporting_dashboard_rename.png differ