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
6a3447a7
Commit
6a3447a7
authored
Jun 08, 2021
by
Désirée Chevalier
Committed by
Dan Davison
Jun 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update realtime assignee e2e spec waits
parent
a4658329
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
qa/qa/page/component/issuable/sidebar.rb
qa/qa/page/component/issuable/sidebar.rb
+2
-2
qa/qa/specs/features/browser_ui/2_plan/issue/real_time_assignee_spec.rb
...atures/browser_ui/2_plan/issue/real_time_assignee_spec.rb
+4
-1
No files found.
qa/qa/page/component/issuable/sidebar.rb
View file @
6a3447a7
...
...
@@ -65,13 +65,13 @@ module QA
def
has_assignee?
(
username
)
within_element
(
:assignee_block
)
do
has_text?
(
username
,
wait:
1
20
)
has_text?
(
username
,
wait:
1
)
end
end
def
has_no_assignee?
(
username
)
within_element
(
:assignee_block
)
do
has_no_text?
(
username
,
wait:
1
20
)
has_no_text?
(
username
,
wait:
1
)
end
end
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/real_time_assignee_spec.rb
View file @
6a3447a7
...
...
@@ -25,6 +25,7 @@ module QA
after
do
Runtime
::
Feature
.
disable
(
'real_time_issue_sidebar'
,
project:
project
)
Runtime
::
Feature
.
disable
(
'broadcast_issue_updates'
,
project:
project
)
Runtime
::
Feature
.
disable
(
:invite_members_group_modal
,
project:
project
)
end
it
'update without refresh'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1048'
do
...
...
@@ -37,7 +38,9 @@ module QA
Page
::
Project
::
Issue
::
Show
.
perform
do
|
show
|
expect
(
show
).
to
have_assignee
(
user1
.
name
)
# We need to wait 1 second for the page to connect to the websocket to subscribe to updates
# https://gitlab.com/gitlab-org/gitlab/-/issues/293699#note_583959786
sleep
1
issue
.
set_issue_assignees
(
assignee_ids:
[
user2
.
id
])
expect
(
show
).
to
have_assignee
(
user2
.
name
)
...
...
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