Open agritheory opened 1 month ago
@MyuddinKhatri I shouldn't have merged this, can you raise a PR with the additional Playwright changes? I think the CI needs an extra line
- name: Run Tests
working-directory: /home/runner/frappe-bench
run: |
source env/bin/activate
cd apps/approvals
poetry install
playwright install --with-deps
pytest --cov=approvals --cov-report=xml --disable-warnings -s | tee pytest-coverage.txt
Where a workflow does not exist (Purchase Invoice in the current example set), and a document is submit-able, "Approve" should trigger a
frappe.confirm
about submitting the document, just as it normally would.