Apps/QA/OWA Extension: Difference between revisions

Jump to navigation Jump to search
Line 79: Line 79:
# File new bugs as necessary
# File new bugs as necessary
# Update test case document by adding and modifying existing test cases and removing obsolete test cases
# Update test case document by adding and modifying existing test cases and removing obsolete test cases
=== ''Automation''  ===
The automation efforts will revolve around automating the manual test cases using mozmill. Since currently there is not much to work with, a basic skeleton framework is being looked into that can hopefully hold common API's that will be used when automating tthe test cases.<br>
A demo test run was created with MozMill that installs an app, runs the app, closes the app and then deletes it. The patch for the demo test can be found [https://bugzilla.mozilla.org/show_bug.cgi?id=690493 here]. Henrik Skupin is going to write a blog post about OWA&nbsp;automation and will include a demo that runs this script.<br>
==== Test Server<br>  ====
An already existing nodejs server was modified to host test apps that we can use for load and smoke testing. To use the test server, please follow these steps (in linux):
<u>Setup:</u>
#git clone git://github.com/mozilla/openwebapps.git<br>
#cd openwebapps<br>
#Type: 'git submodule init' and then 'git submodule update'<br>
#Make sure to have node installed - If not, you can get it from [http://nodejs.org/#download here]. You can also follow one of the methods [https://gist.github.com/579814 here].
<u>Run:</u>
#cd site/tests/
#Type:&nbsp;'node run.js' - All necessary servers will start<br>
#Launch the URL&nbsp;after 'Testing server started, to run tests go to:' and replace index.html with appstore.html<br>
#A webpage will be shown that contains all the test apps
<center>[[Image:Test Server Screenshot.png|border|center|673x383px|Test Server Screenshot.png]]<br></center>
'''How It Works:'''
It's just a nodejs server that creates a separate server for each app that we have and hosts the necessary files within each server. The directory where the apps are stored is in site/tests/apps and each app has a folder within this directory.<u>If you would like to add apps, all you have to do is add a folder within the apps directory and place the necessary files within that folder (please look at repo under site/tests/apps/ for examples)</u>. Please note the following:
*The manifest file must be called:&nbsp;manifest.webapp (this should be changed within the code to be more dynamic)
*If there is a problem with the page formatting, it's most likely because the icon pic used for the app is not compatible. The icon pic must be 128x128px in order to show up properly in the test server and in the Dashboard. You can use software such as gimp to adjust the pic size.<br>


=== Native App Generation  ===
=== Native App Generation  ===
Confirmed users
2,959

edits

Navigation menu