Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ecommerce
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
ecommerce
Commits
d1f1aa6b
Commit
d1f1aa6b
authored
Aug 28, 2015
by
Jim Abramson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #304 from edx/jsa/wait-longer-for-alert
wait longer for alert modal in acceptance test
parents
cec45450
fbc3e103
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ecommerce/extensions/dashboard/orders/tests.py
+1
-1
No files found.
ecommerce/extensions/dashboard/orders/tests.py
View file @
d1f1aa6b
...
@@ -77,7 +77,7 @@ class OrderListViewTests(OrderViewTestsMixin, RefundTestMixin, LiveServerTestCas
...
@@ -77,7 +77,7 @@ class OrderListViewTests(OrderViewTestsMixin, RefundTestMixin, LiveServerTestCas
button
.
click
()
button
.
click
()
# Wait for the AJAX call to finish and display an alert
# Wait for the AJAX call to finish and display an alert
WebDriverWait
(
self
.
selenium
,
0.
1
)
.
until
(
lambda
d
:
d
.
find_element_by_css_selector
(
'#messages .alert'
))
WebDriverWait
(
self
.
selenium
,
0.
5
)
.
until
(
lambda
d
:
d
.
find_element_by_css_selector
(
'#messages .alert'
))
def
assertAlertDisplayed
(
self
,
alert_class
,
text
):
def
assertAlertDisplayed
(
self
,
alert_class
,
text
):
""" Verifies that the most recent alert has the given class and message. """
""" Verifies that the most recent alert has the given class and message. """
...
...
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