From bca6bc584451624efd893daf58eb0b1bfc42b9d1 Mon Sep 17 00:00:00 2001 From: Harrison Hassig Date: Fri, 18 Oct 2024 12:22:51 +0200 Subject: [PATCH] Typo and test.yml revert to proper version (#129) --- .github/workflows/test.yml | 12 ------------ spec/system/awesome_tests_spec.rb | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 38eea02..f2b76fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,18 +53,6 @@ jobs: with: chrome-version: ${{ env.CHROME_VERSION }} - - name: List Chrome - shell: "bash" - run: apt list --installed | grep chrome - - - name: Remove Chrome - shell: "bash" - run: sudo apt remove google-chrome-stable - - - uses: browser-actions/setup-chrome@v1 - with: - chrome-version: 119.0.6045.105 - - name: Setup & create Database run: | bundle exec rails db:create db:schema:load diff --git a/spec/system/awesome_tests_spec.rb b/spec/system/awesome_tests_spec.rb index a14e365..def6e4a 100644 --- a/spec/system/awesome_tests_spec.rb +++ b/spec/system/awesome_tests_spec.rb @@ -34,7 +34,7 @@ expect(page.body).not_to have_content("body {background: red;}") end - it "css is not applyied" do + it "css is not applied" do expect(page.execute_script("return window.getComputedStyle($('body')[0]).backgroundColor")).to eq("rgb(250, 250, 250)") end end