changelog and minor fixes

This commit is contained in:
Jonathan Lipps
2013-04-04 11:55:49 -07:00
parent 27aa61014a
commit cfafd7f365
3 changed files with 37 additions and 5 deletions
+32 -1
View File
@@ -1,5 +1,36 @@
-------------------------------------
CHANGES IN VERSION 0.2.2 (from 0.2.1)
-------------------------------------
[IOS]
- safari: use js close() instead of clicking buttons to close windows
- webview: make title() always return title for default context
- webview: async javascript execute
- webview: fix when webelements are returned to client
- allow launching app via bundle id and not just app path
- webview: get/set/delete cookie(s)
- correctly rotate screenshot images if taken in landscape mode
[ANDROID]
- add eclipse formatting file for bootstrap
- stop when activity fails to show up
- make content-desc search case-insensitive and partial
- allow launching emulator according to device id
- only sign app for clean apk once
-------------------------------------
CHANGES IN VERSION 0.2.1 (from 0.2.0)
-------------------------------------
[GENERAL]
- fix bug in npm dependencies (make swig a real dependency)
[IOS]
- fixed scoping bug in alert handling
- get rid of --warp flag, instruments-without-delay is better
- safari: clear cookies/history/windows in between test runs
-------------------------------------
CHANGES IN VERSION 0.2.0 (from 0.1.3)
-------------
-------------------------------------
[GENERAL]
- updates to reset.sh
- host our own guinea pig html page for webview tests
+4 -3
View File
@@ -89,9 +89,8 @@ IOS.prototype.cleanup = function(cb) {
IOS.prototype.start = function(cb, onDie) {
if (this.app && this.bundleId) {
cb(new Error("You tried to launch instruments with both an app " +
"specification and a bundle ID. Choose one or the other!"));
return;
logger.warn("You tried to launch instruments with both an app " +
"specification and a bundle ID. Sticking with the app");
}
var me = this;
var didLaunch = false;
@@ -161,6 +160,8 @@ IOS.prototype.start = function(cb, onDie) {
}
me.instruments = null;
me.curCoords = null;
me.curOrientation = null;
me.bundleId = null;
if (me.remote !== null) {
try {
me.stopRemote();
+1 -1
View File
@@ -401,7 +401,7 @@ module.exports.buildTests = function(webviewType) {
h.driver.getWindowSize(function(err, size) {
should.not.exist(err);
// iphone and ipad, webview.app and mobile safari
[356, 928, 788, 752].should.include(size.height);
[356, 928, 788, 752, 797].should.include(size.height);
[320, 768, 414].should.include(size.width);
done();
});