Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: functional test plan #596

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

docs: functional test plan #596

wants to merge 20 commits into from

Conversation

tselit
Copy link

@tselit tselit commented Sep 13, 2024

Context

Document a test plan for the Web Monetization extension, detailing the functional test cases.

Closes #290.

Changes proposed in this pull request

The test plan in markdown format, alongside an image asset that visualises how the test cases relate to each other.

add test plan
Add 7 sections.
Add risks and test case diagram
add assets for testing
add a mindmap of the test cases
this folder was meant to be in the test/testplan folder
a folder for the test plan assets
add 3 basic test cases
Added the following test cases:
- Pay one-time when extension funds are insufficient.
- Disable continuous payments.
Added the following 4 test cases: 
- Pay one-time when extension funds are insufficient
- Disable continuous payments
- Change rate of pay and View available balance
- Disconnect wallet
- update test case for a partial one-time payment success due to insufficient extension funds
- add test case to pay until the extension runs out of funds
@tselit tselit added the area: documentation Improvements or additions to documentation label Sep 13, 2024
@tselit tselit added this to the Public Beta release milestone Sep 13, 2024
@tselit tselit removed this from the Public Beta release milestone Sep 13, 2024
Copy link

github-actions bot commented Sep 13, 2024

Extension builds preview

Name Link
Latest commit 2a6d1fc
Latest job logs Run #10881426936
BadgeDownload
BadgeDownload

@tselit tselit changed the title docs (test plan/functional tests): 8 basic test cases & 3 edge test cases docs: functional test plan Sep 13, 2024
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this image a bit less wide so it's more readable without zooming in?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this file to docs/testing/testplan.md

Copy link
Member

@sidvishnoi sidvishnoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll review in the Google doc first..

Any person interested in testing the beta release of the Web Monetization extension.
There are no requirements for technical competencies.

We focus on functional test cases, and the goal is to record and report the actual behavior that was observed when it differs from the expected behavior.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can move this line to Introduction, or remove it too.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we should say there's no requirements for technical competencies. We mention things like Web Monetization events being triggered and opening GitHub issues.

Comment on lines +14 to +18
## Strategy

One of the strategic goals of the Interledger Foundation is to grow Web Monetization awareness and adoption such that there are 1,000 web monetized websites and 100,000 active Web Monetization users (by 31 December 2024).

One of the long-term goals is to grow Web Monetization adoption by a factor of 10, in the next 5 years (by December 2029) such that Web Monetization functionality is either native to the most widely used Web browsers, or readily available through browser extensions on Web browser stores and marketplaces.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why this is relevant to this document?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I don't think we need to discuss our internal business strategy in a test plan.

## Objectives

1. Validating that, once installed, users can configure Web Monetization settings on the extension.
2. Validating that once the extension is successfully connected to a digital wallet, a user is able to.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A user is able to??

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional context: Step 2 is missing the ending :)


### Tools and Resources

The resources and tools that you will need to test Web Monetization depend on your point of view.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of "point of view", maybe The resources and tools that you will need to test Web Monetization depend on what you want to test.

The resources and tools that you will need to test Web Monetization depend on your point of view.
The Web Monetization personas have different perspectives and needs for testing:

Persona 2: A website owner that wants to receive WM payments.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line is meant to come out.


Persona 2: A website owner that wants to receive WM payments.

| People | Hardware | Digital wallet | Environment & software |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestions: Column title "Persona".

Then instead of Persona 1/2 in the other cells, maybe:
"Website Visitor: A visitor who wants to pay..."
"Website Owner: A site owner that wants to..."


### Reporting Issues

1. Use any screen recording application to record the steps and results of your testing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we/should we suggest and/or link to one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Functional testing doc - beta release
3 participants