Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-11-20 17:16:23 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-11-20 17:16:23 +0300
commitef0f54232c777341e914d9cb45d8164057e65bc0 (patch)
tree5b3837a47df37895fb0b7616adb2186797f14c7a /qa
parentbd026b6a28ac410ad455b7b915cafc9782296b6b (diff)
Implement a workaround for QA mattermost failures
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/specs/features/mattermost/login_spec.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/qa/qa/specs/features/mattermost/login_spec.rb b/qa/qa/specs/features/mattermost/login_spec.rb
index 92f91cb2725..1fde3f89a99 100644
--- a/qa/qa/specs/features/mattermost/login_spec.rb
+++ b/qa/qa/specs/features/mattermost/login_spec.rb
@@ -9,5 +9,16 @@ module QA
expect(page).to have_content(/(Welcome to: Mattermost|Logout GitLab Mattermost)/)
end
end
+
+ ##
+ # TODO, temporary workaround for gitlab-org/gitlab-qa#102.
+ #
+ after do
+ visit Runtime::Scenario.mattermost_address
+ reset_session!
+
+ visit Runtime::Scenario.gitlab_address
+ reset_session!
+ end
end
end