Commit d5fa69ee by Renzo Lucioni

Fix flaky bok-choy tests caused by malformed URL

parent 53b22da9
...@@ -55,7 +55,7 @@ class PaymentAndVerificationFlow(PageObject): ...@@ -55,7 +55,7 @@ class PaymentAndVerificationFlow(PageObject):
@property @property
def url(self): def url(self):
"""Return the URL corresponding to the initial position in the flow.""" """Return the URL corresponding to the initial position in the flow."""
url = "{base}/verify_student/{entry_point}/{course}".format( url = "{base}/verify_student/{entry_point}/{course}/".format(
base=BASE_URL, base=BASE_URL,
entry_point=self._entry_point, entry_point=self._entry_point,
course=self._course_id course=self._course_id
......
...@@ -273,7 +273,6 @@ class PayAndVerifyTest(UniqueCourseTest): ...@@ -273,7 +273,6 @@ class PayAndVerifyTest(UniqueCourseTest):
# Add a verified mode to the course # Add a verified mode to the course
ModeCreationPage(self.browser, self.course_id, mode_slug=u'verified', mode_display_name=u'Verified Certificate', min_price=10, suggested_prices='10,20').visit() ModeCreationPage(self.browser, self.course_id, mode_slug=u'verified', mode_display_name=u'Verified Certificate', min_price=10, suggested_prices='10,20').visit()
@skip('flaky ECOM-1007')
def test_immediate_verification_enrollment(self): def test_immediate_verification_enrollment(self):
# Create a user and log them in # Create a user and log them in
AutoAuthPage(self.browser).visit() AutoAuthPage(self.browser).visit()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment