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
4853febc
Commit
4853febc
authored
Jun 21, 2021
by
Anastasia McDonald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve intermittently failing smoke test
Replace file for upload
parent
6700c65b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
...ecs/features/browser_ui/2_plan/issue/create_issue_spec.rb
+4
-4
No files found.
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
View file @
4853febc
...
...
@@ -39,9 +39,9 @@ module QA
end
context
'when using attachments in comments'
,
:object_storage
do
let
(
:
gif_file_name
)
{
'banana_sample.gif
'
}
let
(
:
png_file_name
)
{
'testfile.png
'
}
let
(
:file_to_attach
)
do
File
.
absolute_path
(
File
.
join
(
'qa'
,
'fixtures'
,
'designs'
,
gif
_file_name
))
File
.
absolute_path
(
File
.
join
(
'qa'
,
'fixtures'
,
'designs'
,
png
_file_name
))
end
before
do
...
...
@@ -50,9 +50,9 @@ module QA
it
'comments on an issue with an attachment'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1742'
do
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
show
.
comment
(
'See attached
banana
for scale'
,
attachment:
file_to_attach
)
show
.
comment
(
'See attached
image
for scale'
,
attachment:
file_to_attach
)
expect
(
show
.
noteable_note_item
.
find
(
"img[src$='
#{
gif
_file_name
}
']"
)).
to
be_visible
expect
(
show
.
noteable_note_item
.
find
(
"img[src$='
#{
png
_file_name
}
']"
)).
to
be_visible
end
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