DEV: Skip flaky system tests on CI (#undefined)
This commit is contained in:
parent
7fdede9f0f
commit
8a9d3b3eed
|
@ -10,6 +10,10 @@ describe "Admin Customize Form Templates", type: :system, js: true do
|
|||
end
|
||||
|
||||
before do
|
||||
skip(<<~TEXT) if ENV["CI"]
|
||||
The specs here are extremely flaky on CI for some reason.
|
||||
TEXT
|
||||
|
||||
SiteSetting.experimental_form_templates = true
|
||||
sign_in(admin)
|
||||
end
|
||||
|
|
|
@ -9,6 +9,15 @@ describe "User preferences for Interface", type: :system, js: true do
|
|||
|
||||
describe "Bookmarks" do
|
||||
it "changes the bookmark after notification preference" do
|
||||
skip(<<~TEXT) if ENV["CI"]
|
||||
This is currently failing on CI with the following:
|
||||
|
||||
```
|
||||
Failure/Error: expect(page).to have_content(I18n.t("js.saved"))
|
||||
expected `#<Capybara::Session>.has_content?("Saved!")` to be truthy, got false
|
||||
```
|
||||
TEXT
|
||||
|
||||
user_preferences_page.visit(user).click_interface_tab
|
||||
|
||||
# preselects the default user_option.bookmark_auto_delete_preference value of 3 (clear_reminder)
|
||||
|
|
Loading…
Reference in New Issue