Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bb53defb
Commit
bb53defb
authored
Apr 01, 2022
by
Andrejs Cunskis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove page reload on gh import wait
parent
ea08a31e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
qa/qa/page/project/import/github.rb
qa/qa/page/project/import/github.rb
+1
-2
No files found.
qa/qa/page/project/import/github.rb
View file @
bb53defb
...
@@ -75,11 +75,10 @@ module QA
...
@@ -75,11 +75,10 @@ module QA
# @return [Boolean]
# @return [Boolean]
def
has_imported_project?
(
gh_project_name
,
wait:
QA
::
Support
::
WaitForRequests
::
DEFAULT_MAX_WAIT_TIME
)
def
has_imported_project?
(
gh_project_name
,
wait:
QA
::
Support
::
WaitForRequests
::
DEFAULT_MAX_WAIT_TIME
)
within_element
(
:project_import_row
,
source_project:
gh_project_name
,
skip_finished_loading_check:
true
)
do
within_element
(
:project_import_row
,
source_project:
gh_project_name
,
skip_finished_loading_check:
true
)
do
# TODO: remove retrier with reload:true once https://gitlab.com/gitlab-org/gitlab/-/issues/292861 is fixed
wait_until
(
wait_until
(
max_duration:
wait
,
max_duration:
wait
,
sleep_interval:
5
,
sleep_interval:
5
,
reload:
tru
e
,
reload:
fals
e
,
skip_finished_loading_check_on_refresh:
true
skip_finished_loading_check_on_refresh:
true
)
do
)
do
has_element?
(
:import_status_indicator
,
text:
"Complete"
)
has_element?
(
:import_status_indicator
,
text:
"Complete"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment