From 144b8b2223f9483be649e5647c599a57caf4e60a Mon Sep 17 00:00:00 2001 From: "dmy.berezovskyi" Date: Tue, 8 Oct 2024 23:18:55 +0300 Subject: [PATCH] fix path --- .github/workflows/run_tests.yaml | 7 +++++++ src/locators/locators.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 40a05a5..0fe0370 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -24,6 +24,13 @@ jobs: with: python-version: "3.10" + # Clear Poetry cache + - name: Clear Poetry cache + run: | + poetry cache clear --all pypoetry + poetry cache clear --all virtualenvs + + # Install Chrome and WebDriver if not already installed - name: Install Chrome and WebDriver if not already installed run: | if ! command -v google-chrome &>/dev/null; then diff --git a/src/locators/locators.py b/src/locators/locators.py index de0434a..5da1546 100644 --- a/src/locators/locators.py +++ b/src/locators/locators.py @@ -2,7 +2,7 @@ class General: - LOGO = (By.CLASS_NAME, "sj-logo lazy loaded") + LOGO = (By.ID, "userForm") class TextFields: