Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Maximilian Michal
grady
Merge requests
!156
Fix StaleElementException when waiting for loading of Subscriptions
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix StaleElementException when waiting for loading of Subscriptions
fix-stale-element-exception-in-functional-tests
into
master
Overview
0
Commits
1
Pipelines
4
Changes
3
Merged
robinwilliam.hundt
requested to merge
fix-stale-element-exception-in-functional-tests
into
master
6 years ago
Overview
0
Commits
1
Pipelines
4
Changes
3
Expand
0
0
Merge request reports
Viewing commit
8eaded53
Show latest version
3 files
+
14
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
8eaded53
Fix StaleElementException when waiting for loading of Subscriptions
· 8eaded53
robinwilliam.hundt
authored
6 years ago
functional_tests/test_feedback_creation.py
+
1
−
1
Options
@@ -54,8 +54,8 @@ class UntestedParent:
# stage can be 'initial', 'validate', or 'conflict'
def
_go_to_subscription
(
self
,
stage
=
'
initial
'
,
sub_type
=
None
):
WebDriverWait
(
self
.
browser
,
10
).
until
(
subscriptions_loaded_cond
(
self
.
browser
))
tasks
=
self
.
browser
.
find_element_by_name
(
'
subscription-list
'
)
WebDriverWait
(
self
.
browser
,
10
).
until
(
subscriptions_loaded_cond
(
tasks
))
tab
=
tasks
.
find_element_by_xpath
(
f
'
//*[contains(text(),
"
{
stage
}
"
)]
'
)
tab
.
click
()
sub_type
=
sub_type
if
sub_type
is
not
None
else
self
.
sub_type
Loading