summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-13 00:19:10 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-13 00:19:10 +0000
commitfa1b90364dc73f27dc78b9d27114e4a197f2cfcb (patch)
treef72d9e2a7355687d977bfe0c01bdb42238e98d27 /qa
parentac48f7c24110a7a1e0a0aa49fc7838ab03c28374 (diff)
downloadgitlab-ce-fa1b90364dc73f27dc78b9d27114e4a197f2cfcb.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/import/github.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/qa/page/project/import/github.rb b/qa/qa/page/project/import/github.rb
index 6248af98a78..759729f0abf 100644
--- a/qa/qa/page/project/import/github.rb
+++ b/qa/qa/page/project/import/github.rb
@@ -32,6 +32,8 @@ module QA
# In this case skip this step and proceed to import project row
return unless has_element?(:personal_access_token_field)
+ raise ArgumentError, "No personal access token was provided" if personal_access_token.empty?
+
fill_element(:personal_access_token_field, personal_access_token)
click_element(:authenticate_button)
finished_loading?