summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-13 03:06:31 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-13 03:06:31 +0000
commitd41c040fa25a8b4092843b84bf7d839591b6ee09 (patch)
tree5f7e94d2b6ac79483788eb867b3827af10f5bd82 /doc
parent4689bac80c8ab86e2b37abf217cc9b3404c5255f (diff)
downloadgitlab-ce-d41c040fa25a8b4092843b84bf7d839591b6ee09.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r--doc/api/graphql/reference/gitlab_schema.graphql10
-rw-r--r--doc/api/graphql/reference/gitlab_schema.json12
-rw-r--r--doc/development/testing_guide/end_to_end/best_practices.md8
3 files changed, 30 insertions, 0 deletions
diff --git a/doc/api/graphql/reference/gitlab_schema.graphql b/doc/api/graphql/reference/gitlab_schema.graphql
index 723294da35e..084cae38332 100644
--- a/doc/api/graphql/reference/gitlab_schema.graphql
+++ b/doc/api/graphql/reference/gitlab_schema.graphql
@@ -2677,6 +2677,16 @@ Values for sorting issues
"""
enum IssueSort {
"""
+ Due date by ascending order
+ """
+ DUE_DATE_ASC
+
+ """
+ Due date by descending order
+ """
+ DUE_DATE_DESC
+
+ """
Created at ascending order
"""
created_asc
diff --git a/doc/api/graphql/reference/gitlab_schema.json b/doc/api/graphql/reference/gitlab_schema.json
index f921f1ef45c..32aafa51cc6 100644
--- a/doc/api/graphql/reference/gitlab_schema.json
+++ b/doc/api/graphql/reference/gitlab_schema.json
@@ -13406,6 +13406,18 @@
"description": "Created at ascending order",
"isDeprecated": false,
"deprecationReason": null
+ },
+ {
+ "name": "DUE_DATE_ASC",
+ "description": "Due date by ascending order",
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "DUE_DATE_DESC",
+ "description": "Due date by descending order",
+ "isDeprecated": false,
+ "deprecationReason": null
}
],
"possibleTypes": null
diff --git a/doc/development/testing_guide/end_to_end/best_practices.md b/doc/development/testing_guide/end_to_end/best_practices.md
index e73c6a61fb1..e2a0d267ba1 100644
--- a/doc/development/testing_guide/end_to_end/best_practices.md
+++ b/doc/development/testing_guide/end_to_end/best_practices.md
@@ -85,3 +85,11 @@ after(:all) do
Page::Main::Menu.perform(&:sign_out)
end
```
+
+## Tag tests that require Administrator access
+
+We don't run tests that require Administrator access against our Production environments.
+
+When you add a new test that requires Administrator access, apply the RSpec metadata `:requires_admin` so that the test will not be included in the test suites executed against Production and other environments on which we don't want to run those tests.
+
+Note: When running tests locally or configuring a pipeline, the environment variable `QA_CAN_TEST_ADMIN_FEATURES` can be set to `false` to skip tests that have the `:requires_admin` tag.