Geir
February 19, 2019, 10:43am
#1
As we continue the development Runbox 7 it’s important that we also create tests for the functionality we add or modify. This helps us verify that new features work as expected and that no regressions or other issues are introduced inadvertently.
An important type of test involves testing application flow from start to end by simulating user actions and input, and this is where we could use help from our community.
This multi-issue will list all end-to-end tests and will be expanded over time to include all functionality available in Runbox 7. We welcome additions to this list that help complete it:
opened 09:34PM - 09 Feb 19 UTC
help wanted
good first issue
P-medium
As we develop Runbox 7 it's crucial that we also create tests for the functional… ity we add. This helps us verify that new features work as expected and that no regressions or other issues are introduced inadvertently.
An important type of test involves testing application flow from start to end by simulating user actions and input.
This multi-issue will list all end-to-end tests and will be expanded over time to include all functionality available in Runbox 7. We welcome additions to this list that help complete it.
To get started writing tests for Runbox 7, these links offer a good introduction on the subject:
- [https://angular.io/cli/e2e](https://angular.io/cli/e2e)
- [https://angular.io/guide/testing](https://angular.io/guide/testing)
- [Automate E2E testing of Angular 4+ apps with ProtractorJS & Jasmine](https://medium.com/paramsingh-66174/automate-e2e-testing-of-angular-4-apps-with-protractorjs-jasmine-fcf1dd9524d5)
# Tests
List of tests that is not yet complete but will be expanded over time.
## Login
- Log into the app without 2FA enabled
- Log into the app with 2FA enabled
- With TOTP
- With OTP
- With unlock code
- Accept the use of a local index
- Don't accept the use of a local index
## List
- View the message list with a local index
- With display options
- Inline previews
- Threaded view
- Unread only
- View the message list without a local index
## Search
- Search messages with a local index
- Search with options
- To
- From
- Subject
- Current folder
- Year/month/date
- Search messages without a local index
- Search with options
- To
- From
- Subject
- Current folder
- Year/month/date
## Read
- Open an email
- HTML email
- In HTML view
- In text view
- Text email
- In HTML view
- In text view
- Open an attachment
- Images
- PNG
- JPG
- GIF
- ...
- Video
- MP4
- ...
- Documents
- PDF
- ODT
- DOCX
- ...
## Compose
- Open Compose
- Add recipients
- With local index (and autocomplete)
- To
- CC
- BCC
- Without local index
- To
- CC
- BCC
- Send an email
- With valid recipients
- Without valid recipients
- With subject line
- Without subject line
- With content
- Without content
- With attachment
- Without attachment
- Reply to an email
- Reply to sender
- Reply to all
- Forward an email
## Folders
- Select a folder
- Create a folder
- At root level
- As sub-folder
- Delete a folder
- At root level
- As sub-folder
- Rename a folder
- At root level
- As sub-folder
## Log out
- Log out of the application
To get started writing tests for Runbox 7, these links offer a good introduction on the subject:
Creating tests can be a fun way to get involved, and if you have any questions we are here to help!
– Geir