DEV: skip two flakey specs (#24965)

This commit is contained in:
Joffrey JAFFEUX 2023-12-19 09:27:09 +01:00 committed by GitHub
parent 4dceac8bda
commit c467af97ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -168,6 +168,8 @@ RSpec.describe "Navigation", type: :system do
before { Fabricate(:chat_message, thread: thread_2, use_service: true) } before { Fabricate(:chat_message, thread: thread_2, use_service: true) }
it "goes back to the thread list when clicking the back button", mobile: true do it "goes back to the thread list when clicking the back button", mobile: true do
skip("Flaky on CI") if ENV["CI"]
chat_page.visit_channel(category_channel) chat_page.visit_channel(category_channel)
channel_page.message_thread_indicator(thread.original_message).click channel_page.message_thread_indicator(thread.original_message).click
thread_page.send_message thread_page.send_message

View File

@ -44,6 +44,8 @@ describe "Thread tracking state | drawer", type: :system do
end end
it "marks the thread as read and removes both indicators when the user opens it" do it "marks the thread as read and removes both indicators when the user opens it" do
skip("Flaky on CI") if ENV["CI"]
visit("/") visit("/")
chat_page.open_from_header chat_page.open_from_header
drawer_page.open_channel(channel) drawer_page.open_channel(channel)