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
fe521ad6
Commit
fe521ad6
authored
Feb 04, 2022
by
Sanad Liaquat (Personal)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Retry on exception due to bug
parent
8c8fc369
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
qa/qa/resource/user.rb
qa/qa/resource/user.rb
+1
-2
qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb
...specs/features/browser_ui/1_manage/login/register_spec.rb
+3
-1
No files found.
qa/qa/resource/user.rb
View file @
fe521ad6
...
...
@@ -100,8 +100,7 @@ module QA
def
exists?
api_get
# TODO: remove 'InternalServerError' from below line after https://gitlab.com/gitlab-org/gitlab/-/issues/349337 has been resolved
rescue
ResourceNotFoundError
,
InternalServerError
rescue
ResourceNotFoundError
false
end
...
...
qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb
View file @
fe521ad6
...
...
@@ -64,7 +64,9 @@ module QA
Page
::
Profile
::
Accounts
::
Show
.
perform
do
|
show
|
show
.
delete_account
(
user
.
password
)
end
Support
::
Waiter
.
wait_until
{
!
user
.
exists?
}
# TODO: Remove retry_on_exception once https://gitlab.com/gitlab-org/gitlab/-/issues/24294 is resolved
Support
::
Waiter
.
wait_until
(
retry_on_exception:
true
,
sleep_interval:
3
)
{
!
user
.
exists?
}
end
it
'allows recreating with same credentials'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347868'
do
...
...
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