Skip to content

Commit 2ab2939

Browse files
testing
1 parent ceeec85 commit 2ab2939

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: echo "JUPYTER_TOKEN=$(openssl rand -hex 32)" >> $GITHUB_ENV
5656

5757
- name: Run pytest
58-
run: pytest -v --driver ${{ matrix.browser }} tests_notebooks
58+
run: pytest -v --driver ${{ matrix.browser }} tests_notebooks -k test_notification
5959
env:
6060
TAG: edge
6161

home/start_page.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ def render(self):
7979
config_dir = Path.home() / ".aiidalab"
8080
warning_file = config_dir / "home_app_warning.md"
8181

82+
print(warning_file.absolute())
83+
print(warning_file.exists())
84+
8285
if warning_file.exists():
8386
content = warning_file.read_text()
8487
notification = self._create_notification(content)

tests_notebooks/test_notification.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ def test_home_notification(selenium_driver, final_screenshot):
1717
config_dir.mkdir(exist_ok=True)
1818
warning_file.write_text("This is a test warning message.")
1919

20+
print(warning_file.absolute())
21+
2022
assert warning_file.exists(), "The warning file does not exist."
2123

2224
selenium: WebDriver = selenium_driver("start.ipynb")

0 commit comments

Comments
 (0)