opensafely-core / opensafely-core/opencodelists
Add some end-to-end automated browser tests
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 60
- Forks
- 16
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 17
Description
I mentioned in this PR the steps I took to check manually a Django upgrade:
- Created a user
- Accessed a codelist for each of BNF, CTV3, dm+d, ICD-10, Read v2, SNOMED CT coding systems
- Downloaded files from each of those codelists
- Clicked around on everything for each codelist
- Uploaded a codelist for each of CTV3, ICD-10, Pseudo BNF, SNOMED CT coding systems
- Created and published a new codelist interactively
- Reset the user password
- Logged back in after password reset
- Clicked to the final index page
- Viewed the docs
This covers what I think are most of the features of OpenCodelists.
It may be worth having Playwright do this for us, so we can be more confident about upgrading dependencies without having to manually test.
Checking the behaviour of codelists, which is possibly more important, would require some way of providing sample codelist and coding system data.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the manual workflow listed in the issue and assess Playwright as the entry point for automating it. Decide how sample codelist and coding-system data will be provided, then cover the listed user, codelist, password, documentation, and navigation flows; done means these checks run automatically.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, playwright, python
- Domain
- testing, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100