summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorSemyon Pupkov <mail@semyonpupkov.com>2018-04-11 12:28:18 +0500
committerSemyon Pupkov <mail@semyonpupkov.com>2018-04-17 11:04:20 +0500
commiteafa1b9fe375517abfa529b78e2dd4229ac76d04 (patch)
treec340a9531af3ff31c985e39983116f776dbd09ff /features/project
parent6b246360d4ef358cced8b2c698a1d00f97a2e780 (diff)
downloadgitlab-ce-eafa1b9fe375517abfa529b78e2dd4229ac76d04.tar.gz
Replace project builds permissions spinach with RSpec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
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