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
6d71f9f8
Commit
6d71f9f8
authored
Feb 07, 2019
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some racing expectations
parent
e49ac1c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
ee/spec/features/projects/mirror_spec.rb
ee/spec/features/projects/mirror_spec.rb
+0
-10
No files found.
ee/spec/features/projects/mirror_spec.rb
View file @
6d71f9f8
...
@@ -140,11 +140,8 @@ describe 'Project mirror', :js do
...
@@ -140,11 +140,8 @@ describe 'Project mirror', :js do
click_without_sidekiq
'Regenerate key'
click_without_sidekiq
'Regenerate key'
find
(
'.js-regenerate-public-ssh-key-confirm-modal .js-confirm'
).
click
find
(
'.js-regenerate-public-ssh-key-confirm-modal .js-confirm'
).
click
expect
(
page
).
to
have_selector
(
".fa-spinner"
)
wait_for_requests
wait_for_requests
expect
(
page
).
not_to
have_selector
(
".fa-spinner"
)
expect
(
page
).
not_to
have_content
(
first_key
)
expect
(
page
).
not_to
have_content
(
first_key
)
expect
(
page
).
to
have_content
(
import_data
.
reload
.
ssh_public_key
)
expect
(
page
).
to
have_content
(
import_data
.
reload
.
ssh_public_key
)
end
end
...
@@ -164,11 +161,8 @@ describe 'Project mirror', :js do
...
@@ -164,11 +161,8 @@ describe 'Project mirror', :js do
select
(
'Pull'
,
from:
'Mirror direction'
)
select
(
'Pull'
,
from:
'Mirror direction'
)
click_on
'Detect host keys'
click_on
'Detect host keys'
expect
(
page
).
to
have_selector
(
".fa-spinner"
)
wait_for_requests
wait_for_requests
expect
(
page
).
not_to
have_selector
(
".fa-spinner"
)
expect
(
page
).
to
have_content
(
key
.
fingerprint
)
expect
(
page
).
to
have_content
(
key
.
fingerprint
)
click_on
'Input host keys manually'
click_on
'Input host keys manually'
...
@@ -187,11 +181,7 @@ describe 'Project mirror', :js do
...
@@ -187,11 +181,7 @@ describe 'Project mirror', :js do
select
(
'Pull'
,
from:
'Mirror direction'
)
select
(
'Pull'
,
from:
'Mirror direction'
)
click_on
'Detect host keys'
click_on
'Detect host keys'
expect
(
page
).
to
have_selector
(
".fa-spinner"
)
wait_for_requests
wait_for_requests
expect
(
page
).
not_to
have_selector
(
".fa-spinner"
)
end
end
# Appears in the flash
# Appears in the flash
...
...
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