DEV: Add upload system specs for chat (#19604)

This commit is contained in:
Martin Brennan
2022-12-23 17:41:10 +10:00
committed by GitHub
parent f17aed973e
commit 29638f0639
5 changed files with 154 additions and 5 deletions

View File

@ -71,8 +71,8 @@ RSpec.describe "Chat composer", type: :system, js: true do
it "adds the emoji to the composer" do
chat.visit_channel(channel_1)
find(".chat-composer-dropdown__trigger-btn").click
find(".chat-composer-dropdown__action-btn.emoji").click
channel.open_action_menu
channel.click_action_button("emoji")
find("[data-emoji='grimacing']").click(wait: 0.5)
expect(find(".chat-composer-input").value).to eq(":grimacing:")