diff --git a/tests/test_loaders.py b/tests/test_loaders.py index cc7b553f9..23cee1b18 100644 --- a/tests/test_loaders.py +++ b/tests/test_loaders.py @@ -3,8 +3,8 @@ from aiidalab_widgets_base.utils.loaders import load_css -def test_load_css_stylesheet(): - """Test `load_css_stylesheet` function.""" +def test_load_css(): + """Test `load_css` utility.""" css_dir = Path("aiidalab_widgets_base/static/styles") load_css(css_path=css_dir) load_css(css_path=css_dir / "global.css") diff --git a/tests_notebooks/test_notebooks.py b/tests_notebooks/test_notebooks.py index acb87fed0..0d60917d6 100644 --- a/tests_notebooks/test_notebooks.py +++ b/tests_notebooks/test_notebooks.py @@ -5,8 +5,7 @@ from selenium.webdriver.common.keys import Keys -def test_load_css_stylesheet(selenium_driver): - """Test `load_css_stylesheet` function.""" +def test_loaded_css(selenium_driver): driver = selenium_driver("test_notebooks/test_notebook.ipynb") element = driver.find_element(By.CLASS_NAME, "for-testing-purposes") assert element.value_of_css_property("color") == "rgba(255, 0, 0, 1)"