diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 9ee3cc135..aa058e9c5 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -53,14 +53,16 @@ jobs: - name: Build CSS run: bin/rails tailwindcss:build - - name: Setup ssh session - uses: Warpbuilds/action-debugger@v1.3 + # - name: Setup ssh session + # uses: Warpbuilds/action-debugger@v1.3 - name: Run system tests run: | echo -e "###\n###\n###\n### NOTICE: If these tests fail because of Net::ReadTimeout then re-run the test suite. I can't figure out this sporadic failure.\n###\n###\n###" sed -i 's/hoverOnlyWhenSupported: true/hoverOnlyWhenSupported: false/' config/tailwind.config.js - bin/rails test:system + mkdir -p tmp/screenshots + touch tmp/screenshots/chromedriver.log + bin/rails test:system 2> tmp/screenshots/selenium.log - name: Upload screenshots uses: actions/upload-artifact@v4 diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index ce8366e38..f980ecde0 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -15,8 +15,8 @@ def self.test(name, &block) begin super(name, &block) rescue Net::ReadTimeout => e - puts "Net::ReadTimeout: #{e}" - debugger + puts "(caught) Net::ReadTimeout: #{e}" + # debugger end end