From 8b3c6cd396c471622987f71b47b97ecf2bcee7d1 Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Tue, 13 Dec 2022 15:36:30 +1000 Subject: [PATCH] DEV: Fix github workflow system spec screenshot location (#19435) These screenshots are located at paths like: /__w/discourse/discourse/tmp/capybara/failures_r_spec_example_groups_quoting_chat_message_transcripts_copying_quote_transcripts_with_the_clipboard_quotes_multiple_chat_messages_into_a_topic_134.png not /tmp/screenshots. This should fix the issue. Also makes plugin system specs use documentation format and profile. --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e7d81ec8daa..129966e5800 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -176,14 +176,14 @@ jobs: - name: Plugin System Tests if: matrix.build_type == 'system' && matrix.target == 'plugins' - run: LOAD_PLUGINS=1 bin/rspec plugins/*/spec/system + run: LOAD_PLUGINS=1 bin/rspec plugins/*/spec/system --format documentation --profile - name: Upload failed system test screenshots uses: actions/upload-artifact@v3 if: matrix.build_type == 'system' && failure() with: name: failed-system-test-screenshots - path: tmp/screenshots/*.png + path: tmp/capybara/*.png - name: Check Annotations if: matrix.build_type == 'annotations'