Skip to content

Commit

Permalink
typo and retry old test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HHassig committed Oct 14, 2024
1 parent 6b7bf9f commit 9fcd8f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ env:
RAILS_ENV: test
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
CHROME_VERSION: 119.0.6045.105

jobs:
test:
name: Test
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
services:
postgres:
image: postgres:11
Expand All @@ -39,19 +38,7 @@ jobs:

- uses: nanasess/setup-chromedriver@v2
with:
chromedriver-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: ${{ env.CHROME_VERSION }}
chromedriver-version: 119.0.6045.105

- name: Setup & create Database
run: |
Expand Down
2 changes: 1 addition & 1 deletion spec/system/awesome_tests_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
end

shared_examples "no extra css is added" do
it "css is no present" do
it "css is not present" do
expect(page.body).not_to have_content("body {background: red;}")
end

Expand Down

0 comments on commit 9fcd8f5

Please sign in to comment.