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
diff options
context:
space:
mode:
authorNathan Friend <nathan@gitlab.com>2019-08-23 22:08:23 +0300
committerNathan Friend <nathan@gitlab.com>2019-08-30 17:15:40 +0300
commit9d0a7fa6f95718c5685b421193b35a546d47bce5 (patch)
tree542ad64286a5591c48986e5ae47d209cad20fae8 /spec/features
parent79011fab0852de16e6b850ced4f282c97f4e8301 (diff)
Add warning about Pages initial deployment delay
This commit adds a warning message that is always displayed that informs users that their GitLab Pages sites will take a bit of time before they can be accessed after being deployed for the first time.
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/pages_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/features/projects/pages_spec.rb b/spec/features/projects/pages_spec.rb
index c4b3ddb2088..d55e9d12801 100644
--- a/spec/features/projects/pages_spec.rb
+++ b/spec/features/projects/pages_spec.rb
@@ -30,6 +30,12 @@ shared_examples 'pages settings editing' do
expect(page).to have_content('Access pages')
end
+ it 'renders first deployment warning' do
+ visit project_pages_path(project)
+
+ expect(page).to have_content('It may take up to 30 minutes before the site is available after the first deployment.')
+ end
+
context 'when support for external domains is disabled' do
it 'renders message that support is disabled' do
visit project_pages_path(project)