Skip to content

Commit

Permalink
Ravs 1094 automate reports feature (#37)
Browse files Browse the repository at this point in the history
* 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 <root@FA-0817>
  • Loading branch information
neelimaguntupalli1-nhs and root authored Nov 18, 2024
1 parent 7d27e9c commit d0d9605
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
allure-report/
allure-results/
.git
node_modules
*.log
dist/
build.
*.tar.gz
9 changes: 7 additions & 2 deletions .github/workflows/regression_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ jobs:
docker stop $(docker ps -q) || true
docker rm $(docker ps -aq) || true
- name: Cleanup unused Docker resources
run: |
docker system prune -af
docker volume prune -f
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand All @@ -92,9 +97,9 @@ jobs:
run: |
docker run -d --name playwright-tests \
--memory 8g \
-e RAVS_PASSWORD=""${{ inputs.environment }}"" \
-e RAVS_PASSWORD=""${{ secrets.RAVS_PASSWORD }}"" \
-e HEADLESS_MODE="true" \
-e TEST_ENVIRONMENT="dev" \
-e TEST_ENVIRONMENT="${{ inputs.environment }}" \
-e BROWSER="edge" \
-e MARKER="login" \
-e AGENTS=3 \
Expand Down

0 comments on commit d0d9605

Please sign in to comment.