Merge pull request #10416 from filipefurtad0/flaky_footer_spec

Addresses flakyness on footer links spec
This commit is contained in:
Maikel
2023-02-13 10:12:47 +11:00
committed by GitHub

View File

@@ -2,7 +2,7 @@
require 'system_helper'
describe "Footer Links", js: true do
describe "Footer Links" do
describe "policy link" do
it "showing" do
visit root_path
@@ -12,7 +12,9 @@ describe "Footer Links", js: true do
it "opens cookies policy page" do
visit root_path
click_link "cookies policy"
expect(page).to have_content I18n.t('legal.cookies_policy.header')
within "div.reveal-modal" do
expect(page).to have_content "How We Use Cookies"
end
end
end