mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 04:53:37 +08:00
DEV: Skip two flaky system tests (#22651)
Why this change? These tests have shown to be flaky and are being skipped for now while we look into it.
This commit is contained in:
parent
d9a7779811
commit
beb91e1707
|
@ -53,6 +53,12 @@ describe "Thread tracking state | drawer", type: :system do
|
|||
end
|
||||
|
||||
it "shows unread indicators for the header icon and the list when a new unread arrives" do
|
||||
skip(<<~TEXT)
|
||||
Flaky at the following assertion:
|
||||
|
||||
expected `#<PageObjects::Components::Chat::ThreadList:0x00007f082393ada0>.has_unread_item?(2)` to be truthy, got false
|
||||
TEXT
|
||||
|
||||
thread.membership_for(current_user).update!(last_read_message_id: message_2.id)
|
||||
visit("/")
|
||||
chat_page.open_from_header
|
||||
|
|
|
@ -7,6 +7,13 @@ describe "Viewing top topics on categories page", type: :system, js: true do
|
|||
fab!(:topic) { Fabricate(:topic, category: category) }
|
||||
|
||||
it "displays and updates new counter" do
|
||||
skip(<<~TEXT)
|
||||
Flaky at the following step:
|
||||
|
||||
expect(category_list).to have_no_new_posts_badge
|
||||
expected `#<PageObjects::Components::CategoryList:0x00007fe27a3d2340>.has_no_new_posts_badge?` to be truthy, got false
|
||||
TEXT
|
||||
|
||||
sign_in(user)
|
||||
|
||||
visit("/categories")
|
||||
|
|
Loading…
Reference in New Issue
Block a user