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
984d67d2
Commit
984d67d2
authored
Apr 28, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quarantine flaky release specs
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
5551b2c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/features/projects/releases/user_views_releases_spec.rb
spec/features/projects/releases/user_views_releases_spec.rb
+2
-2
No files found.
spec/features/projects/releases/user_views_releases_spec.rb
View file @
984d67d2
...
@@ -51,7 +51,7 @@ RSpec.describe 'User views releases', :js do
...
@@ -51,7 +51,7 @@ RSpec.describe 'User views releases', :js do
let!
(
:release_link
)
{
create
(
:release_link
,
release:
release_v1
,
name:
'linux-amd64 binaries'
,
filepath:
'/binaries/linux-amd64'
,
url:
url
)
}
let!
(
:release_link
)
{
create
(
:release_link
,
release:
release_v1
,
name:
'linux-amd64 binaries'
,
filepath:
'/binaries/linux-amd64'
,
url:
url
)
}
let
(
:url
)
{
"
#{
project
.
web_url
}
/-/jobs/1/artifacts/download"
}
let
(
:url
)
{
"
#{
project
.
web_url
}
/-/jobs/1/artifacts/download"
}
it
'sees the link'
do
it
'sees the link'
,
quarantine:
'https://gitlab.com/gitlab-org/gitlab/-/issues/329301'
do
page
.
within
(
"#
#{
release_v1
.
tag
}
.js-assets-list"
)
do
page
.
within
(
"#
#{
release_v1
.
tag
}
.js-assets-list"
)
do
expect
(
page
).
to
have_link
release_link
.
name
,
href:
direct_asset_link
expect
(
page
).
to
have_link
release_link
.
name
,
href:
direct_asset_link
expect
(
page
).
not_to
have_css
(
'[data-testid="external-link-indicator"]'
)
expect
(
page
).
not_to
have_css
(
'[data-testid="external-link-indicator"]'
)
...
@@ -62,7 +62,7 @@ RSpec.describe 'User views releases', :js do
...
@@ -62,7 +62,7 @@ RSpec.describe 'User views releases', :js do
context
'when url points to external resource'
do
context
'when url points to external resource'
do
let
(
:url
)
{
'http://google.com/download'
}
let
(
:url
)
{
'http://google.com/download'
}
it
'sees that the link is external resource'
do
it
'sees that the link is external resource'
,
quarantine:
'https://gitlab.com/gitlab-org/gitlab/-/issues/329302'
do
page
.
within
(
"#
#{
release_v1
.
tag
}
.js-assets-list"
)
do
page
.
within
(
"#
#{
release_v1
.
tag
}
.js-assets-list"
)
do
expect
(
page
).
to
have_css
(
'[data-testid="external-link-indicator"]'
)
expect
(
page
).
to
have_css
(
'[data-testid="external-link-indicator"]'
)
end
end
...
...
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