-
Notifications
You must be signed in to change notification settings - Fork 1
Test Plan
I write this article as a test plan for this project. All the test cases must be passed before a new version is published to the public.
Guarantee List:
- Android 2.3+
- iOS 8
- Windows Phone 8.1
- IE 9+
- Chrome
- Firefox
In order to get a better performance, we use different touch API provided by browser vendors for different platforms. It's important to make sure the correct API is used in a specific device.
- Put a finger on the screen.
- Look at the debug area.
Expected Result:
The swipeStart string was found in the div#debug.
- Put a finger on the screen.
- Move the finger on the screen.
- Look at the debug area.
Expected Result:
We can see movedPageX and movedPageY values in the div#debug.
- Put a finger on the screen.
- Move the finger on the screen.
- Lift up your finger.
- Look at the debug area.
Expected Result:
We can see swipe in the div#debug.
- Put a finger on the screen.
- Move the finger to the left of the screen.
- Lift up your finger.
- Look at the debug area.
Expected Result:
The swipeLeft string was found in the div#debug.
- Put a finger on the screen.
- Move the finger to the right of the screen.
- Lift up your finger.
- Look at the debug area.
Expected Result:
The swipeRight string was found in the div#debug.
- Put a finger on the screen.
- Move the finger to the top of the screen.
- Lift up your finger.
- Look at the debug area.
Expected Result:
The swipeUp string was found in the div#debug.
- Put a finger on the screen.
- Move the finger to the bottom of the screen.
- Lift up your finger.
- Look at the debug area.
Expected Result:
The swipeDown string was found in the div#debug.
- Put a finger on the screen.
- Move the finger for a short distance.
- Lift up your finger.
- Look at the debug area.
Expected Result:
The swipeCancel string was found in the div#debug.