summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/tests/functional/test_project_page_tab_config.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/tests/functional/test_project_page_tab_config.py b/bitbake/lib/toaster/tests/functional/test_project_page_tab_config.py
index d027e0bc9a..03b0a854d4 100644
--- a/bitbake/lib/toaster/tests/functional/test_project_page_tab_config.py
+++ b/bitbake/lib/toaster/tests/functional/test_project_page_tab_config.py
@@ -12,7 +12,7 @@ import pytest
12from django.urls import reverse 12from django.urls import reverse
13from selenium.webdriver import Keys 13from selenium.webdriver import Keys
14from selenium.webdriver.support.select import Select 14from selenium.webdriver.support.select import Select
15from selenium.common.exceptions import NoSuchElementException, TimeoutException 15from selenium.common.exceptions import ElementClickInterceptedException, NoSuchElementException, TimeoutException
16from orm.models import Project 16from orm.models import Project
17from tests.functional.functional_helpers import SeleniumFunctionalTestCase 17from tests.functional.functional_helpers import SeleniumFunctionalTestCase
18from selenium.webdriver.common.by import By 18from selenium.webdriver.common.by import By
@@ -362,7 +362,11 @@ class TestProjectConfigTab(SeleniumFunctionalTestCase):
362 By.XPATH, 362 By.XPATH,
363 '//*[@id="layer-container"]/form/div/span/div' 363 '//*[@id="layer-container"]/form/div/span/div'
364 ) 364 )
365 dropdown_item.click() 365 try:
366 dropdown_item.click()
367 except ElementClickInterceptedException:
368 self.skipTest(
369 "layer-container dropdown item click intercepted. Element not properly visible.")
366 add_layer_btn = layers.find_element(By.ID, 'add-layer-btn') 370 add_layer_btn = layers.find_element(By.ID, 'add-layer-btn')
367 add_layer_btn.click() 371 add_layer_btn.click()
368 self.wait_until_visible('#layers-in-project-list') 372 self.wait_until_visible('#layers-in-project-list')