-
Notifications
You must be signed in to change notification settings - Fork 311
Use Cases
- add test cases around the form validation in the create new project workflow
- not on corporate network
- not on VPN
- no AV
- disk encryption disabled
- firewall disabled
Action: create a new project
Expected Result: new project is created & it becomes the active served project
Action: preview an active project in the PhoneGap Dev App
Expected Result: you can preview the active project in the PhoneGap Dev App
Action: preview the active project in the Browser
Expected Result: you can preview the active project in the Browser
Action: add (import) existing project
Expected Result: added project is appended to the project list area & it becomes the active served project
Action: edit index.html
of the active project, modify <p class="event received">Device is Ready</p>
to <p class="event received">Device is Ready. TestXX</p>
Expected Result: PhoneGap Dev App should update to display the updated content
Action: edit index.html
of the active project, modify <p class="event received">Device is Ready</p>
to <p class="event received">Device is Ready. TestXX</p>
Expected Result: Browser should update to display the updated content
Action: edit index.css
of the active project, modify .app { left: 50% }
to .app { left: 10% }
Expected Result: PhoneGap Dev App should update to display the updated content
Action: edit index.css
of the active project, modify .app { left: 50% }
to `.app { left: 10% }
Expected Result: Browser should update to display the updated content
Action: edit config.xml
of the active project, modify <name>test08ab</name>
node or modify <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.phonegap.helloworld" version="1.0.1">
version attribute of the <widget>
node
Expected Result: PhoneGap Desktop App's project listing should update with the updated content
Action: change active project in the PhoneGap Desktop (by clicking play on another project or by click stop on the current active project & then clicking play on a different project)
Expected Result: PhoneGap Dev App should update to the contents of the new active project
Action: change active project in the PhoneGap Desktop (by clicking play on another project or by click stop on the current active project & then clicking play on a different project)
Expected Result: Browser should update to the contents of the new active project
Action: change port number in the settings
Expected Result: reload the PhoneGap Dev App with the new port make sure the active project is displayed
Action: change port number in the settings
Expected Result: reload the Browser with the new port make sure the active project is displayed
Action: if multiple IP addresses are listed, click on at least one
Expected Result: the Browser should launch displaying the contents of the active project
Action: remove a project from PhoneGap Desktop
Expected Result: the project should be removed from PhoneGap Desktop's project listing