summaryrefslogtreecommitdiff
path: root/spec/features/projects/integrations/user_activates_mattermost_slash_command_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-15 09:08:57 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-15 09:08:57 +0000
commit45a8c43afe8a17de19a92708b380b29b6ae04ce6 (patch)
tree4104e6ac741fbbdeefe9b8b699650a06c14e9056 /spec/features/projects/integrations/user_activates_mattermost_slash_command_spec.rb
parent6bc327a3491069240bd73cc83e17b3078c4148b0 (diff)
downloadgitlab-ce-45a8c43afe8a17de19a92708b380b29b6ae04ce6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/integrations/user_activates_mattermost_slash_command_spec.rb')
-rw-r--r--spec/features/projects/integrations/user_activates_mattermost_slash_command_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/integrations/user_activates_mattermost_slash_command_spec.rb b/spec/features/projects/integrations/user_activates_mattermost_slash_command_spec.rb
index c2370f38faa..aea76944c7f 100644
--- a/spec/features/projects/integrations/user_activates_mattermost_slash_command_spec.rb
+++ b/spec/features/projects/integrations/user_activates_mattermost_slash_command_spec.rb
@@ -99,7 +99,7 @@ RSpec.describe 'Set up Mattermost slash commands', :js, feature_category: :integ
click_link 'Add to Mattermost'
- expect(find('input[type="submit"]')['disabled']).not_to eq("true")
+ expect(find('button[type="submit"]')['disabled']).not_to eq("true")
end
it 'disables the submit button if the required fields are not provided', :js do
@@ -109,7 +109,7 @@ RSpec.describe 'Set up Mattermost slash commands', :js, feature_category: :integ
fill_in('mattermost_trigger', with: '')
- expect(find('input[type="submit"]')['disabled']).to eq("true")
+ expect(find('button[type="submit"]')['disabled']).to eq("true")
end
def stub_teams(count: 0)