summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-04-17 12:58:51 +0000
committerRémy Coutable <remy@rymai.me>2018-04-17 12:58:51 +0000
commitd26d4f9e33e3ed33bd32acb8c459c249ea1db2bc (patch)
tree27a05483aed2c5c5ea47061371a81d40ba7bf4ae /features/project
parente86923ebac273fd0d542090300a6ffb0f0ea4136 (diff)
parenteafa1b9fe375517abfa529b78e2dd4229ac76d04 (diff)
downloadgitlab-ce-d26d4f9e33e3ed33bd32acb8c459c249ea1db2bc.tar.gz
Merge branch 'replace-build-permissions' into 'master'
Replace project builds permissions spinach with RSpec See merge request gitlab-org/gitlab-ce!18306
Diffstat (limited to 'features/project')
-rw-r--r--features/project/builds/permissions.feature54
1 files changed, 0 insertions, 54 deletions
diff --git a/features/project/builds/permissions.feature b/features/project/builds/permissions.feature
deleted file mode 100644
index db15968db06..00000000000
--- a/features/project/builds/permissions.feature
+++ /dev/null
@@ -1,54 +0,0 @@
-Feature: Project Builds Permissions
- Background:
- Given I sign in as a user
- And project exists in some group namespace
- And project has CI enabled
- And project has a recent build
-
- Scenario: I try to visit build details as guest
- Given I am member of a project with a guest role
- When I visit recent build details page
- Then page status code should be 404
-
- Scenario: I try to visit project builds page as guest
- Given I am member of a project with a guest role
- When I visit project builds page
- Then page status code should be 404
-
- Scenario: I try to visit build details of internal project without access to builds
- Given The project is internal
- And public access for builds is disabled
- When I visit recent build details page
- Then page status code should be 404
-
- Scenario: I try to visit internal project builds page without access to builds
- Given The project is internal
- And public access for builds is disabled
- When I visit project builds page
- Then page status code should be 404
-
- @javascript
- Scenario: I try to visit build details of internal project with access to builds
- Given The project is internal
- And public access for builds is enabled
- When I visit recent build details page
- Then I see details of a build
- And I see build trace
-
- Scenario: I try to visit internal project builds page with access to builds
- Given The project is internal
- And public access for builds is enabled
- When I visit project builds page
- Then I see the build
-
- Scenario: I try to download build artifacts as guest
- Given I am member of a project with a guest role
- And recent build has artifacts available
- When I access artifacts download page
- Then page status code should be 404
-
- Scenario: I try to download build artifacts as reporter
- Given I am member of a project with a reporter role
- And recent build has artifacts available
- When I access artifacts download page
- Then download of build artifacts archive starts