From d66228668e237966afc924cc15df63209cdb1d9e Mon Sep 17 00:00:00 2001 From: neelimaguntupalli1-nhs Date: Fri, 13 Dec 2024 15:40:55 +0000 Subject: [PATCH] Ravs 1094 automate reports feature (#47) * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Bump setuptools in /scripts/docker/examples/python/assets/hello_world Bumps [setuptools](https://github.com/pypa/setuptools) from 65.5.1 to 70.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v65.5.1...v70.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Test steps updated with legal mechanism, vaccination site and updated check and confirm screen * Fix indenttation in conftest.py * Update tests_qa.yml * Fix dev workflow file * Update tests_dev.yml * Add assertions for check and confirm screen * Add assertions for check and confirm screen * Output test environment detail to screenshot title * Fix record a vaccine flow test * Update dev workflow file to run tests for every push * Fix date format and failing tests when legal mechanism is PGD, automatic vaccinator and consent clinician selection * Fix date format * Fixed issue with date of birth format * Fixed issue with date of birth format * Fix failing find a patient by NHS number test * Fix failing test because of PGD * Fix failing test because of PGD * Fix trailing white space issue in pipeline checks * Updated batch expiry date to make the date format is standardized * Ravs 305 legal mechanism change (#13) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step --------- Co-authored-by: root * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * Replace PDS search numbers * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Find a patient (#15) * update find a patient tests * add happy path demographics tests * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * add remaining demo tests * Replace PDS search numbers * add start of local tests * add create patient scenario * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * re-add test for find a patient page * re-add test for find a patient page * update find a patient tests * add happy path demographics tests * add remaining demo tests * add start of local tests * add create patient scenario * re-add test for find a patient page * re-add test for find a patient page * re-add explicit scenario for find a patient * fix rebase errors * fix rebase errors * re-add explicit scenarios * restore old tests * indentation fix * indentation fix * indentation fix * update find a patient page * update requirements.txt * update requirements.txt * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to utf-8 * update requirements.txt to utf-8 with trailing crlf * update requirements.txt add faker --------- Signed-off-by: dependabot[bot] Co-authored-by: Colin Piper Co-authored-by: neelimaguntupalli1-nhs Co-authored-by: root Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> * Adding tests for age based warnings * Adding tests for age based warnings on vacinate screen too * Fix file formatting job failure * Fix failing record a vaccine tests qa (#24) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests --------- Co-authored-by: root * Add vaccine and batch (#25) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests * update the add vaccine and add batch * added scenario for existing product to check batch availability * fix launch page tests for add vaccines and add batches * fix add vaccine tests * fix add batch tests * file format fixes * file format fixes * change secret scan to staged changes * update tests to cover saved record and delete, and update existing record a vaccine tests to use new flow * refactor the vaccine site type batch logic to make it simpler * refactor the vaccine site type batch logic to make it simpler * fix formatting * fix formatting * confirm add batch and add vaccine tests working locally * revert RAV tests to remove cookie check * updated flu vaccine names --------- Co-authored-by: root Co-authored-by: Colin Piper * Update tests_dev.yml Disable test run for tomorrow * Update tests_qa.yml Disable test run for tomorrow * Retest cron job - tests_dev.yml * Reset cron jobs - tests_qa.yml * Fix failing find a patient tests (#26) * Fix failing find a patient tests * Removed scoop from requirements.txt to fix scan secrets issue * added requirements.txt to gitleaks ignore list * Updated path of requirements.txt file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Fix failing tests main * Test publish to 2 urls * Disabled automated tests for wednesday * Fixed failing age based warning tests and moved to locators instead of selectors for choose vaccine page * Fixed all failing find a patient tests and changed all elements to be playwright locators instead of selenium selectors --------- Co-authored-by: root * Fix failing logout tests (#28) * Fixed failing logout test and made common methods to click to avoid code duplication * Fix git hooks errors with formatting * Fix failing tests following last commit * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to allure reports and fixed failing login tests * Fix issue with inconsistent test failures when running headless * Hopefully nailed all intermittent failures * Fixed all issues except recording a vaccine and improved wait times * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Fixed attach screenshot issue * May have solved the image attachment issue * Make github pages url dynamic * Try attach screenshots again * Corrected upload artifact version * Fixed issue with yml * Fix dynamic branch url naming issue * Reset git leaks actions from last colin's change * Only run logout test for quick feedback * Upload screenshots as artifacts again * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * publish to gibhun-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * Fix failing tests in dev excpet record a vaccine and added enough wait timers * Added more wait timers * Implement new workflow file * debug workflow file * debug workflow file * debug workflow file --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#31) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#32) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Changed browser to be edge * Updated scan secrets yml * Updated scan secrets yml and removed timeout as it is not needed * Added logging for shared_data when recording a vaccine * Added logging for shared_data when recording a vaccine * Fixed feature file --------- Co-authored-by: root * Update pytest.ini * Update test_find_a_patient_steps.py * Added intial test for creating reports feature * Update pytest.ini * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Ravs 1094 automate reports feature (#33) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests --------- Co-authored-by: root * Update test_add_vaccine_batches_steps.py * Added 2 new tests to reports * Fixed add batches tests * Ravs 1094 automate reports feature (#34) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests --------- Co-authored-by: root * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#30) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.3 to 3.0.6. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.3...3.0.6) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 3 to 4 (#29) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump nhs-england-tools/notify-msteams-action from 0.0.4 to 1.0.0 (#27) Bumps [nhs-england-tools/notify-msteams-action](https://github.com/nhs-england-tools/notify-msteams-action) from 0.0.4 to 1.0.0. - [Release notes](https://github.com/nhs-england-tools/notify-msteams-action/releases) - [Changelog](https://github.com/nhs-england-tools/notify-msteams-action/blob/main/.releaserc) - [Commits](https://github.com/nhs-england-tools/notify-msteams-action/compare/v0.0.4...v1.0.0) --- updated-dependencies: - dependency-name: nhs-england-tools/notify-msteams-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Ravs 1094 automate reports feature (#35) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file --------- Co-authored-by: root * Removed install of tox * Removed install of tox * Ravs 1094 automate reports feature (#36) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox --------- Co-authored-by: root * Making more space on disk * Ravs 1094 automate reports feature (#37) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Ravs 1094 automate reports feature (#38) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Ravs 1094 automate reports feature (#39) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input --------- Co-authored-by: root * Added new tests for reports * Added new tests for reports * Fixed failing tests * Ravs 1094 automate reports feature (#42) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Added new tests for reports * Added new tests for reports * Fixed failing tests --------- Co-authored-by: root * Bump actions/setup-python from 4 to 5 (#41) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/cache from 3 to 4 (#40) Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Increased timeout for scan secrets from 2 to 10 * Added fingerprint to git leaks ignore * Increased timeout * Reset timeout to 10 * Added 4 new tests * Fixed failing reports tests * Added new tests * Ravs 1094 automate reports feature (#43) * Publishing to github pages * Publishing to github pages * Publishing to github pages * Publishing to github pages * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Github actions configured for RAVS QA and RAVS dev * Github actions configured for RAVS QA and RAVS dev and QA has cron job scheduled * ChinmayCorrections * screenshot helper change * Fix screenshots] * Fix issue with headless mode * Set geo location * Set geo location * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages * Reset marker * Update publish to github pages * Update publish to github pages * Fix failing find a patient test * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Bump setuptools in /scripts/docker/examples/python/assets/hello_world Bumps [setuptools](https://github.com/pypa/setuptools) from 65.5.1 to 70.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v65.5.1...v70.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Test steps updated with legal mechanism, vaccination site and updated check and confirm screen * Fix indenttation in conftest.py * Update tests_qa.yml * Fix dev workflow file * Update tests_dev.yml * Add assertions for check and confirm screen * Add assertions for check and confirm screen * Output test environment detail to screenshot title * Fix record a vaccine flow test * Update dev workflow file to run tests for every push * Fix date format and failing tests when legal mechanism is PGD, automatic vaccinator and consent clinician selection * Fix date format * Fixed issue with date of birth format * Fixed issue with date of birth format * Fix failing find a patient by NHS number test * Fix failing test because of PGD * Fix failing test because of PGD * Fix trailing white space issue in pipeline checks * Updated batch expiry date to make the date format is standardized * Ravs 305 legal mechanism change (#13) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step --------- Co-authored-by: root * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * Replace PDS search numbers * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Find a patient (#15) * update find a patient tests * add happy path demographics tests * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * add remaining demo tests * Replace PDS search numbers * add start of local tests * add create patient scenario * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * re-add test for find a patient page * re-add test for find a patient page * update find a patient tests * add happy path demographics tests * add remaining demo tests * add start of local tests * add create patient scenario * re-add test for find a patient page * re-add test for find a patient page * re-add explicit scenario for find a patient * fix rebase errors * fix rebase errors * re-add explicit scenarios * restore old tests * indentation fix * indentation fix * indentation fix * update find a patient page * update requirements.txt * update requirements.txt * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to utf-8 * update requirements.txt to utf-8 with trailing crlf * update requirements.txt add faker --------- Signed-off-by: dependabot[bot] Co-authored-by: Colin Piper Co-authored-by: neelimaguntupalli1-nhs Co-authored-by: root Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> * Adding tests for age based warnings * Adding tests for age based warnings on vacinate screen too * Fix file formatting job failure * Fix failing record a vaccine tests qa (#24) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests --------- Co-authored-by: root * Add vaccine and batch (#25) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests * update the add vaccine and add batch * added scenario for existing product to check batch availability * fix launch page tests for add vaccines and add batches * fix add vaccine tests * fix add batch tests * file format fixes * file format fixes * change secret scan to staged changes * update tests to cover saved record and delete, and update existing record a vaccine tests to use new flow * refactor the vaccine site type batch logic to make it simpler * refactor the vaccine site type batch logic to make it simpler * fix formatting * fix formatting * confirm add batch and add vaccine tests working locally * revert RAV tests to remove cookie check * updated flu vaccine names --------- Co-authored-by: root Co-authored-by: Colin Piper * Update tests_dev.yml Disable test run for tomorrow * Update tests_qa.yml Disable test run for tomorrow * Retest cron job - tests_dev.yml * Reset cron jobs - tests_qa.yml * Fix failing find a patient tests (#26) * Fix failing find a patient tests * Removed scoop from requirements.txt to fix scan secrets issue * added requirements.txt to gitleaks ignore list * Updated path of requirements.txt file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Fix failing tests main * Test publish to 2 urls * Disabled automated tests for wednesday * Fixed failing age based warning tests and moved to locators instead of selectors for choose vaccine page * Fixed all failing find a patient tests and changed all elements to be playwright locators instead of selenium selectors --------- Co-authored-by: root * Fix failing logout tests (#28) * Fixed failing logout test and made common methods to click to avoid code duplication * Fix git hooks errors with formatting * Fix failing tests following last commit * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to allure reports and fixed failing login tests * Fix issue with inconsistent test failures when running headless * Hopefully nailed all intermittent failures * Fixed all issues except recording a vaccine and improved wait times * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Fixed attach screenshot issue * May have solved the image attachment issue * Make github pages url dynamic * Try attach screenshots again * Corrected upload artifact version * Fixed issue with yml * Fix dynamic branch url naming issue * Reset git leaks actions from last colin's change * Only run logout test for quick feedback * Upload screenshots as artifacts again * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * publish to gibhun-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * Fix failing tests in dev excpet record a vaccine and added enough wait timers * Added more wait timers * Implement new workflow file * debug workflow file * debug workflow file * debug workflow file --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#31) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#32) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Changed browser to be edge * Updated scan secrets yml * Updated scan secrets yml and removed timeout as it is not needed * Added logging for shared_data when recording a vaccine * Added logging for shared_data when recording a vaccine * Fixed feature file --------- Co-authored-by: root * Update pytest.ini * Update test_find_a_patient_steps.py * Added intial test for creating reports feature * Update pytest.ini * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Ravs 1094 automate reports feature (#33) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests --------- Co-authored-by: root * Update test_add_vaccine_batches_steps.py * Added 2 new tests to reports * Fixed add batches tests * Ravs 1094 automate reports feature (#34) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests --------- Co-authored-by: root * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#30) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.3 to 3.0.6. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.3...3.0.6) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 3 to 4 (#29) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump nhs-england-tools/notify-msteams-action from 0.0.4 to 1.0.0 (#27) Bumps [nhs-england-tools/notify-msteams-action](https://github.com/nhs-england-tools/notify-msteams-action) from 0.0.4 to 1.0.0. - [Release notes](https://github.com/nhs-england-tools/notify-msteams-action/releases) - [Changelog](https://github.com/nhs-england-tools/notify-msteams-action/blob/main/.releaserc) - [Commits](https://github.com/nhs-england-tools/notify-msteams-action/compare/v0.0.4...v1.0.0) --- updated-dependencies: - dependency-name: nhs-england-tools/notify-msteams-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Ravs 1094 automate reports feature (#35) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file --------- Co-authored-by: root * Removed install of tox * Removed install of tox * Ravs 1094 automate reports feature (#36) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox --------- Co-authored-by: root * Making more space on disk * Ravs 1094 automate reports feature (#37) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Ravs 1094 automate reports feature (#38) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Ravs 1094 automate reports feature (#39) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input --------- Co-authored-by: root * Added new tests for reports * Added new tests for reports * Fixed failing tests * Ravs 1094 automate reports feature (#42) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Added new tests for reports * Added new tests for reports * Fixed failing tests --------- Co-authored-by: root * Bump actions/setup-python from 4 to 5 (#41) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/cache from 3 to 4 (#40) Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Increased timeout for scan secrets from 2 to 10 * Added fingerprint to git leaks ignore * Increased timeout * Reset timeout to 10 * Added 4 new tests * Fixed failing reports tests * Added new tests --------- Signed-off-by: dependabot[bot] Co-authored-by: root Co-authored-by: chinmay.mudholkar1@nhs.net Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> Co-authored-by: colinpiper3 Co-authored-by: Colin Piper * Added new tests * Added new tests * Added new tests * Fixedd failing tests and checking report file is downloaded tests are added * Fixed failing download reports tests * Validating report headers * Validating report headers * Validating report headers and checking if columns are not empty * Validating report headers and checking if columns are not empty * Arexy vaccine has been decommissioned so removed that test from the test suite * Ravs 1094 automate reports feature (#44) * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Publishing to github * Github actions configured for RAVS QA and RAVS dev * Github actions configured for RAVS QA and RAVS dev and QA has cron job scheduled * ChinmayCorrections * screenshot helper change * Fix screenshots] * Fix issue with headless mode * Set geo location * Set geo location * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages * Reset marker * Update publish to github pages * Update publish to github pages * Fix failing find a patient test * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Bump setuptools in /scripts/docker/examples/python/assets/hello_world Bumps [setuptools](https://github.com/pypa/setuptools) from 65.5.1 to 70.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v65.5.1...v70.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Test steps updated with legal mechanism, vaccination site and updated check and confirm screen * Fix indenttation in conftest.py * Update tests_qa.yml * Fix dev workflow file * Update tests_dev.yml * Add assertions for check and confirm screen * Add assertions for check and confirm screen * Output test environment detail to screenshot title * Fix record a vaccine flow test * Update dev workflow file to run tests for every push * Fix date format and failing tests when legal mechanism is PGD, automatic vaccinator and consent clinician selection * Fix date format * Fixed issue with date of birth format * Fixed issue with date of birth format * Fix failing find a patient by NHS number test * Fix failing test because of PGD * Fix failing test because of PGD * Fix trailing white space issue in pipeline checks * Updated batch expiry date to make the date format is standardized * Ravs 305 legal mechanism change (#13) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step --------- Co-authored-by: root * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * Replace PDS search numbers * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Find a patient (#15) * update find a patient tests * add happy path demographics tests * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * add remaining demo tests * Replace PDS search numbers * add start of local tests * add create patient scenario * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * re-add test for find a patient page * re-add test for find a patient page * update find a patient tests * add happy path demographics tests * add remaining demo tests * add start of local tests * add create patient scenario * re-add test for find a patient page * re-add test for find a patient page * re-add explicit scenario for find a patient * fix rebase errors * fix rebase errors * re-add explicit scenarios * restore old tests * indentation fix * indentation fix * indentation fix * update find a patient page * update requirements.txt * update requirements.txt * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to utf-8 * update requirements.txt to utf-8 with trailing crlf * update requirements.txt add faker --------- Signed-off-by: dependabot[bot] Co-authored-by: Colin Piper Co-authored-by: neelimaguntupalli1-nhs Co-authored-by: root Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> * Adding tests for age based warnings * Adding tests for age based warnings on vacinate screen too * Fix file formatting job failure * Fix failing record a vaccine tests qa (#24) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests --------- Co-authored-by: root * Add vaccine and batch (#25) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests * update the add vaccine and add batch * added scenario for existing product to check batch availability * fix launch page tests for add vaccines and add batches * fix add vaccine tests * fix add batch tests * file format fixes * file format fixes * change secret scan to staged changes * update tests to cover saved record and delete, and update existing record a vaccine tests to use new flow * refactor the vaccine site type batch logic to make it simpler * refactor the vaccine site type batch logic to make it simpler * fix formatting * fix formatting * confirm add batch and add vaccine tests working locally * revert RAV tests to remove cookie check * updated flu vaccine names --------- Co-authored-by: root Co-authored-by: Colin Piper * Update tests_dev.yml Disable test run for tomorrow * Update tests_qa.yml Disable test run for tomorrow * Retest cron job - tests_dev.yml * Reset cron jobs - tests_qa.yml * Fix failing find a patient tests (#26) * Fix failing find a patient tests * Removed scoop from requirements.txt to fix scan secrets issue * added requirements.txt to gitleaks ignore list * Updated path of requirements.txt file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Fix failing tests main * Test publish to 2 urls * Disabled automated tests for wednesday * Fixed failing age based warning tests and moved to locators instead of selectors for choose vaccine page * Fixed all failing find a patient tests and changed all elements to be playwright locators instead of selenium selectors --------- Co-authored-by: root * Fix failing logout tests (#28) * Fixed failing logout test and made common methods to click to avoid code duplication * Fix git hooks errors with formatting * Fix failing tests following last commit * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to allure reports and fixed failing login tests * Fix issue with inconsistent test failures when running headless * Hopefully nailed all intermittent failures * Fixed all issues except recording a vaccine and improved wait times * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Fixed attach screenshot issue * May have solved the image attachment issue * Make github pages url dynamic * Try attach screenshots again * Corrected upload artifact version * Fixed issue with yml * Fix dynamic branch url naming issue * Reset git leaks actions from last colin's change * Only run logout test for quick feedback * Upload screenshots as artifacts again * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * publish to gibhun-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * Fix failing tests in dev excpet record a vaccine and added enough wait timers * Added more wait timers * Implement new workflow file * debug workflow file * debug workflow file * debug workflow file --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#31) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#32) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Changed browser to be edge * Updated scan secrets yml * Updated scan secrets yml and removed timeout as it is not needed * Added logging for shared_data when recording a vaccine * Added logging for shared_data when recording a vaccine * Fixed feature file --------- Co-authored-by: root * Update pytest.ini * Update test_find_a_patient_steps.py * Added intial test for creating reports feature * Update pytest.ini * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Ravs 1094 automate reports feature (#33) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests --------- Co-authored-by: root * Update test_add_vaccine_batches_steps.py * Added 2 new tests to reports * Fixed add batches tests * Ravs 1094 automate reports feature (#34) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests --------- Co-authored-by: root * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#30) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.3 to 3.0.6. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.3...3.0.6) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 3 to 4 (#29) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump nhs-england-tools/notify-msteams-action from 0.0.4 to 1.0.0 (#27) Bumps [nhs-england-tools/notify-msteams-action](https://github.com/nhs-england-tools/notify-msteams-action) from 0.0.4 to 1.0.0. - [Release notes](https://github.com/nhs-england-tools/notify-msteams-action/releases) - [Changelog](https://github.com/nhs-england-tools/notify-msteams-action/blob/main/.releaserc) - [Commits](https://github.com/nhs-england-tools/notify-msteams-action/compare/v0.0.4...v1.0.0) --- updated-dependencies: - dependency-name: nhs-england-tools/notify-msteams-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Ravs 1094 automate reports feature (#35) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file --------- Co-authored-by: root * Removed install of tox * Removed install of tox * Ravs 1094 automate reports feature (#36) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox --------- Co-authored-by: root * Making more space on disk * Ravs 1094 automate reports feature (#37) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Ravs 1094 automate reports feature (#38) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Ravs 1094 automate reports feature (#39) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input --------- Co-authored-by: root * Added new tests for reports * Added new tests for reports * Fixed failing tests * Ravs 1094 automate reports feature (#42) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Added new tests for reports * Added new tests for reports * Fixed failing tests --------- Co-authored-by: root * Bump actions/setup-python from 4 to 5 (#41) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/cache from 3 to 4 (#40) Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Increased timeout for scan secrets from 2 to 10 * Added fingerprint to git leaks ignore * Increased timeout * Reset timeout to 10 * Added 4 new tests * Fixed failing reports tests * Added new tests * Added new tests * Added new tests * Added new tests * Fixedd failing tests and checking report file is downloaded tests are added * Fixed failing download reports tests * Validating report headers * Validating report headers * Validating report headers and checking if columns are not empty * Validating report headers and checking if columns are not empty * Arexy vaccine has been decommissioned so removed that test from the test suite --------- Signed-off-by: dependabot[bot] Co-authored-by: root Co-authored-by: chinmay.mudholkar1@nhs.net Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> Co-authored-by: colinpiper3 Co-authored-by: Colin Piper * Update reports_data_selection_page.py * Increased timeout miutes * Update reports_data_selection_page.py * Deleted duplicate steps * Fix failing report test for no vaccination * Fix failing report test for no vaccination * Updated Id for NHS number inout * Added more assertions to reports * Changed Ids following Steve's pds changes * Increased timeout for githooks * Ravs 1094 automate reports feature (#45) * screenshot helper change * Fix screenshots] * Fix issue with headless mode * Set geo location * Set geo location * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages * Reset marker * Update publish to github pages * Update publish to github pages * Fix failing find a patient test * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Bump setuptools in /scripts/docker/examples/python/assets/hello_world Bumps [setuptools](https://github.com/pypa/setuptools) from 65.5.1 to 70.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v65.5.1...v70.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Test steps updated with legal mechanism, vaccination site and updated check and confirm screen * Fix indenttation in conftest.py * Update tests_qa.yml * Fix dev workflow file * Update tests_dev.yml * Add assertions for check and confirm screen * Add assertions for check and confirm screen * Output test environment detail to screenshot title * Fix record a vaccine flow test * Update dev workflow file to run tests for every push * Fix date format and failing tests when legal mechanism is PGD, automatic vaccinator and consent clinician selection * Fix date format * Fixed issue with date of birth format * Fixed issue with date of birth format * Fix failing find a patient by NHS number test * Fix failing test because of PGD * Fix failing test because of PGD * Fix trailing white space issue in pipeline checks * Updated batch expiry date to make the date format is standardized * Ravs 305 legal mechanism change (#13) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step --------- Co-authored-by: root * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * Replace PDS search numbers * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Find a patient (#15) * update find a patient tests * add happy path demographics tests * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * add remaining demo tests * Replace PDS search numbers * add start of local tests * add create patient scenario * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * re-add test for find a patient page * re-add test for find a patient page * update find a patient tests * add happy path demographics tests * add remaining demo tests * add start of local tests * add create patient scenario * re-add test for find a patient page * re-add test for find a patient page * re-add explicit scenario for find a patient * fix rebase errors * fix rebase errors * re-add explicit scenarios * restore old tests * indentation fix * indentation fix * indentation fix * update find a patient page * update requirements.txt * update requirements.txt * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to utf-8 * update requirements.txt to utf-8 with trailing crlf * update requirements.txt add faker --------- Signed-off-by: dependabot[bot] Co-authored-by: Colin Piper Co-authored-by: neelimaguntupalli1-nhs Co-authored-by: root Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> * Adding tests for age based warnings * Adding tests for age based warnings on vacinate screen too * Fix file formatting job failure * Fix failing record a vaccine tests qa (#24) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests --------- Co-authored-by: root * Add vaccine and batch (#25) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests * update the add vaccine and add batch * added scenario for existing product to check batch availability * fix launch page tests for add vaccines and add batches * fix add vaccine tests * fix add batch tests * file format fixes * file format fixes * change secret scan to staged changes * update tests to cover saved record and delete, and update existing record a vaccine tests to use new flow * refactor the vaccine site type batch logic to make it simpler * refactor the vaccine site type batch logic to make it simpler * fix formatting * fix formatting * confirm add batch and add vaccine tests working locally * revert RAV tests to remove cookie check * updated flu vaccine names --------- Co-authored-by: root Co-authored-by: Colin Piper * Update tests_dev.yml Disable test run for tomorrow * Update tests_qa.yml Disable test run for tomorrow * Retest cron job - tests_dev.yml * Reset cron jobs - tests_qa.yml * Fix failing find a patient tests (#26) * Fix failing find a patient tests * Removed scoop from requirements.txt to fix scan secrets issue * added requirements.txt to gitleaks ignore list * Updated path of requirements.txt file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Fix failing tests main * Test publish to 2 urls * Disabled automated tests for wednesday * Fixed failing age based warning tests and moved to locators instead of selectors for choose vaccine page * Fixed all failing find a patient tests and changed all elements to be playwright locators instead of selenium selectors --------- Co-authored-by: root * Fix failing logout tests (#28) * Fixed failing logout test and made common methods to click to avoid code duplication * Fix git hooks errors with formatting * Fix failing tests following last commit * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to allure reports and fixed failing login tests * Fix issue with inconsistent test failures when running headless * Hopefully nailed all intermittent failures * Fixed all issues except recording a vaccine and improved wait times * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Fixed attach screenshot issue * May have solved the image attachment issue * Make github pages url dynamic * Try attach screenshots again * Corrected upload artifact version * Fixed issue with yml * Fix dynamic branch url naming issue * Reset git leaks actions from last colin's change * Only run logout test for quick feedback * Upload screenshots as artifacts again * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * publish to gibhun-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * Fix failing tests in dev excpet record a vaccine and added enough wait timers * Added more wait timers * Implement new workflow file * debug workflow file * debug workflow file * debug workflow file --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#31) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#32) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Changed browser to be edge * Updated scan secrets yml * Updated scan secrets yml and removed timeout as it is not needed * Added logging for shared_data when recording a vaccine * Added logging for shared_data when recording a vaccine * Fixed feature file --------- Co-authored-by: root * Update pytest.ini * Update test_find_a_patient_steps.py * Added intial test for creating reports feature * Update pytest.ini * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Ravs 1094 automate reports feature (#33) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests --------- Co-authored-by: root * Update test_add_vaccine_batches_steps.py * Added 2 new tests to reports * Fixed add batches tests * Ravs 1094 automate reports feature (#34) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests --------- Co-authored-by: root * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#30) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.3 to 3.0.6. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.3...3.0.6) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 3 to 4 (#29) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump nhs-england-tools/notify-msteams-action from 0.0.4 to 1.0.0 (#27) Bumps [nhs-england-tools/notify-msteams-action](https://github.com/nhs-england-tools/notify-msteams-action) from 0.0.4 to 1.0.0. - [Release notes](https://github.com/nhs-england-tools/notify-msteams-action/releases) - [Changelog](https://github.com/nhs-england-tools/notify-msteams-action/blob/main/.releaserc) - [Commits](https://github.com/nhs-england-tools/notify-msteams-action/compare/v0.0.4...v1.0.0) --- updated-dependencies: - dependency-name: nhs-england-tools/notify-msteams-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Ravs 1094 automate reports feature (#35) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file --------- Co-authored-by: root * Removed install of tox * Removed install of tox * Ravs 1094 automate reports feature (#36) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox --------- Co-authored-by: root * Making more space on disk * Ravs 1094 automate reports feature (#37) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Ravs 1094 automate reports feature (#38) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Ravs 1094 automate reports feature (#39) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input --------- Co-authored-by: root * Added new tests for reports * Added new tests for reports * Fixed failing tests * Ravs 1094 automate reports feature (#42) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Added new tests for reports * Added new tests for reports * Fixed failing tests --------- Co-authored-by: root * Bump actions/setup-python from 4 to 5 (#41) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/cache from 3 to 4 (#40) Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Increased timeout for scan secrets from 2 to 10 * Added fingerprint to git leaks ignore * Increased timeout * Reset timeout to 10 * Added 4 new tests * Fixed failing reports tests * Added new tests * Added new tests * Added new tests * Added new tests * Fixedd failing tests and checking report file is downloaded tests are added * Fixed failing download reports tests * Validating report headers * Validating report headers * Validating report headers and checking if columns are not empty * Validating report headers and checking if columns are not empty * Arexy vaccine has been decommissioned so removed that test from the test suite * Increased timeout miutes * Deleted duplicate steps * Fix failing report test for no vaccination * Fix failing report test for no vaccination * Updated Id for NHS number inout * Added more assertions to reports * Changed Ids following Steve's pds changes * Increased timeout for githooks --------- Signed-off-by: dependabot[bot] Co-authored-by: root Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> Co-authored-by: colinpiper3 Co-authored-by: Colin Piper * Fixed failing tests and added 2 new test cases for live issue * Generate pytest report html * Undid commit that generates report.html * git ignored report.html * Fix failing local search tests * Increases timeouts * Added screenshot after checking vaccination history label * Ravs 1094 automate reports feature (#46) * Fix issue with attaching screenshots * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix issue with attaching screenshots - Added sleep before zipping * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - move all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages - copy all files * Fix github pages * Reset marker * Update publish to github pages * Update publish to github pages * Fix failing find a patient test * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Fix test report publish issue * Bump setuptools in /scripts/docker/examples/python/assets/hello_world Bumps [setuptools](https://github.com/pypa/setuptools) from 65.5.1 to 70.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v65.5.1...v70.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Test steps updated with legal mechanism, vaccination site and updated check and confirm screen * Fix indenttation in conftest.py * Update tests_qa.yml * Fix dev workflow file * Update tests_dev.yml * Add assertions for check and confirm screen * Add assertions for check and confirm screen * Output test environment detail to screenshot title * Fix record a vaccine flow test * Update dev workflow file to run tests for every push * Fix date format and failing tests when legal mechanism is PGD, automatic vaccinator and consent clinician selection * Fix date format * Fixed issue with date of birth format * Fixed issue with date of birth format * Fix failing find a patient by NHS number test * Fix failing test because of PGD * Fix failing test because of PGD * Fix trailing white space issue in pipeline checks * Updated batch expiry date to make the date format is standardized * Ravs 305 legal mechanism change (#13) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step --------- Co-authored-by: root * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * Replace PDS search numbers * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Find a patient (#15) * update find a patient tests * add happy path demographics tests * Ravs 305 legal mechanism change (#14) * Added slack wbhook url support * Fix prod error in docker find step * Fix proc error in docker find step * Fix proc error in docker find step * Fix failing find a patient search * Fix test failures with improved checks * Fix test failures with improved checks * Timeout error print and not fail the test * Fix liniting error --------- Co-authored-by: root * Update tests_dev.yml Start cron job at 7.30 after QA tests run * Fix failing tests * add remaining demo tests * Replace PDS search numbers * add start of local tests * add create patient scenario * Bump actions/github-script from 6 to 7 (#9) Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * --- (#8) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 in /scripts/docker/examples/python/assets/hello_world (#7) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 2 to 4 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net in /docs/adr/assets/ADR-003/examples/golang (#1) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 2 to 4 (#3) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#4) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#5) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix failing tests * Update action.yaml * Update action.yaml * Bump actions/checkout from 2 to 4 (#18) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#6) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: neelimaguntupalli1-nhs * Bump actions/upload-artifact from 2 to 4 (#19) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/download-artifact from 2 to 4 (#20) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/setup-buildx-action from 1 to 3 (#21) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peaceiris/actions-gh-pages from 3 to 4 (#22) Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * re-add test for find a patient page * re-add test for find a patient page * update find a patient tests * add happy path demographics tests * add remaining demo tests * add start of local tests * add create patient scenario * re-add test for find a patient page * re-add test for find a patient page * re-add explicit scenario for find a patient * fix rebase errors * fix rebase errors * re-add explicit scenarios * restore old tests * indentation fix * indentation fix * indentation fix * update find a patient page * update requirements.txt * update requirements.txt * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to add faker * update requirements.txt to utf-8 * update requirements.txt to utf-8 with trailing crlf * update requirements.txt add faker --------- Signed-off-by: dependabot[bot] Co-authored-by: Colin Piper Co-authored-by: neelimaguntupalli1-nhs Co-authored-by: root Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> * Adding tests for age based warnings * Adding tests for age based warnings on vacinate screen too * Fix file formatting job failure * Fix failing record a vaccine tests qa (#24) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests --------- Co-authored-by: root * Add vaccine and batch (#25) * Removed your-location page and added support for RSV and pertussis * Removed your-location page and added support for RSV and pertussis fixed recording vaccine tests * update the add vaccine and add batch * added scenario for existing product to check batch availability * fix launch page tests for add vaccines and add batches * fix add vaccine tests * fix add batch tests * file format fixes * file format fixes * change secret scan to staged changes * update tests to cover saved record and delete, and update existing record a vaccine tests to use new flow * refactor the vaccine site type batch logic to make it simpler * refactor the vaccine site type batch logic to make it simpler * fix formatting * fix formatting * confirm add batch and add vaccine tests working locally * revert RAV tests to remove cookie check * updated flu vaccine names --------- Co-authored-by: root Co-authored-by: Colin Piper * Update tests_dev.yml Disable test run for tomorrow * Update tests_qa.yml Disable test run for tomorrow * Retest cron job - tests_dev.yml * Reset cron jobs - tests_qa.yml * Fix failing find a patient tests (#26) * Fix failing find a patient tests * Removed scoop from requirements.txt to fix scan secrets issue * added requirements.txt to gitleaks ignore list * Updated path of requirements.txt file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Added fingerprint to gitleaksignore file * Fix failing tests main * Test publish to 2 urls * Disabled automated tests for wednesday * Fixed failing age based warning tests and moved to locators instead of selectors for choose vaccine page * Fixed all failing find a patient tests and changed all elements to be playwright locators instead of selenium selectors --------- Co-authored-by: root * Fix failing logout tests (#28) * Fixed failing logout test and made common methods to click to avoid code duplication * Fix git hooks errors with formatting * Fix failing tests following last commit * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to alure report * Fix issue with attaching screenshots to allure reports and fixed failing login tests * Fix issue with inconsistent test failures when running headless * Hopefully nailed all intermittent failures * Fixed all issues except recording a vaccine and improved wait times * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Try publishing data to github * Fixed attach screenshot issue * May have solved the image attachment issue * Make github pages url dynamic * Try attach screenshots again * Corrected upload artifact version * Fixed issue with yml * Fix dynamic branch url naming issue * Reset git leaks actions from last colin's change * Only run logout test for quick feedback * Upload screenshots as artifacts again * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Try different version of git actions * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * Correct screenshot path * publish to gibhun-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * made new branch for publishing to github-pages-dev * Fix failing tests in dev excpet record a vaccine and added enough wait timers * Added more wait timers * Implement new workflow file * debug workflow file * debug workflow file * debug workflow file --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#31) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully --------- Co-authored-by: root * Ravs 961 update record a vaccine tests (#32) * Fixed failing add existing batch test * Fixed fa * Fixed assessment page fields * Fixed consent page fields and site vaccine, batch fields * Fixed vaccinated page field, giving a first stan now to see if all tests pass * Fixed failing age based warning tests * Sorted record a vaccine tests hopefully * Sorted record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Sorted most of record a vaccine tests hopefully * Changed browser to be edge * Updated scan secrets yml * Updated scan secrets yml and removed timeout as it is not needed * Added logging for shared_data when recording a vaccine * Added logging for shared_data when recording a vaccine * Fixed feature file --------- Co-authored-by: root * Update pytest.ini * Update test_find_a_patient_steps.py * Added intial test for creating reports feature * Update pytest.ini * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Ravs 1094 automate reports feature (#33) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests --------- Co-authored-by: root * Update test_add_vaccine_batches_steps.py * Added 2 new tests to reports * Fixed add batches tests * Ravs 1094 automate reports feature (#34) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests --------- Co-authored-by: root * Bump werkzeug in /scripts/docker/examples/python/assets/hello_world (#30) Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.3 to 3.0.6. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/3.0.3...3.0.6) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 3 to 4 (#29) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump nhs-england-tools/notify-msteams-action from 0.0.4 to 1.0.0 (#27) Bumps [nhs-england-tools/notify-msteams-action](https://github.com/nhs-england-tools/notify-msteams-action) from 0.0.4 to 1.0.0. - [Release notes](https://github.com/nhs-england-tools/notify-msteams-action/releases) - [Changelog](https://github.com/nhs-england-tools/notify-msteams-action/blob/main/.releaserc) - [Commits](https://github.com/nhs-england-tools/notify-msteams-action/compare/v0.0.4...v1.0.0) --- updated-dependencies: - dependency-name: nhs-england-tools/notify-msteams-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Ravs 1094 automate reports feature (#35) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file --------- Co-authored-by: root * Removed install of tox * Removed install of tox * Ravs 1094 automate reports feature (#36) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox --------- Co-authored-by: root * Making more space on disk * Ravs 1094 automate reports feature (#37) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Ravs 1094 automate reports feature (#38) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets --------- Co-authored-by: root * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Ravs 1094 automate reports feature (#39) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input --------- Co-authored-by: root * Added new tests for reports * Added new tests for reports * Fixed failing tests * Ravs 1094 automate reports feature (#42) * Added intial test for creating reports feature * Fixed failing test for RSV * Added more tests * Fixed -pl=,'@~ * Fixed failed RSV and pertussis tests * Fixed failed RSV and pertussis tests * Updated duplicate batch error and fixed non reponsive page issues when switching from vaccines to patient search * Get sequential index instead of random index * Fixed failing RSV and pertussis tests by adding new batches tagged as Automation * Fixed failing duplicate batch test following fix of 17456 * Reduced time.sleep to see how tests fare * Reset back time and reduced them slightly * Increaed wait time for logout tests * Increaed wait time for logout tests * Increaed wait time for logout tests * Added 2 new tests to reports * Fixed add batches tests * git attached screenshots for all steps when recording a vaccine and scrolled to the mouse location to click screenshot * fix failing test * fix failing test * Created new workflow file * Removed install of tox * Removed install of tox * Making more space on disk * Fixed app id variable to fetch from secrets * Fixed app id variable to fetch from secrets * Corrected case of RAvs test reports * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Corrected test report generation step * Fixed workflow file * Fixed path of environment properties * check env.properties is generated * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Removed docker * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Remove cached tox * Fixed trigger curl command * Fixed trigger curl command * Added cron jobs and also added cache * Added cron jobs and also added cache * Corrected target repo name * Corrected target repo name * Corrected run_id case * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Corrected github token * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Removed all workflow files and set to run it on push * Tox verbose mode * Tox verbose mode * Tox verbose mode * env is qa * Added support for marker when running manually * set cron job * removed terraform liniting githook * Fixed failing record vaccine tests because of text format change * Fixed failing record vaccine tests because of text format change * Set timezone to ne europe london * Set timezone to be europe london * test markers are not required * workflow set to what is input * Added new tests for reports * Added new tests for reports * Fixed failing tests --------- Co-authored-by: root * Bump actions/setup-python from 4 to 5 (#41) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/cache from 3 to 4 (#40) Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Increased timeout for scan secrets from 2 to 10 * Added fingerprint to git leaks ignore * Increased timeout * Reset timeout to 10 * Added 4 new tests * Fixed failing reports tests * Added new tests * Added new tests * Added new tests * Added new tests * Fixedd failing tests and checking report file is downloaded tests are added * Fixed failing download reports tests * Validating report headers * Validating report headers * Validating report headers and checking if columns are not empty * Validating report headers and checking if columns are not empty * Arexy vaccine has been decommissioned so removed that test from the test suite * Increased timeout miutes * Deleted duplicate steps * Fix failing report test for no vaccination * Fix failing report test for no vaccination * Updated Id for NHS number inout * Added more assertions to reports * Changed Ids following Steve's pds changes * Increased timeout for githooks * Fixed failing tests and added 2 new test cases for live issue * Generate pytest report html * Undid commit that generates report.html * Removed report.html from branch * git ignored report.html * Fix failing local search tests * Increases timeouts * Added screenshot after checking vaccination history label --------- Signed-off-by: dependabot[bot] Co-authored-by: root Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> Co-authored-by: colinpiper3 Co-authored-by: Colin Piper * Fixed failing test in dev for Bobby Tickel * Fixed failing test in QA for Bobby Tickel * Fix failing scan secrets job * Increase timeout for waiting * Increase timeout for waiting * Now all records will be deleted correctly after recording successfully * Finally finished 1094 tests * Fixed failing tests * Fixed failing tests * Deleting unwanted files * Added new user management test * Update conftest.py * Fix issues with githooks * Added more time.sleep before getting vcount of immunisation records * Added more time.sleep before getting count of immunisation records --------- Signed-off-by: dependabot[bot] Co-authored-by: root Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chinmaymudholkar1 <135991922+chinmaymudholkar1@users.noreply.github.com> Co-authored-by: colinpiper3 Co-authored-by: Colin Piper Co-authored-by: chinmay.mudholkar1@nhs.net --- .gitleaksignore | 1 + conftest.py | 13 +- features/reports.feature | 28 ++- features/user_management.feature | 7 + helpers/playwrightHelper.py | 6 + ...heck_and_confirm_vaccinated_record_page.py | 3 + pages/manage_users_home_page.py | 14 ++ pages/patient_details_page.py | 6 +- pages/reports_data_selection_page.py | 24 ++- ...ecord_vaccine_data_all_yes_9470040228.json | 36 ---- ...ecord_vaccine_data_all_yes_9470057589.json | 36 ---- ...ecord_vaccine_data_all_yes_9472710255.json | 37 ---- ...ecord_vaccine_data_all_yes_9693632109.json | 37 ---- ...ata_not_eligible_consented_vaccinated.json | 36 ---- ...ccine_data_not_eligible_not_consented.json | 36 ---- tests/test_logout_steps.py | 1 + tests/test_reports_steps.py | 166 +++++++++++++++--- tests/test_user_management_steps.py | 57 ++++++ 18 files changed, 292 insertions(+), 252 deletions(-) create mode 100644 features/user_management.feature create mode 100644 pages/manage_users_home_page.py delete mode 100644 test_data/record_vaccine_data_all_yes_9470040228.json delete mode 100644 test_data/record_vaccine_data_all_yes_9470057589.json delete mode 100644 test_data/record_vaccine_data_all_yes_9472710255.json delete mode 100644 test_data/record_vaccine_data_all_yes_9693632109.json delete mode 100644 test_data/record_vaccine_data_not_eligible_consented_vaccinated.json delete mode 100644 test_data/record_vaccine_data_not_eligible_not_consented.json create mode 100644 tests/test_user_management_steps.py diff --git a/.gitleaksignore b/.gitleaksignore index baf75d325..758f21c5c 100644 --- a/.gitleaksignore +++ b/.gitleaksignore @@ -6,3 +6,4 @@ bc0e944855d5b2ec35de75c79b6215d56b18ed99:requirements.txt:ipv4:5 648c714b8fd9d6a9bb0102649b1b9a04171dd6b5:requirements.txt:ipv4:5 148da0f8b77440ea672e1fe856056900a9454b2c:requirements.txt:ipv4:5 571ab217807cd146bbb1ac6d55648b6acbe778f4:requirements.txt:ipv4:5 +040cfd7c3e8ab821a7f36c2e28cfbf9df82a2630:requirements.txt:ipv4:5 diff --git a/conftest.py b/conftest.py index 56b5187d0..e05d01d07 100644 --- a/conftest.py +++ b/conftest.py @@ -42,6 +42,7 @@ pytest.mark.addvaccine = pytest.mark.mark(addvaccine=True) pytest.mark.addbatches = pytest.mark.mark(addbatches=True) pytest.mark.reports = pytest.mark.mark(reports=True) +pytest.mark.usermanagement = pytest.mark.mark(usermanagement=True) @pytest.fixture(scope='function', autouse=True) def report_browser_version(request): @@ -486,6 +487,11 @@ def step_search_for_patient(shared_data): nhs_number = shared_data["nhs_number"] click_find_a_patient_and_search_with_nhs_number(nhs_number) +@given(parse("I see the patient's address {address} and gender {gender}")) +def step_save_address_and_gender_to_shared_data(shared_data, address, gender): + shared_data["address"] = address + shared_data["gender"] = gender + @given(parse("I open the patient record by clicking on patient {name}")) @then(parse("I open the patient record by clicking on patient {name}")) def step_search_for_patient(shared_data, name): @@ -497,7 +503,10 @@ def step_search_for_patient(shared_data, name): @when(parse("I click choose vaccine button and choose the {chosen_vaccine}, {batch_number} with {batch_expiry_date} and click continue")) def step_choose_vaccine_and_vaccine_type(shared_data, chosen_vaccine, batch_number, batch_expiry_date): time.sleep(3) - assert check_vaccine_history_not_available_label_element_exists() == False + if shared_data["nhs_number"] != "9727840361": + assert check_vaccine_history_not_available_label_element_exists() == False + else: + assert check_vaccine_history_not_available_label_element_exists() == True attach_screenshot("checked_vaccine_history_not_available_label_element_exists") immunisation_history_records_count_before_vaccination = click_on_patient_search_result_and_click_choose_vaccine(shared_data['patient_name'], chosen_vaccine) shared_data["immunisation_history_records_count_before_vaccination"] = immunisation_history_records_count_before_vaccination @@ -591,6 +600,8 @@ def step_see_patient_details_on_check_and_confirm_screen(shared_data, name, dob, attach_screenshot("check_and_confirm_screen_before_assertion") assert get_patient_name_value() == shared_data["patient_name"] assert get_patient_address_value() == address + shared_data["gender"] = get_patient_gender_value() + shared_data["address"] = address assert get_patient_vaccination_dose_amount_value() == shared_data["dose_amount"] assert get_patient_vaccinated_chosen_vaccine_value() == shared_data["chosen_vaccine"] assert get_patient_vaccinated_chosen_vaccine_product_value() == shared_data["chosen_vaccine_type"] diff --git a/features/reports.feature b/features/reports.feature index 9cc8e742b..33005d17b 100644 --- a/features/reports.feature +++ b/features/reports.feature @@ -183,6 +183,7 @@ Scenario Outline: User can download the report And I login to RAVS and set vaccinator details with and and get patient details for with option and choose to vaccinate with vaccine details as , with And I search for a patient with the NHS number in the find a patient screen And I open the patient record by clicking on patient + And I see the patient's address
and gender When I click choose vaccine button and choose the , with and click continue And I assess the patient's with the details and date as and click continue to record consent screen button And I record with the details and click continue to vaccinate button @@ -201,5 +202,28 @@ Scenario Outline: User can download the report Then the report is downloaded successfully and contains the vaccine record for Examples: - | index | nhs_number | site | care_model | eligibility | assess_date | consent | vaccination | vaccination_date | name | dob | address | chosen_vaccine | batch_number | batch_expiry_date | - | 4 | 9437541817 | KINGSTON HOUSE | Outreach event | yes | today | yes | no | today | FLORINDA DUNNER | 27/3/1957 | 32 HOLLAND ROAD, MANCHESTER, M8 4NP | Flu | AUTOMATION-SJ1 | 19/10/2026 | + | index | nhs_number | site | care_model | eligibility | assess_date | consent | vaccination | vaccination_date | name | dob | address | chosen_vaccine | batch_number | batch_expiry_date | gender | + | 4 | 9437541817 | KINGSTON HOUSE | Outreach event | yes | today | yes | no | today | FLORINDA DUNNER | 27/3/1957 | 32 HOLLAND ROAD, MANCHESTER, M8 4NP | Flu | AUTOMATION-SJ1 | 19/10/2026 | female | + + + Scenario Outline: User should be able to filter vaccine event data before creating a report + Given I am logged into the RAVS app + When I click the reports navigation link + And I click the create report button + And I click the radio button and click Continue + And I select the vaccine type and click continue + And I select the site and click continue + And I select the data to filter and click continue + And I click Confirm and create report button in the check and confirm page + And I click download report button + Then the report is downloaded successfully and it should not contain the data that was selected for filtering + + Examples: + |vaccineType | site | day | data | + | COVID-19 | Albert House | Last 31 days (includes today) | Patients | + | Flu | Albert House | Last 31 days (includes today) | Staff | + | Pertussis | Albert House | Last 7 days (includes today) | Site or delivery team | + | Respiratory syncytial virus (RSV) | Albert House | Last 14 days (includes today) | Assessment and consent | + | COVID-19 | Albert House | Last 31 days (includes today) | Vaccination | + + diff --git a/features/user_management.feature b/features/user_management.feature new file mode 100644 index 000000000..a4663d2c7 --- /dev/null +++ b/features/user_management.feature @@ -0,0 +1,7 @@ +Feature: User Management + +@usermanagement +Scenario: Manage users page is displayed + Given I am logged into the RAVS app + When I click the manage users navigation link + Then the manage users page should be displayed diff --git a/helpers/playwrightHelper.py b/helpers/playwrightHelper.py index dd70b4fff..654912d15 100644 --- a/helpers/playwrightHelper.py +++ b/helpers/playwrightHelper.py @@ -294,6 +294,12 @@ def find_element_and_perform_action(self, locator_or_element, action, inputValue print("Checkbox checked successfully.") elif element.is_checked(): print("Checkbox is already checked.") + elif action.lower() == "uncheck": + if element.is_visible() and element.is_checked(): + element.uncheck() + print("Checkbox un-checked successfully.") + elif not element.is_checked(): + print("Checkbox is already un-checked.") elif action.lower() == "select_option": if element.is_visible(): if isinstance(inputValue, int): diff --git a/pages/check_and_confirm_vaccinated_record_page.py b/pages/check_and_confirm_vaccinated_record_page.py index c1416e181..f21d0fbc9 100644 --- a/pages/check_and_confirm_vaccinated_record_page.py +++ b/pages/check_and_confirm_vaccinated_record_page.py @@ -63,6 +63,9 @@ def click_cancel_confirm_details_button(): def get_patient_name_value(): return find_element_and_perform_action(PATIENT_NAME_LABEL_ELEMENT, "get_text") +def get_patient_gender_value(): + return find_element_and_perform_action(PATIENT_GENDER_LABEL_ELEMENT, "get_text") + def get_patient_dob_value(): return find_element_and_perform_action(PATIENT_DOB_LABEL_ELEMENT, "get_text") diff --git a/pages/manage_users_home_page.py b/pages/manage_users_home_page.py new file mode 100644 index 000000000..f48e40fab --- /dev/null +++ b/pages/manage_users_home_page.py @@ -0,0 +1,14 @@ +from init_helpers import * + +PAGE_LOADING_ELEMENT = ("text", "Loading...Loading...") +ADD_USER_BUTTON = ("role", "button", "Add user") + +def check_add_user_button_exists(): + wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) + wait_for_element_to_appear(ADD_USER_BUTTON) + return check_element_exists(ADD_USER_BUTTON) + +def click_add_user_button(): + wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) + wait_for_element_to_appear(ADD_USER_BUTTON) + find_element_and_perform_action(ADD_USER_BUTTON, "click") diff --git a/pages/patient_details_page.py b/pages/patient_details_page.py index ce8268039..b6a8c88b8 100644 --- a/pages/patient_details_page.py +++ b/pages/patient_details_page.py @@ -28,6 +28,9 @@ VACCINATION_HISTORY_NOT_AVAILABLE = ("role", "heading", "No vaccination history available") def check_vaccine_history_not_available_label_element_exists(): + time.sleep(2) + wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) + time.sleep(3) wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) wait_for_element_to_appear(CHOOSE_VACCINE_BUTTON) return check_element_exists(VACCINATION_HISTORY_NOT_AVAILABLE) @@ -50,6 +53,7 @@ def check_pertussis_history_element_exists(): def get_count_of_immunisation_history_records(chosen_vaccine): count = 0 + time.sleep(3) wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) time.sleep(3) wait_for_element_to_appear(CHOOSE_VACCINE_BUTTON) @@ -139,7 +143,7 @@ def click_delete_history_button(vaccine, index): find_element_and_perform_action(element, "click") def click_delete_history_link(vaccine): - element = (f"//h3[contains(text(), '{vaccine}')]/following-sibling::div//a/span[text()='Delete']") + element = (f"//h2[contains(text(), '{vaccine}')]/following-sibling::div//a/span[text()='Delete']") find_element_and_perform_action(element, "click") def click_edit_history_button(vaccine, index): diff --git a/pages/reports_data_selection_page.py b/pages/reports_data_selection_page.py index 8e47a0a48..0dcc41e7b 100644 --- a/pages/reports_data_selection_page.py +++ b/pages/reports_data_selection_page.py @@ -5,6 +5,12 @@ SELECT_DATA_FOR_REPORT_ERROR_MESSAGE_TEXT = ("text", "Select data for report") CONTINUE_TO_REPORTS_CHECK_AND_CONFIRM_BUTTON = ("role", "button", "Continue") BACK_TO_SELECT_SITE_BUTTON = ("role", "button", "Back") +PATIENTS_CHECKBOX_ELEMENT = ("label", "Patients") +STAFF_CHECKBOX_ELEMENT = ("label", "Staff") +SITE_DELIVERY_TEAM_CHECKBOX_ELEMENT = ("label", "Site or delivery team") +ASSESSMENT_AND_CONSENT_CHECKBOX_ELEMENT = ("label", "Assessment and consent") +VACCINATION_CHECKBOX_ELEMENT = ("label", "Vaccination") + def check_reports_data_check_box_checked(data): wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) @@ -12,18 +18,32 @@ def check_reports_data_check_box_checked(data): wait_for_element_to_appear(element) return check_element_checked(element) +def uncheck_all_data_filters(): + wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) + find_element_and_perform_action(PATIENTS_CHECKBOX_ELEMENT, "uncheck") + find_element_and_perform_action(STAFF_CHECKBOX_ELEMENT, "uncheck") + find_element_and_perform_action(SITE_DELIVERY_TEAM_CHECKBOX_ELEMENT, "uncheck") + find_element_and_perform_action(ASSESSMENT_AND_CONSENT_CHECKBOX_ELEMENT, "uncheck") + find_element_and_perform_action(VACCINATION_CHECKBOX_ELEMENT, "uncheck") + def check_reports_data_check_box_exists(data): wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) element = ("label", data) wait_for_element_to_appear(element) return check_element_exists(element) -def click_reports_data_check_box(data): +def check_reports_data_check_box(data): wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) element = ("label", data) wait_for_element_to_appear(element) find_element_and_perform_action(element, "check") +def uncheck_reports_data_check_box(data): + wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) + element = ("label", data) + wait_for_element_to_appear(element) + find_element_and_perform_action(element, "uncheck") + def check_reports_select_site_error_message_text_exists(): wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) wait_for_element_to_appear(SELECT_DATA_FOR_REPORT_ERROR_MESSAGE_TEXT) @@ -42,7 +62,7 @@ def check_continue_to_reports_check_and_confirm_button_exists(): wait_for_element_to_appear(CONTINUE_TO_REPORTS_CHECK_AND_CONFIRM_BUTTON) return check_element_exists(CONTINUE_TO_REPORTS_CHECK_AND_CONFIRM_BUTTON) -def click_continue_to_reports_select_data_button(): +def click_continue_to_reports_check_and_confirm_button(): wait_for_element_to_disappear(PAGE_LOADING_ELEMENT) wait_for_element_to_appear(CONTINUE_TO_REPORTS_CHECK_AND_CONFIRM_BUTTON) find_element_and_perform_action(CONTINUE_TO_REPORTS_CHECK_AND_CONFIRM_BUTTON, "click") diff --git a/test_data/record_vaccine_data_all_yes_9470040228.json b/test_data/record_vaccine_data_all_yes_9470040228.json deleted file mode 100644 index d39096362..000000000 --- a/test_data/record_vaccine_data_all_yes_9470040228.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "vaccinator_organisation": "NHS ARDEN AND GREATER EAST MIDLANDS COMMISSIONING SUPPORT UNIT", - "vaccinator_site": "NEELIMA HOUSE", - "vaccinator_care_model": "Vaccination Centre", - "nhs_number": "9470040228", - "chosen_vaccine": "COVID-19", - "chosen_vaccine_type": "Comirnaty 30 Omicron XBB.1.5", - "eligible_decision": "Yes", - "eligibility_type": "Residents in care homes", - "eligibility_assessing_clinician": "Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005", - "eligibility_assessment_date": "today", - "eligibility_assessment_outcome": "Give vaccine", - "eligibility_assessment_no_vaccine_given_reason": "Give vaccine", - "assessment_comments": "", - "consent_decision": "Yes", - "consent_given_by": "Patient (informed consent)", - "name_of_person_consenting": "Patient's parent/guardian", - "relationship_to_patient": "Parent", - "consent_clinician_details": "Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005", - "no_consent_reason": "Having elsewhere / Had Vaccination", - "vaccinated_decision": "Yes", - "vaccination_date": "today", - "vaccine_type2": "Comirnaty Original/Omicron BA.4-5", - "vaccination_route": "Left upper arm", - "batch_number": "SDYY2-12", - "batch_number_to_select": "SDYY2-12 - 19/10/2025", - "batch_expiry_date": "19/10/2025", - "dose_amount": "0.3", - "legal_mechanism": "National Protocol (NP)", - "vaccinator": "Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005", - "no_vaccination_reason": "Not appropriate to vaccinate today, patient advised to rebook", - "vaccination_comments": "", - "patient_name": "HERBERT HAAG", - "date_of_birth": "14/12/1922", - "address": "10 COASTAL ROAD, HEST BANK, LANCASTER, LA2 6HN" -} diff --git a/test_data/record_vaccine_data_all_yes_9470057589.json b/test_data/record_vaccine_data_all_yes_9470057589.json deleted file mode 100644 index 3d9027f82..000000000 --- a/test_data/record_vaccine_data_all_yes_9470057589.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "vaccinator_organisation": "NHS ARDEN AND GREATER EAST MIDLANDS COMMISSIONING SUPPORT UNIT", - "vaccinator_site": "NEELIMA HOUSE", - "vaccinator_care_model": "Vaccination Centre", - "nhs_number": "9470057589", - "chosen_vaccine": "COVID-19", - "chosen_vaccine_type": "Comirnaty 30 Omicron XBB.1.5", - "eligible_decision": "Yes", - "eligibility_type": "Staff working in care homes", - "eligibility_assessing_clinician": "Neelima Guntupalli - GPhC (General Pharmaceutical Council), 008008", - "eligibility_assessment_date": "today-1", - "eligibility_assessment_outcome": "Give vaccine", - "eligibility_assessment_no_vaccine_given_reason": "Give vaccine", - "assessment_comments": "Automated vaccine_data_all_yes - Patient is eligible and consented, assessment comments", - "consent_decision": "Yes", - "consent_given_by": "Person with parental responsibility", - "name_of_person_consenting": "Patient's parent/guardian", - "relationship_to_patient": "Parent", - "consent_clinician_details": "Neelima Guntupalli - GPhC (General Pharmaceutical Council), 008008", - "no_consent_reason": "Having elsewhere / Had Vaccination", - "vaccinated_decision": "Yes", - "vaccination_date": "today-1", - "vaccine_type2": "Comirnaty 30 Omicron XBB.1.5", - "vaccination_route": "Left upper arm", - "batch_number": "sb12345-12", - "batch_number_to_select": "sb12345-12 - 19/2/2026", - "batch_expiry_date": "19/2/2026", - "dose_amount": "0.3", - "legal_mechanism": "Patient Group Directions (PGD)", - "vaccinator": "Neelima Guntupalli - GPhC (General Pharmaceutical Council), 008008", - "no_vaccination_reason": "Not appropriate to vaccinate today, patient advised to rebook", - "vaccination_comments": "", - "patient_name": "ROGER SEABORNE", - "date_of_birth": "13/12/1922", - "address": "10 ANN STREET, DALTON-IN-FURNESS, CUMBRIA, LA15 8BG" -} diff --git a/test_data/record_vaccine_data_all_yes_9472710255.json b/test_data/record_vaccine_data_all_yes_9472710255.json deleted file mode 100644 index 96d8d5577..000000000 --- a/test_data/record_vaccine_data_all_yes_9472710255.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "vaccinator_organisation": "NHS ARDEN AND GREATER EAST MIDLANDS COMMISSIONING SUPPORT UNIT", - "vaccinator_site": "NEELIMA HOUSE", - "vaccinator_care_model": "Vaccination Centre", - "nhs_number": "9470057589", - "chosen_vaccine": "COVID-19", - "chosen_vaccine_type": "Spikevax XBB.1.5", - "eligible_decision": "Yes", - "eligibility_type": "Healthcare workers", - "staff_role": "Qualified Nurse / Midwife", - "eligibility_assessing_clinician": "Neelima Guntupalli - GPhC (General Pharmaceutical Council), 008008", - "eligibility_assessment_date": "today-1", - "eligibility_assessment_outcome": "Give vaccine", - "eligibility_assessment_no_vaccine_given_reason": "Give vaccine", - "assessment_comments": "Automated vaccine_data_all_yes - Patient is eligible and consented, assessment comments", - "consent_decision": "Yes", - "consent_given_by": "Person with parental responsibility", - "name_of_person_consenting": "Patient's parent/guardian", - "relationship_to_patient": "Parent", - "consent_clinician_details": "Neelima Guntupalli - GPhC (General Pharmaceutical Council), 008008", - "no_consent_reason": "Having elsewhere / Had Vaccination", - "vaccinated_decision": "Yes", - "vaccination_date": "today-1", - "vaccine_type2": "Spikevax XBB.1.5", - "vaccination_route": "Left upper arm", - "batch_number": "sb12345-12", - "batch_number_to_select": "sb12345-12 - 19/2/2026", - "batch_expiry_date": "19/2/2026", - "dose_amount": "0.3", - "legal_mechanism": "Patient Group Directions (PGD)", - "vaccinator": "Neelima Guntupalli - GPhC (General Pharmaceutical Council), 008008", - "no_vaccination_reason": "Not appropriate to vaccinate today, patient advised to rebook", - "vaccination_comments": "", - "patient_name": "ROGER SEABORNE", - "date_of_birth": "13/12/1922", - "address": "10 ANN STREET, DALTON-IN-FURNESS, CUMBRIA, LA15 8BG" -} diff --git a/test_data/record_vaccine_data_all_yes_9693632109.json b/test_data/record_vaccine_data_all_yes_9693632109.json deleted file mode 100644 index 3c9836634..000000000 --- a/test_data/record_vaccine_data_all_yes_9693632109.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "vaccinator_organisation": "NHS ARDEN AND GREATER EAST MIDLANDS COMMISSIONING SUPPORT UNIT", - "vaccinator_site": "NEELIMA HOUSE", - "vaccinator_care_model": "Vaccination Centre", - "nhs_number": "9693632109", - "chosen_vaccine": "COVID-19", - "chosen_vaccine_type": "Comirnaty 30 Omicron XBB.1.5", - "eligible_decision": "Yes", - "eligibility_type": "Staff working in care homes", - "staff_role": "Qualified Nurse / Midwife", - "eligibility_assessing_clinician": "Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005", - "eligibility_assessment_date": "today", - "eligibility_assessment_outcome": "Give vaccine", - "eligibility_assessment_no_vaccine_given_reason": "Give vaccine", - "assessment_comments": "Automated vaccine_data_all_yes - Patient is eligible and consented, assessment comments", - "consent_decision": "Yes", - "consent_given_by": "Patient (informed consent)", - "name_of_person_consenting": "Patient's parent/guardian", - "relationship_to_patient": "Parent", - "consent_clinician_details": "Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005", - "no_consent_reason": "Having elsewhere / Had Vaccination", - "vaccinated_decision": "Yes", - "vaccination_date": "today", - "vaccine_type2": "Comirnaty Original/Omicron BA.4-5", - "vaccination_route": "Left upper arm", - "batch_number": "SDYY2-12", - "batch_number_to_select": "SDYY2-12 - 19/10/2025", - "batch_expiry_date": "19/10/2025", - "dose_amount": "0.3", - "legal_mechanism": "National Protocol (NP)", - "vaccinator": "Neelima Guntupalli - GPhC (General Pharmaceutical Council), 008008", - "no_vaccination_reason": "Not appropriate to vaccinate today, patient advised to rebook", - "vaccination_comments": "Automated vaccine_data_all_yes - Patient is eligible and consented and vaccinated, vaccination comments", - "patient_name": "Bill GARTON", - "date_of_birth": "23/6/1946", - "address": "1 MOUNT AVENUE, BARTON-UPON-HUMBER, S HUMBERSIDE, DN18 5DW" -} diff --git a/test_data/record_vaccine_data_not_eligible_consented_vaccinated.json b/test_data/record_vaccine_data_not_eligible_consented_vaccinated.json deleted file mode 100644 index 440fe3537..000000000 --- a/test_data/record_vaccine_data_not_eligible_consented_vaccinated.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "vaccinator_organisation": "NHS ARDEN AND GREATER EAST MIDLANDS COMMISSIONING SUPPORT UNIT", - "vaccinator_site": "NEELIMA HOUSE", - "vaccinator_care_model": "Vaccination Centre", - "nhs_number": "9693632109", - "chosen_vaccine": "COVID-19", - "chosen_vaccine_type": "Comirnaty 30 Omicron XBB.1.5", - "eligible_decision": "No", - "eligibility_type": "Staff working in care homes", - "eligibility_assessing_clinician": "Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005", - "eligibility_assessment_date": "today", - "eligibility_assessment_outcome": "Give vaccine", - "eligibility_assessment_no_vaccine_given_reason": "Give vaccine", - "assessment_comments": "Automated vaccine_data_not_eligible_consented_vaccinated - Patient is not eligible and consented, assessment comments", - "consent_decision": "Yes", - "consent_given_by": "Patient (informed consent)", - "name_of_person_consenting": "Patient's parent/guardian", - "relationship_to_patient": "Parent", - "consent_clinician_details": "Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005", - "no_consent_reason": "Having elsewhere / Had Vaccination", - "vaccinated_decision": "Yes", - "vaccination_date": "today", - "vaccine_type2": "Comirnaty Original/Omicron BA.4-5", - "vaccination_route": "Left upper arm", - "batch_number": "SDYY2-12", - "batch_number_to_select": "SDYY2-12 - 19/10/2025", - "batch_expiry_date": "19/10/2025", - "dose_amount": "0.3", - "legal_mechanism": "National Protocol (NP)", - "vaccinator": "Neelima Guntupalli - GPhC (General Pharmaceutical Council), 008008", - "no_vaccination_reason": "Not appropriate to vaccinate today, patient advised to rebook", - "vaccination_comments": "Automated record_vaccine_data_not_eligible_consented_vaccinated - Patient is not eligible and consented and vaccinated, vaccination comments", - "patient_name": "Bill GARTON", - "date_of_birth": "23/6/1946", - "address": "1 MOUNT AVENUE, BARTON-UPON-HUMBER, S HUMBERSIDE, DN18 5DW" -} diff --git a/test_data/record_vaccine_data_not_eligible_not_consented.json b/test_data/record_vaccine_data_not_eligible_not_consented.json deleted file mode 100644 index 8ab39c48b..000000000 --- a/test_data/record_vaccine_data_not_eligible_not_consented.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "vaccinator_organisation": "NHS ARDEN AND GREATER EAST MIDLANDS COMMISSIONING SUPPORT UNIT", - "vaccinator_site": "NEELIMA HOUSE", - "vaccinator_care_model": "Vaccination Centre", - "nhs_number": "9693632109", - "chosen_vaccine": "COVID-19", - "chosen_vaccine_type": "Comirnaty 30 Omicron XBB.1.5", - "eligible_decision": "No", - "eligibility_type": "Staff working in care homes", - "eligibility_assessing_clinician": "Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005", - "eligibility_assessment_date": "today", - "eligibility_assessment_outcome": "Give vaccine", - "eligibility_assessment_no_vaccine_given_reason": "Give vaccine", - "assessment_comments": "Automated vaccine_data_not_eligible_not_consented - Patient is not eligible and consented, assessment comments", - "consent_decision": "No", - "consent_given_by": "Patient (informed consent)", - "name_of_person_consenting": "Patient's parent/guardian", - "relationship_to_patient": "Parent", - "consent_clinician_details": "Frazer Brindley - NMC (Nursing and Midwifery Council), NMC005", - "no_consent_reason": "Having elsewhere / Had Vaccination", - "vaccinated_decision": "No", - "vaccination_date": "today", - "vaccine_type2": "Comirnaty Original/Omicron BA.4-5", - "vaccination_route": "Left upper arm", - "batch_number": "SDYY2-12", - "batch_number_to_select": "SDYY2-12 - 19/10/2025", - "batch_expiry_date": "19/10/2025", - "dose_amount": "0.3", - "legal_mechanism": "National Protocol (NP)", - "vaccinator": "Neelima Guntupalli - GPhC (General Pharmaceutical Council), 008008", - "no_vaccination_reason": "Not appropriate to vaccinate today, patient advised to rebook", - "vaccination_comments": "Automated vaccine_data_not_eligible_not_consented Patient is National eligible and consented and vaccinated, vaccination comments", - "patient_name": "Bill GARTON", - "date_of_birth": "23/6/1946", - "address": "1 MOUNT AVENUE, BARTON-UPON-HUMBER, S HUMBERSIDE, DN18 5DW" -} diff --git a/tests/test_logout_steps.py b/tests/test_logout_steps.py index 855c6bd62..efef4a461 100644 --- a/tests/test_logout_steps.py +++ b/tests/test_logout_steps.py @@ -27,6 +27,7 @@ def click_logout(): if config["browser"] == "mobile": if check_navbar_toggle_exists(): click_navbar_toggler() + attach_screenshot("before_clicking_logged_out") click_logout_button() @then('the user should be logged out successfully') diff --git a/tests/test_reports_steps.py b/tests/test_reports_steps.py index e0be2d63d..2e6a33ce9 100644 --- a/tests/test_reports_steps.py +++ b/tests/test_reports_steps.py @@ -23,49 +23,41 @@ scenarios(f'{features_directory}/reports.feature') logger = logging.getLogger() -logger.setLevel(logging.DEBUG) # Or any other level like INFO, WARNING, etc. +logger.setLevel(logging.DEBUG) -# Create a rotating file handler to log to tox.log log_handler = RotatingFileHandler('tox.log', maxBytes=1024*1024, backupCount=3) # Log rotation (optional) log_handler.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')) -# Add the handler to the logger logger.addHandler(log_handler) def validate_report_headers(file_path, expected_headers): try: with open(file_path, mode="r", newline="", encoding="utf-8") as file: reader = csv.reader(file) - headers = next(reader) + actual_headers = next(reader) - # Check headers - if headers == expected_headers: - logger.info("Headers are valid!") - logger.info(headers) - return True, headers - else: - logger.info("Headers are invalid!") - logger.info("Expected Headers:") - logger.info(expected_headers) - logger.info("Found Headers:") - logger.info(headers) + missing_headers = [h for h in expected_headers if h not in actual_headers] + extra_headers = [h for h in actual_headers if h not in expected_headers] - # Find missing or extra headers - missing_headers = [h for h in expected_headers if h not in headers] - extra_headers = [h for h in headers if h not in expected_headers] + is_valid = not missing_headers and not extra_headers + if is_valid: + logger.info("Headers are valid!") + logger.debug(f"Headers: {actual_headers}") + else: + logger.error("Headers are invalid!") + logger.debug(f"Expected Headers: {expected_headers}") + logger.debug(f"Found Headers: {actual_headers}") if missing_headers: - logger.info("Missing Headers:") - logger.info(missing_headers) + logger.error(f"Missing Headers: {missing_headers}") if extra_headers: - logger.info("Extra Headers:") - logger.info(extra_headers) + logger.error(f"Extra Headers: {extra_headers}") - return False, headers + return is_valid, missing_headers, extra_headers except Exception as e: - logger.error(f"An error occurred while validating headers: {e}") - return False, None + logger.exception(f"An error occurred while validating headers: {e}") + return False, [], [] def validate_value_in_header(file_path, header, value): try: @@ -292,7 +284,16 @@ def the_report_is_downloaded_successfully(shared_data): "DateEntered", "UserEnteringData", "VaccinationComments", "AssessingClinician", "VaccinatingClinician", "ConsentingClinician" ] - is_valid, _ = validate_report_headers(shared_data['report_download_path'], expected_headers) + is_valid, missing_headers, extra_headers = validate_report_headers(shared_data['report_download_path'], expected_headers) + + if not is_valid: + error_message = "Report headers are invalid." + if missing_headers: + error_message += f" Missing headers: {missing_headers}." + if extra_headers: + error_message += f" Extra headers: {extra_headers}." + raise ValueError(error_message) + assert is_valid, "Report headers are invalid. See logs for details." @then(parse("the report is downloaded successfully and contains the vaccine record for {nhs_number}")) @@ -310,7 +311,15 @@ def the_report_is_downloaded_successfully(shared_data, nhs_number): "DateEntered", "UserEnteringData", "VaccinationComments", "AssessingClinician", "VaccinatingClinician", "ConsentingClinician" ] - is_valid, _ = validate_report_headers(shared_data['report_download_path'], expected_headers) + is_valid, missing_headers, extra_headers = validate_report_headers(shared_data['report_download_path'], expected_headers) + + if not is_valid: + error_message = "Report headers are invalid." + if missing_headers: + error_message += f" Missing headers: {missing_headers}." + if extra_headers: + error_message += f" Extra headers: {extra_headers}." + raise ValueError(error_message) assert is_valid, "Report headers are invalid. See logs for details." vaccination_date = shared_data.get("vaccination_date") @@ -407,6 +416,14 @@ def the_report_is_downloaded_successfully(shared_data, nhs_number): f"Mismatch in 'PatientName': expected '{shared_data['patient_name']}' but found '{last_row['PatientName']}'." ) + assert last_row["Address"].lower() in shared_data["address"].lower(), ( + f"Mismatch in 'Address': expected '{shared_data['address']}' but found '{last_row['Address']}'." + ) + + assert last_row["Gender"].lower() == shared_data["gender"].lower(), ( + f"Mismatch in 'Gender': expected '{shared_data['gender']}' but found '{last_row['Gender']}'." + ) + assert last_row["AssessmentDate"] == shared_data["eligibility_assessment_date"], ( f"Mismatch in 'AssessmentDate': expected '{shared_data['eligibility_assessment_date']}' but found '{last_row['AssessmentDate']}'." ) @@ -518,7 +535,14 @@ def the_report_is_downloaded_successfully(shared_data): "DateEntered", "UserEnteringData", "VaccinationComments", "AssessingClinician", "VaccinatingClinician", "ConsentingClinician" ] - is_valid, _ = validate_report_headers(shared_data['report_download_path'], expected_headers) + is_valid, missing_headers, extra_headers = validate_report_headers(shared_data['report_download_path'], expected_headers) + if not is_valid: + error_message = "Report headers are invalid." + if missing_headers: + error_message += f" Missing headers: {missing_headers}." + if extra_headers: + error_message += f" Extra headers: {extra_headers}." + raise ValueError(error_message) assert is_valid, "Report headers are invalid. See logs for details." @then("the choose data page should be displayed") @@ -527,3 +551,89 @@ def the_choose_data_page_should_be_displayed(): attach_screenshot("check_choose_data_pages_reports_exists") logging.info("check_choose_data_pages_reports_exists") +@when("I uncheck all filters on the data page") +def i_uncheck_all_data_filters(): + uncheck_all_data_filters() + attach_screenshot("unchecked_all_data_filters") + logging.info("unchecked_all_data_filters") + +@when(parse("I select the data {data} to filter and click continue")) +def select_data_to_filter_and_click_continue(shared_data, data): + uncheck_reports_data_check_box(data) + attach_screenshot("clicked_reports_data_check_box" + data) + logging.info("clicked_reports_data_check_box" + data) + shared_data['data_to_filter'] = data + click_continue_to_reports_check_and_confirm_button() + +@then(parse("the report is downloaded successfully and it should not contain the data that was selected for filtering")) +def the_report_is_downloaded_successfully(shared_data): + report_path = shared_data['report_download_path'] + data_to_filter = shared_data['data_to_filter'] + + # Assert that the report exists + assert os.path.exists(report_path), f"Downloaded file not found: {report_path}" + attach_screenshot("check_report_downloaded") + logger.info(f"check_report_downloaded_to_{report_path}") + + # Define expected headers based on the data to filter + headers_map = { + "Assessment and consent": [ + "NhsNumber", "PatientName", "Gender", "DateOfBirth", "Address", "Postcode", + "SiteName", "SiteODS", "OrganisationName", "OrganisationODS", "CareModel", + # "Vaccinated", "NoVaccinationReason", + "VaccinationDate", "Vaccine", "VaccineProduct", + "DoseAmount", "VaccineRoute", "PrescribingMethod", "BatchNumber", "BatchExpiryDate", + "AuditType", "DateEntered", "UserEnteringData", "VaccinationComments", + "AssessingClinician", "VaccinatingClinician", "ConsentingClinician" + ], + "Patients": [ + "SiteName", "SiteODS", "OrganisationName", "OrganisationODS", "CareModel", + "Vaccinated", "NoVaccinationReason", "AssessmentDate", "Consented", "ConsentType", + "ConsentingPersonName", "ConsentingPersonRelationship", "EligibilityType", "StaffType", + "AssessmentComments", "VaccinationDate", "Vaccine", "VaccineProduct", "DoseAmount", + "VaccineRoute", "PrescribingMethod", "BatchNumber", "BatchExpiryDate", "AuditType", + "DateEntered", "UserEnteringData", "VaccinationComments", "AssessingClinician", + "VaccinatingClinician", "ConsentingClinician" + ], + "Site or delivery team": [ + "NhsNumber", "PatientName", "Gender", "DateOfBirth", "Address", "Postcode", + "Vaccinated", "NoVaccinationReason", "AssessmentDate", "Consented", "ConsentType", + "ConsentingPersonName", "ConsentingPersonRelationship", "EligibilityType", "StaffType", + "AssessmentComments", "VaccinationDate", "Vaccine", "VaccineProduct", "DoseAmount", + "VaccineRoute", "PrescribingMethod", "BatchNumber", "BatchExpiryDate", "AuditType", + "DateEntered", "UserEnteringData", "VaccinationComments", "AssessingClinician", + "VaccinatingClinician", "ConsentingClinician" + ], + "Staff": [ + "NhsNumber", "PatientName", "Gender", "DateOfBirth", "Address", "Postcode", + "SiteName", "SiteODS", "OrganisationName", "OrganisationODS", "CareModel", + "Vaccinated", "NoVaccinationReason", "AssessmentDate", "Consented", "ConsentType", + "ConsentingPersonName", "ConsentingPersonRelationship", "EligibilityType", "StaffType", + "AssessmentComments", "VaccinationDate", "Vaccine", "VaccineProduct", "DoseAmount", + "VaccineRoute", "PrescribingMethod", "BatchNumber", "BatchExpiryDate", "AuditType", + "DateEntered", "UserEnteringData", "VaccinationComments" + ], + "Vaccination": [ + "NhsNumber", "PatientName", "Gender", "DateOfBirth", "Address", "Postcode", + "SiteName", "SiteODS", "OrganisationName", "OrganisationODS", "CareModel", + "Vaccinated", "NoVaccinationReason", "AssessmentDate", "Consented", "ConsentType", + "ConsentingPersonName", "ConsentingPersonRelationship", "EligibilityType", "StaffType", + "AssessmentComments", + #"AuditType", "DateEntered", "UserEnteringData", "VaccinationComments", + "AssessingClinician", "VaccinatingClinician", "ConsentingClinician" + ] + } + + expected_headers = headers_map.get(data_to_filter) + if not expected_headers: + raise ValueError(f"Unexpected data_to_filter value: {data_to_filter}") + + is_valid, missing_headers, extra_headers = validate_report_headers(report_path, expected_headers) + + if not is_valid: + error_message = "Report headers are invalid." + if missing_headers: + error_message += f" Missing headers: {missing_headers}." + if extra_headers: + error_message += f" Extra headers: {extra_headers}." + raise ValueError(error_message) diff --git a/tests/test_user_management_steps.py b/tests/test_user_management_steps.py new file mode 100644 index 000000000..a744b024f --- /dev/null +++ b/tests/test_user_management_steps.py @@ -0,0 +1,57 @@ +from asyncio import sleep +import csv +from logging.handlers import RotatingFileHandler +import secrets +import string +from pytest_bdd import given, when, then, scenarios, scenario +from pytest_bdd.parsers import parse +from pages.login_page import * +from pages.home_page import * +from pages.nhs_signin_page import * +from pages.manage_users_home_page import * +import logging +from init_helpers import * +from conftest import * + +features_directory = get_working_directory() + "features" + +scenarios(f'{features_directory}/user_management.feature') + +logger = logging.getLogger() +logger.setLevel(logging.DEBUG) + +log_handler = RotatingFileHandler('tox.log', maxBytes=1024*1024, backupCount=3) # Log rotation (optional) +log_handler.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')) + +# Add the handler to the logger +logger.addHandler(log_handler) + +@pytest.fixture(scope="session", autouse=True) +def setup_logging(): + # You can add logging setup here if needed + logger.info("Logging setup complete") + yield + logger.info("Test session complete") + +@pytest.fixture(scope='function') +def shared_data(): + data = {} + yield data + data.clear() + +@pytest.mark.usermanagement +@given("I am logged into the RAVS app") +def logged_into_ravs_app(navigate_and_login): + pass + +@when("I click the manage users navigation link") +def I_click_manage_users_nav_link(): + click_manage_users_nav_link() + attach_screenshot("manage_users_navigation_link_clicked") + logging.info("logged_in_and_manage_users_navigation_link_clicked") + +@then("the manage users page should be displayed") +def the_manage_users_page_should_be_displayed(): + assert check_add_user_button_exists() == True + attach_screenshot("manage_users_page_loads_and_add_user_button_is_visible") + logging.info("reports_page_loads_and_create_report_button_is_visible")