We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ded9d5 commit 22b09c9Copy full SHA for 22b09c9
cesium_app/tests/frontend/test_pipeline_sequentially.py
@@ -1,6 +1,7 @@
1
import pytest
2
from selenium import webdriver
3
from selenium.webdriver.support.ui import Select
4
+from selenium.common.exceptions import NoSuchElementException, TimeoutException
5
import uuid
6
import os
7
from os.path import join as pjoin
@@ -10,6 +11,11 @@
10
11
def test_pipeline_sequentially(driver):
12
driver.get("/")
13
14
+ # Delete existing project if present
15
+ try:
16
+ driver.wait_for_xpath('//*[contains(text(), "Delete Project")]').click()
17
+ except (NoSuchElementException, TimeoutException):
18
+ pass
19
# Add new project
20
driver.wait_for_xpath('//*[contains(text(), "Or click here to add a new one")]').click()
21
0 commit comments