summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-04 15:54:16 +0100
committerPhil Hughes <me@iamphill.com>2017-05-04 15:54:16 +0100
commit79f40f27fd64b9209e1faa528e658d831e2c7f2f (patch)
tree5eb1c7837b5180c0071ec75e238c27fe917023ee /features/project
parent5c91113c5b6edc4fa1d63bc161b791c7e84e644d (diff)
parent985737fdcf9b79dadfb72d0c9ed9abf4464559f8 (diff)
downloadgitlab-ce-79f40f27fd64b9209e1faa528e658d831e2c7f2f.tar.gz
Merge branch 'master' into deploy-keys-load-async
Diffstat (limited to 'features/project')
-rw-r--r--features/project/active_tab.feature7
-rw-r--r--features/project/builds/artifacts.feature2
-rw-r--r--features/project/pages.feature11
3 files changed, 10 insertions, 10 deletions
diff --git a/features/project/active_tab.feature b/features/project/active_tab.feature
index 0d6f7350181..34201cd8486 100644
--- a/features/project/active_tab.feature
+++ b/features/project/active_tab.feature
@@ -63,13 +63,6 @@ Feature: Project Active Tab
And no other sub tabs should be active
And the active main tab should be Settings
- Scenario: On Project Settings/Pages
- Given I visit my project's settings page
- And I click the "Pages" tab
- Then the active sub tab should be Pages
- And no other sub tabs should be active
- And the active main tab should be Settings
-
Scenario: On Project Members
Given I visit my project's members page
Then the active sub tab should be Members
diff --git a/features/project/builds/artifacts.feature b/features/project/builds/artifacts.feature
index 52dc15f2eb6..09094d638c9 100644
--- a/features/project/builds/artifacts.feature
+++ b/features/project/builds/artifacts.feature
@@ -17,6 +17,7 @@ Feature: Project Builds Artifacts
When I visit recent build details page
And I click artifacts browse button
Then I should see content of artifacts archive
+ And I should see the build header
Scenario: I browse subdirectory of build artifacts
Given recent build has artifacts available
@@ -25,6 +26,7 @@ Feature: Project Builds Artifacts
And I click artifacts browse button
And I click link to subdirectory within build artifacts
Then I should see content of subdirectory within artifacts archive
+ And I should see the directory name in the breadcrumb
Scenario: I browse directory with UTF-8 characters in name
Given recent build has artifacts available
diff --git a/features/project/pages.feature b/features/project/pages.feature
index 87d88348d09..56e47287b5c 100644
--- a/features/project/pages.feature
+++ b/features/project/pages.feature
@@ -3,10 +3,15 @@ Feature: Project Pages
Given I sign in as a user
And I own a project
- Scenario: Pages are disabled
+ Scenario: I cannot navigate to Pages settings if pages enabled
Given pages are disabled
- When I visit the Project Pages
- Then I should see that GitLab Pages are disabled
+ And I visit my project's settings page
+ Then I should not see the "Pages" tab
+
+ Scenario: I can navigate to Pages settings if pages enabled
+ Given pages are enabled
+ And I visit my project's settings page
+ Then I should see the "Pages" tab
Scenario: I can see the pages usage if not deployed
Given pages are enabled