web
web copied to clipboard
Test coverage for the app store
Description
The app store has no test coverage at the moment. Needs to change.
User Stories
-
As a product owner, I want to be certain that crucial functionality of the app store app works so that I can release with confidence.
Value
Acceptance Criteria
- Cover the most crucial parts of the app store app with unit- and e2e-tests.
- unit @kulmann
- loading state (->
LayoutContainer) - error state
- pinia stores:
- [ ] apps
- [ ] repositories
- overview:
- [ ] no-content message if search term doesn't result in matches
- [ ] search filter gets reflected into url query (on type, on tag-click)
- [ ] tile renders cover-image, title, most-recent version, subtitle, tags and download-button
- [ ] tile shows fallback image if no cover-image provided
- [ ] click on title, click on cover both navigate into details
- details
- [ ] cover image and screenshots get rendered
- [ ] images can be cycled via dots and arrows
- [ ] tile renders back-to-overview button, gallery, title, most-recent version, subtitle, description, tags, authors (as external links), resources (as external links), releases as table
- [ ] releases have a download button per version
- loading state (->
- e2e (happy path!) @AlexAndBear
- [x] journey 1 "discovery": navigate to app store app, check that a list of apps is loaded, among them: draw-io/json-viewer/unzip, enter
drawinto search bar, check the results, click on tagviewer(from draw-io app), check the results, click onjson-viewerapp, check that details page renders, click onviewertag in details view, check that we navigate back to the overview and have all apps in the result set withvieweramong tags or in the app name - [x] journey 2 "details": navigate to app store app, click on
Development boilerplate(web-app-skeleton), check that the details page renders, clickdownloadfor a specific version (NOT the most recent version though), verify that the app version downloads, go back to overview, clickdownloadfor draw-io in overview, verify that the most recent app version downloads
- [x] journey 1 "discovery": navigate to app store app, check that a list of apps is loaded, among them: draw-io/json-viewer/unzip, enter
Definition of ready
- [ ] Everybody needs to understand the value written in the user story
- [ ] Acceptance criteria have to be defined
- [ ] All dependencies of the user story need to be identified
- [ ] Feature should be seen from an end user perspective
- [ ] Story has to be estimated
- [ ] Story points need to be less than 20
Definition of done
- Functional requirements
- [ ] Functionality described in the user story works
- [ ] Acceptance criteria are fulfilled
- Quality
- [ ] Code review happened
- [ ] CI is green (that includes new and existing automated tests)
- [ ] Critical code received unit tests by the developer
- Non-functional requirements
- [ ] No sonar cloud issues
You want me to takeover here ?
You want me to takeover here ?
Yes, that would be great, thank you. ❤️ do you want to pair on making a test plan?
That would be awesome 💖
e2e tests are done :)