ci: run e2e tests with failfast
This commit is contained in:
parent
bdaf0111c2
commit
ea38da441b
|
@ -221,7 +221,7 @@ stages:
|
|||
displayName: Run full test suite
|
||||
inputs:
|
||||
script: |
|
||||
pipenv run coverage run ./manage.py test e2e -v 3
|
||||
pipenv run coverage run ./manage.py test e2e -v 3 --failfast
|
||||
- task: CmdLine@2
|
||||
condition: always()
|
||||
displayName: Cleanup
|
||||
|
|
|
@ -140,6 +140,8 @@ class TestProviderOAuth2Github(SeleniumTestCase):
|
|||
self.driver.find_element(By.ID, "id_password").send_keys(USER().username)
|
||||
self.driver.find_element(By.ID, "id_password").send_keys(Keys.ENTER)
|
||||
|
||||
sleep(1)
|
||||
|
||||
self.assertIn(
|
||||
app.name,
|
||||
self.driver.find_element(
|
||||
|
@ -160,8 +162,6 @@ class TestProviderOAuth2Github(SeleniumTestCase):
|
|||
),
|
||||
).click()
|
||||
|
||||
sleep(1)
|
||||
|
||||
self.wait_for_url("http://localhost:3000/?orgId=1")
|
||||
self.driver.find_element(By.XPATH, "//a[contains(@href, '/profile')]").click()
|
||||
self.assertEqual(
|
||||
|
|
Reference in New Issue