Skip to content

Fix login to mattermost e2e specs

Sanad Liaquat requested to merge qa-shl-update-mattermost-spec into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Updates the expectation on Mattermost e2e specs.

Fixes #359224 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Start GitLab in Docker with Mattermost:
docker network create test && docker run \
  --publish 80:80 \
  --name gitlab \
  --net test \
  --hostname gitlab.test \
  --network-alias mattermost.test \
  --env GITLAB_OMNIBUS_CONFIG="gitlab_rails['initial_root_password']='password'; mattermost_external_url 'http://mattermost.test' " \
   gitlab/gitlab-latest
  1. Run the tests:
GITLAB_INITIAL_ROOT_PASSWORD='password' QA_DEBUG=true WEBDRIVER_HEADLESS=false bundle exec bin/qa Test::Integration::Mattermost http://gitlab.test http://mattermost.test qa/specs/features/browser_ui/1_manage/login/log_into_mattermost_via_gitlab_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sanad Liaquat

Merge request reports

Loading