Commit graph

686 commits

Author SHA1 Message Date
John Bender
6b0d9dd2d0 conceding defeat on determining the load order issue that's causing the test failure 2012-01-13 17:25:56 +07:00
John Bender
4650f57222 remove duplicate test run 2012-01-13 17:25:56 +07:00
John Bender
21394cb5e5 check to make sure cached test page appears 2012-01-13 17:25:56 +07:00
jblas@adobe.com
c1a61aa6a8 Corrected the title for the functional test. 2012-01-13 17:25:56 +07:00
jblas@adobe.com
d4c7123c85 Fix for issue #2933 - get_orientation() and hence getScreenHeight() doesn't work on some devices
It seems that some device/browser vendors use window.orientation values 0 and 180 to denote the "default" orientation. For iOS devices, and most other smart-phones tested, the default orientation is always "portrait", but in some Android and RIM based tablets, the default orientation is "landscape".

- Modified the orientationchange plugin so that it injects a landscape orientation media query into the document to figure out what the initial orientation is, it then makes adjustments to a portrait_map if necessary, so that we can properly decode the window.orientation value whenever get_orientation() is called.
2012-01-13 17:25:55 +07:00
John Bender
bf39926d0d enforce test order ... dying a little inside 2012-01-13 17:25:55 +07:00
John Bender
6688882ef2 remove define stub, it's now stubbed through including jquery.mobile.define.js in js/index.php 2012-01-13 17:25:54 +07:00
John Bender
b3d1b49008 update functional tests to use requirejs 2012-01-13 17:25:54 +07:00
John Bender
921ab705f5 fix async loading select test issue where keepnative isn't defined in time for the leading test 2012-01-13 17:25:54 +07:00
John Bender
d347be825c move to reloadModule as it returns a deferred 2012-01-13 17:25:53 +07:00
John Bender
c50310bfab make sure the slider core runs before init to set keepNative properly 2012-01-13 17:25:53 +07:00
John Bender
3890539f8f update select cached tests to use async 2012-01-13 17:25:53 +07:00
John Bender
9747f2ce87 update listview pushstate test to use async 2012-01-13 17:25:53 +07:00
John Bender
5a6c8b145e init test order and other small fixes 2012-01-13 17:25:53 +07:00
John Bender
a85a5bc537 fixed listview tests async loading 2012-01-13 17:25:52 +07:00
Mat Marquis
6148cf9229 Updating select menu tests to match recent dialog markup changes. 2012-01-13 17:25:52 +07:00
John Bender
79c7590660 stub define in event tests 2012-01-13 17:25:52 +07:00
John Bender
6795eb37c9 stubbed define in nav tests 2012-01-13 17:25:52 +07:00
John Bender
7ba4547aa3 fix url checks to use search where appropriate 2012-01-13 17:25:52 +07:00
Mat Marquis
20b0434207 Moved .ui-dialog to element wrapping dialog header/content/footer, switched overlay non-theming class to .ui-dialog-page. 2012-01-13 17:25:52 +07:00
John Bender
57b1b23373 update nav base tests to use new push state helper 2012-01-13 17:25:51 +07:00
Ghislain Seguin
6f61f4e7fc Fixed checkboxradio tests 2012-01-13 17:25:49 +07:00
Ghislain Seguin
61595dd401 Reverted unwanted changes 2012-01-13 17:25:48 +07:00
Ghislain Seguin
86c611e436 Added require.js 1.0.3 as a submodule 2012-01-13 17:25:48 +07:00
Ghislain Seguin
53a57b6d24 AMDized 2012-01-13 17:25:47 +07:00
Ghislain Seguin
043a5164c9 Added $.testHelper.deferredSequence
Renamed reloadLib to reloadModule
Resuscitated $.testHelper.reloadLib
2012-01-13 17:25:47 +07:00
Ghislain Seguin
6c874e2448 Remove .js suffix from libName 2012-01-13 17:25:46 +07:00
Ghislain Seguin
44b5951f00 Use new testHelper.reloadLib 2012-01-13 17:25:46 +07:00
Ghislain Seguin
94587acda2 Changed reloadLib to use requirejs' context. That process being async it now returns a $.Deferred 2012-01-13 17:25:46 +07:00
Ghislain Seguin
1e965041c1 Remove .js suffix from libName 2012-01-13 17:25:46 +07:00
Ghislain Seguin
f8dd89b269 AMDized 2012-01-13 17:25:46 +07:00
Ghislain Seguin
ef7966cec4 AMDized 2012-01-13 17:24:55 +07:00
Ghislain Seguin
6d6a4114f7 Minimized imported resources
Added css links
2012-01-13 17:24:55 +07:00
Ghislain Seguin
2bc4c46f4d Fixed test name 2012-01-13 17:24:55 +07:00
Ghislain Seguin
f945ca1564 AMDized 2012-01-13 17:24:55 +07:00
Ghislain Seguin
6d5996063f Trailing comma 2012-01-13 17:24:54 +07:00
Ghislain Seguin
cc9b7cf72f Minimized imported resources 2012-01-13 17:24:54 +07:00
Ghislain Seguin
c96c43a439 AMDized 2012-01-13 17:24:54 +07:00
Ghislain Seguin
3d96b0281c AMDized 2012-01-13 17:24:54 +07:00
Ghislain Seguin
383c38f316 AMDized 2012-01-13 17:24:54 +07:00
Ghislain Seguin
0b22de3a70 AMDized 2012-01-13 17:24:54 +07:00
Ghislain Seguin
0daa382a38 AMDized 2012-01-13 17:24:54 +07:00
Ghislain Seguin
e6d3dbc31f Use .js convention provided by requirejs 2012-01-13 17:24:54 +07:00
Ghislain Seguin
f727d57fac AMDized 2012-01-13 17:24:53 +07:00
Ghislain Seguin
1187352f03 Make sure controlGroup is loaded after checkboxradio (via order plugin) 2012-01-13 17:24:53 +07:00
John Bender
df26a446bd remove base url juggling in favore of .js convention provided by requirejs 2012-01-13 17:24:53 +07:00
John Bender
c50b33f89f update dialog tests to use amd 2012-01-13 17:24:53 +07:00
John Bender
a8aa89c470 upgrade degrade inputs tests to use amd, whitespace 2012-01-13 17:24:53 +07:00
John Bender
6af53d6409 update core tests to use amd, fix misleading test 2012-01-13 17:24:53 +07:00
John Bender
7e2ba55323 update control group tests to use amd 2012-01-13 17:24:53 +07:00