mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 08:49:20 +00:00
DEV: skips two flakey specs (#24044)
This commit is contained in:
parent
53c23cf929
commit
7c057878e2
@ -35,13 +35,12 @@ RSpec.describe "Channel - Info - Members page", type: :system do
|
||||
channel_1.add(current_user)
|
||||
channel_1.add(Fabricate(:user, username: "cat"))
|
||||
98.times { channel_1.add(Fabricate(:user)) }
|
||||
end
|
||||
|
||||
it "shows all members" do
|
||||
Jobs.run_immediately!
|
||||
channel_1.update!(user_count_stale: true)
|
||||
Jobs::Chat::UpdateChannelUserCount.new.execute(chat_channel_id: channel_1.id)
|
||||
end
|
||||
|
||||
xit "shows all members" do
|
||||
chat_page.visit_channel_members(channel_1)
|
||||
|
||||
expect(page).to have_selector(".chat-channel-members__list-item", count: 60)
|
||||
@ -57,10 +56,6 @@ RSpec.describe "Channel - Info - Members page", type: :system do
|
||||
|
||||
context "with filter" do
|
||||
it "filters members" do
|
||||
Jobs.run_immediately!
|
||||
channel_1.update!(user_count_stale: true)
|
||||
Jobs::Chat::UpdateChannelUserCount.new.execute(chat_channel_id: channel_1.id)
|
||||
|
||||
chat_page.visit_channel_members(channel_1)
|
||||
find(".chat-channel-members__filter").fill_in(with: "cat")
|
||||
|
||||
|
@ -131,7 +131,7 @@ RSpec.describe "Navigation", type: :system do
|
||||
end
|
||||
|
||||
context "when opening a thread from the thread list" do
|
||||
it "goes back to the thread list when clicking the back button" do
|
||||
xit "goes back to the thread list when clicking the back button" do
|
||||
skip("Flaky on CI") if ENV["CI"]
|
||||
|
||||
visit("/chat")
|
||||
|
Loading…
x
Reference in New Issue
Block a user