From 0af4b002ab1c3d3c06ca23b60c314528baf5531e Mon Sep 17 00:00:00 2001 From: Zee Spencer <50284+zspencer@users.noreply.github.com> Date: Sun, 25 Jun 2023 11:47:58 -0700 Subject: [PATCH] save screenshots yo --- .github/workflows/test-convene-web.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test-convene-web.yml b/.github/workflows/test-convene-web.yml index b9f8a1217..8efcd04c4 100644 --- a/.github/workflows/test-convene-web.yml +++ b/.github/workflows/test-convene-web.yml @@ -123,6 +123,12 @@ jobs: env: HEADLESS: true run: bundle exec rspec + - name: Upload RSpec Screenshots + uses: actions/upload-artifact@v2 + if: failure() + with: + name: rspec-failed-screenshot + path: tmp/capybara/*.png test-features: name: Run browser tests