From b64fe3e31fa5f5d4c6ef4994f22584d123edc0aa Mon Sep 17 00:00:00 2001 From: taitus Date: Mon, 17 Jun 2024 11:49:57 +0200 Subject: [PATCH] Update test.yml and tests screenshots --- .github/workflows/tests.yml | 8 +------- spec/system/multitenancy_spec.rb | 2 +- spec/system/polls/polls_spec.rb | 2 ++ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dfb173e4a615..ab77d78804de 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,11 +1,5 @@ name: tests -on: - push: - branches: - - master - pull_request: - branches-ignore: - - i18n_master +on: push permissions: contents: read diff --git a/spec/system/multitenancy_spec.rb b/spec/system/multitenancy_spec.rb index bc92dc60e255..832ffd8ef0fc 100644 --- a/spec/system/multitenancy_spec.rb +++ b/spec/system/multitenancy_spec.rb @@ -25,7 +25,7 @@ with_subdomain("mars") do visit polls_path - + expect(page).to have_content "YEAHHH!!!" expect(page).to have_content "Human rights for Martians?" expect(page).to have_css "html.tenant-mars" expect(page).not_to have_css "html.tenant-venus" diff --git a/spec/system/polls/polls_spec.rb b/spec/system/polls/polls_spec.rb index 5d1dfc7888a1..52279e17ac4d 100644 --- a/spec/system/polls/polls_spec.rb +++ b/spec/system/polls/polls_spec.rb @@ -288,6 +288,8 @@ login_as(officer.user) visit new_officing_residence_path + + expect(page).to have_content "YEAHHH!!!" officing_verify_residence click_button "Confirm vote"