John Bender
eedb9ce8ac
todo added to the chart display
2011-11-10 11:24:54 -08:00
John Bender
1572867147
decode get params when refining stats data
2011-11-10 10:55:14 -08:00
John Bender
4da7e378c2
create new tables based on agent version
2011-11-10 10:52:04 -08:00
John Bender
be1852827c
close element creation tags
2011-11-10 10:29:15 -08:00
John Bender
cdfe8d157a
remove id dependency on the data point
2011-11-10 10:18:28 -08:00
Ghislain Seguin
b4df2ecfb2
Added some more negative testing for theming
2011-11-10 10:10:08 -08:00
John Bender
477f85c500
blackberry ua support
2011-11-10 10:01:39 -08:00
John Bender
9a13fc0b35
added iPhone and iPad UA strings
2011-11-10 09:23:49 -08:00
John Bender
c1a6ea10e5
formatting in php for sanity
2011-11-10 09:04:18 -08:00
John Bender
5734ca62c6
add ability to refine data display to a user agent or data point
2011-11-10 09:04:18 -08:00
John Bender
f74d117aec
simple user agent tracking and collection added to perf javascript
2011-11-10 09:04:18 -08:00
John Bender
50204053bc
test for page load text area autogrow
2011-11-09 11:35:22 -08:00
Ghislain Seguin
99783f4803
Merge pull request #2997 from eddiemonge/docs
...
Unify css and js references for doc changes
2011-11-09 10:56:44 -08:00
John Bender
fb2544b8a1
add some maring to account for silly large number strings on our perf charts
2011-11-09 10:10:57 -08:00
Eddie Monge
88884db175
Unify css and js references for doc changes
2011-11-08 18:39:49 -08:00
John Bender
949dd4c6c8
test that title is restored on link transition to first page
2011-11-08 15:41:37 -08:00
jblas@adobe.com
d6f2f438b6
Fixing the busted unit/core tests.
...
- Clear the namespace property name cache if the namespace is changed.
2011-11-08 13:05:51 -08:00
John Bender
1d5f2af293
first pass at visualizing data collection
2011-11-07 16:56:19 -08:00
John Bender
9e255e6e75
add the pathname to the stats to differentiate tests. add grouping
2011-11-07 16:56:19 -08:00
John Bender
2ec65580cf
moved to pdo db interface to avoid uninstalled deps in prod
2011-11-07 13:19:32 -08:00
John Bender
6d85686c0c
Merge branch 'list-perf'
2011-11-07 11:06:39 -08:00
John Bender
b3fdbcbb78
account for child page events
2011-11-07 11:06:10 -08:00
John Bender
7a84306cc2
readd lists-ul html
2011-11-07 10:42:56 -08:00
John Bender
4e61db3450
move the list perf test to a different naming scheme
2011-11-07 10:41:24 -08:00
John Bender
412af6f16c
seperate stats recording from stat caculation, add timestamp
2011-11-07 10:39:24 -08:00
Ghislain Seguin
3da8e0d171
Added tests for dialog theming and overlayTheme
2011-11-04 22:34:58 -07:00
jblas@adobe.com
b7c88e4d08
Added unit test case for issue #2520 (No longer able to remove / expire pages reliably).
2011-11-04 11:03:50 -07:00
John Bender
b5d6322e03
simple performance recording for page loads
2011-11-02 16:49:36 -07:00
Gabriele Rabbiosi
0e14c98efe
Corrected some tests for the slider widget
2011-11-02 23:58:50 +01:00
John Bender
70571119b7
test that the text and val can update the parent button markup
2011-10-31 14:07:10 -07:00
John Bender
fef4b200a6
handle pixel values from calls to $.fn.css('left') in slider tests
2011-10-28 15:58:25 -07:00
Todd Parker
6264d95da2
Merge pull request #2812 from redaemn/flip-switch-improvements
...
Fix for issue #2756 - flip toggle slider animated snapping. Thanks redaemn!
2011-10-27 18:31:39 -07:00
Maurice Gottlieb
d59a9d8b15
Fix issue #2845 : remove xhtml endtag from css-link
2011-10-27 14:45:32 +02:00
jblas@adobe.com
b37bf0223c
Added unit tests for issue #2835 - pagechangefailed not triggered when changing to non-existent internal page.
2011-10-25 17:07:31 -07:00
John Bender
6549b42ab5
test that clicks bound to labeled checkbox input are fired by label clicks
2011-10-25 10:55:13 -07:00
Gabriele Rabbiosi
ee05bb5576
Fixed issue #2631 - flip toggle switch animation improved
2011-10-23 14:30:10 +02:00
Gabriele Rabbiosi
396f8d019e
Issue #2756 - flip toggle switch value can be changed when the switch is disabled
2011-10-22 17:05:05 +02:00
Ghislain Seguin
55d89893a2
Merge pull request #2492 from hpbuniat/search-filter-bar-2416
...
Fix for #2416
2011-10-21 16:48:20 -07:00
John Bender
f3c5cd811e
tests to verify that items embedded in page sub elements are enhanced properly
2011-10-21 15:56:26 -07:00
jblas@adobe.com
83b5182181
Fixed relative path references added from previous checkin.
2011-10-21 10:28:41 -07:00
John Bender
1896235247
add linkBindingEnabled tests
2011-10-20 15:16:03 -07:00
John Bender
4bb744025e
whitespace in button markup
2011-10-20 12:48:10 -07:00
John Bender
76d8d3825a
cleaned up test to limit event binding bleed
2011-10-19 10:35:14 -07:00
John Bender
911ff69972
test for custom select dialog title update from dom
2011-10-18 09:39:25 -07:00
Eddie Monge
8bc5e42fb3
2700: Step 5 Update all doc references
2011-10-17 13:51:45 -07:00
Matthew Leon Grinshpun
8b713b26f3
add button tag
2011-10-15 15:13:21 -04:00
Matthew Leon Grinshpun
62459c7cca
fix for button iconshadow
2011-10-15 15:09:45 -04:00
Matthew Leon Grinshpun
b1c3de990b
git both tests to fail
2011-10-15 14:56:55 -04:00
Matthew Leon Grinshpun
79c7a225b3
failing button ui shadow tests
2011-10-15 14:49:10 -04:00
Gabriele Rabbiosi
862f58e90c
refactored degradeInputs tests
2011-10-14 01:02:37 +02:00
Gabriele Rabbiosi
9903376f35
degradeInputs now uses the recently introduced keepNativeSelector()
2011-10-14 00:50:29 +02:00
Gabriele Rabbiosi
7c34c5dc4b
Merge branch 'master' of git://github.com/jquery/jquery-mobile into Issue-#2654
2011-10-14 00:25:49 +02:00
Gabriele Rabbiosi
1559478aae
Issue #2654 - 'degradeInputs' plugin doesn't trigger on 'create' events; modified plugin and added tests
2011-10-13 22:21:47 +02:00
John Bender
49325216ed
second half of the test fix from yesterday that was required by the root page url default
2011-10-12 11:54:07 -07:00
John Bender
713c6a0342
fixed broken path tests
...
normally I wouldn't accept re-ordering of tests as a solution to any problem, but the issue here was multiple changepage events overlapping during our tests. generally we have browser state issues in our test suite and we need a general solution for them which will come post 1.0
2011-10-12 11:54:07 -07:00
John Bender
475069becd
added test for prefetched dialog pages
2011-10-11 16:19:18 -07:00
John Bender
2b5d9a9a3a
correction to nav test to account for root element using the pathname + search
2011-10-11 13:11:11 -07:00
John Bender
e4cf491c2c
missing semi
2011-10-11 11:37:37 -07:00
John Bender
845f657ddf
test that autogrow is triggered on keyup
2011-10-11 11:32:38 -07:00
John Bender
5150114c13
test page init textarea autogrow
2011-10-11 11:32:38 -07:00
John Bender
0aec8639d0
fixes to test unit runner for upgrade to qunit
2011-10-11 08:42:26 -07:00
John Bender
2efeafde40
corrected failing checkboxradio test
2011-10-11 08:39:10 -07:00
John Bender
623433f75b
tests for enhance and exclusion through keepNative
2011-10-10 14:21:37 -07:00
John Bender
b958e84e2c
correction of slider test markup
2011-10-10 14:21:37 -07:00
John Bender
f368f01a82
correct selector in test
2011-10-10 14:21:37 -07:00
John Bender
ec2c015136
slider enhanceWith tests
2011-10-10 14:21:37 -07:00
John Bender
63ab61cb89
test for enhanceWithin use
2011-10-10 14:21:37 -07:00
John Bender
18737f4940
test to verify that textinputs are kept native where necessary
2011-10-10 14:21:37 -07:00
John Bender
c1bd079b90
test for keepnative on the select menu
2011-10-10 14:21:37 -07:00
John Bender
b358985ca2
tests for keepNativeSelector method
2011-10-10 14:21:36 -07:00
John Bender
92baba02d4
orientation change check requires stubbing onorientationchange
2011-10-07 13:32:34 -07:00
John Bender
c2c7af8876
fix for failing tests adding root page to the dom twice because of the search string
2011-10-07 13:30:31 -07:00
Jörn Zaefferer
23a24f6106
Update to latest QUnit. Fix event tests that were calling both asyncTest
2011-10-04 17:34:33 -04:00
Jörn Zaefferer
0ed1460279
Add swarminject.js to prepare for TestSwarm integration
2011-10-04 15:02:17 -04:00
Kin Blas
5811440641
Added a test for diretly loading Urls with a hash that contains just the dialogHashKey. This tests to make sure these issues don't happen again:
...
Issue #2570 - Refreshing a page with #&ui-state=dialog causes syntax error
Issue #2582 - Refreshing a page with #&ui-state=dialog causes page duplication
2011-09-30 12:40:57 -07:00
scottjehl
e29346daf5
Merge remote branch 'origin/master'
2011-09-29 14:47:24 -04:00
scottjehl
a93c4878aa
removed media classes JS - deprecated since Beta 1. Use CSS3 Media Queries with a polyfill instead :) Docs are updated to link to old code in case anyone still needs a backwards-port
2011-09-29 14:47:05 -04:00
Kin Blas
d64eaf0500
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-28 11:40:33 -07:00
Kin Blas
880df5fcf5
Added unit test for issue #2537 - Add new pageremove event.
...
The test makes use of a pageremove callback that conditionally calls preventDefault() on the event so that the test can make sure a developer can prevent a specific page from being removed from the DOM.
2011-09-28 11:38:18 -07:00
gseguin
bc2243342d
Changed collapsible tests following fix for #2527
2011-09-28 11:01:58 -07:00
John Bender
9acbcb3b15
add test to guarantee that getEncodedText does not return html
2011-09-27 15:55:44 -07:00
John Bender
d816fe1ec1
tests for getEncodedText helper and issue #2547
2011-09-27 15:48:52 -07:00
Hans-Peter Buniat
68e2839209
removed settimeout
2011-09-25 14:12:55 +02:00
gseguin
5bd72c7b96
Merge branch 'collapsible-redesign'
2011-09-24 22:12:22 -07:00
gseguin
16c34ce3ac
Behavior changed, fixed test
2011-09-24 22:02:18 -07:00
gseguin
553de2d265
Unit tests for collapsible and collapsible-set following commit bdaa477f68
2011-09-24 17:24:07 -07:00
John Bender
e8f87f864f
test to cover text inputs without types
2011-09-23 20:45:55 -07:00
John Bender
20810a00e5
test to verify removal of child menupages
2011-09-23 16:32:56 -07:00
John Bender
4852491f9e
test for new core helpers
2011-09-23 16:32:56 -07:00
John Bender
890c96146e
test core helpers
2011-09-23 16:32:56 -07:00
John Bender
76eb594cd1
fix nav test to use close button in dialog and not data rel back
2011-09-23 16:32:56 -07:00
John Bender
eb7c4d08d8
closed tags in test redirect pages
2011-09-23 16:32:56 -07:00
Hans-Peter Buniat
d79c8a63cf
added test for #2416
2011-09-23 08:13:19 +02:00
Kin Blas
a5c873e388
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-22 16:25:38 -07:00
Kin Blas
36a47bbb0e
Added slider unit test for issue 2315 - Flip toggle switch with change event bound, triggers multiple times
2011-09-22 16:24:56 -07:00
gseguin
141b199224
Updated tests for $.jqmData() and $.fn.jqmData() to match the new behavior
2011-10-05 15:13:44 -07:00
John Bender
94bc82f64c
fix for failing checkbox radio test
2011-09-22 15:38:49 -07:00
John Bender
5b42fe6ea0
whitespace in checkboxradio core
2011-09-22 15:38:49 -07:00
John Bender
dd75904c11
fix the scrolling test in nav core to account for timing expectations in the page
2011-09-22 08:52:45 -07:00
Kin Blas
7ec8999bd0
Added a navigation test for issue 1243 - Can't link to dynamically created data-role="page"
2011-09-21 15:47:14 -07:00
Kin Blas
9b0bf5252d
Removed deprecated "beforechangepage", "changepage", and "changepagefailed" event references in preparation for jQM 1.0 release.
...
Updated the unit tests to use "pagechange" event instead of "changepage".
2011-09-20 16:59:30 -07:00
Kin Blas
c75a7ad654
Fix for issue 1666 - Deprecate $.mobile.pageLoading()
...
- Removed $.mobile.pageLoading().
- Updated tests/unit/init/ to call the new showPageLoadingMsg/hidePageLoadingMsg functions.
2011-09-20 14:45:26 -07:00
John Bender
c61354447c
alter pageinit test to validate that child widgets are in fact enhanced when the event is fired. covers the previous tests case
2011-09-16 10:24:14 -07:00
gseguin
095d731398
Updated tests following removal of .jqmHasData() ( commit 15667eee1b )
2011-09-16 09:19:12 -07:00
gseguin
101657d7b7
Tests following .jqmData() behavior change ( commit a0ca22ae3d )
2011-09-16 09:14:46 -07:00
John Bender
f932c9b13d
init test for jqm using page widget
2011-09-15 15:35:48 -07:00
John Bender
150697c8d2
whitespace fix for nav core tests
2011-09-15 15:12:52 -07:00
John Bender
56c0b9de36
unmock which value for other tests
2011-09-15 11:10:15 -07:00
John Bender
5346a91595
added event test to make sure the which was being defined on triggered events
2011-09-15 10:36:12 -07:00
John Bender
9cc8daa91a
test that middle click doesn't trigger a page change
2011-09-15 10:25:04 -07:00
gseguin
518894fc69
Merge branch 'issue-1899'
2011-09-14 16:22:16 -07:00
gseguin
688b2b45c0
Fixed collapsible unit test to match last commit e6eaf7cacd
2011-09-14 16:06:31 -07:00
John Bender
3ed30673ad
test for issue 2444
2011-09-14 15:54:00 -07:00
gseguin
8c8d66781f
Added some unit tests for Collapsible
2011-09-14 11:06:24 -07:00
Kin Blas
56a22727ab
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-13 00:23:33 -07:00
Kin Blas
1a92be0240
Fix for issue 2406 - Navigation from one page back to multi-page template
...
- Make sure that our hashchange resolves non-path hashes against the documentBase. This prevents the resulting changePath() call from incorrectly resolving against the URL for the current active (external) page.
- Fixed a problem in the push-state code. A hashchange event is *NOT* fired when navigating back (window.history.back()) from an external page to an internal page. This makes sense when you think about it since hashchange is only ever fired when the hash of the current document url changes, not when the document url itself changes. The fix was to make sure that the pushstate hashchange callback always sets a state object, even on embedded page URLs. This allows the hashchange callback to be triggered from within onPopState().
2011-09-13 00:23:03 -07:00
John Bender
942b0c29ae
test for open and close no-op
2011-09-12 16:59:08 -07:00
John Bender
219b450c5a
test that embedded listview pages with nested lists aren't removed by the page removal code
2011-09-12 14:47:55 -07:00
John Bender
824bd12e12
add tests for theme inheritance in select menus
2011-09-12 09:08:48 -07:00
jblas@adobe.com
6a4bd76a9c
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-09 18:26:21 -07:00
jblas@adobe.com
c348266166
Fixed the page last scroll test which has been failing for a few days now.
2011-09-09 18:25:43 -07:00
John Bender
97654c2d90
tests for newly refreshed items and button update with custom selects
2011-09-09 17:27:26 -07:00
John Bender
fab4f366a4
test for issue 2410, to verify that the button value is updated on refresh with new options
2011-09-09 09:14:39 -07:00
John Resig
0b83cf8d60
Tweak some more stylesheet formatting.
2011-09-08 21:35:28 -04:00
gseguin
3ba911a6f8
jshint was complaining about .this
2011-09-08 13:34:58 -04:00
Kin Blas
abb812cc01
Fixes for issue 1464 - No way to stop a link from being followed with some custom event (tap, taphold)
...
jquery.mobile.vmouse.js:
- Modified triggerVirtualEvent() so that it returns the virtual event instead of the isDefaultPrevented() result of the virtual event.
- Updated all references to triggerVirtualEvent() that relied on the boolean return value to instead check the isDefaultPrevented() call on the event now returned.
- Updated mouseEventCallback() to propagate the iDefaultPrevented(), isPropagationStopped(), and stopImmediatePropagation() values from the virtual event on to the original mouse event.
jquery.mobile.event.js
- Modified the "taphold" trigger code to create a new $.Event() instead of passing the stale vmousedown event.
- Added clearTapTimer() which is called from a new vmouseup binding, to prevent the timer from firing between the tie the finger/mouse goes up and the click event is dispatched.
- Added some propagation tests for the "tap" event. Tests for "taphold" will have to wait until we fix the problem where multiple taphold timers are fired off when an element and one of its ancestors is bound to taphold.
2011-09-07 10:09:00 -04:00
John Bender
ad7e5bc8d1
added comment for the touches event proto addition
2011-09-07 10:09:00 -04:00
John Bender
3dfcf5fd77
fixed event tests to trigger on a dom element
2011-09-07 10:09:00 -04:00
scottjehl
28bb987729
added a unit test for last-scroll remembering.
2011-09-07 09:16:02 -04:00
John Bender
f679d30620
added ipv6 support to urlparse regex Fixes #2362
2011-08-30 15:59:46 -07:00
John Bender
23ee457309
whitespace in navigation helper tests
2011-08-30 15:52:31 -07:00
John Bender
fd286444f4
replaceState *and* pushState are now required for $.support.pushState to be true
2011-08-29 10:18:40 -07:00
John Bender
c3bac78880
moved push state dialog key test down into its own file to have the key at the root
2011-08-27 01:01:54 -07:00
John Bender
1811b31715
added sub page hash key tests
2011-08-27 01:01:54 -07:00
John Bender
7ed31bedb5
added test to make sure the dialog key is always in the hash
2011-08-27 01:01:54 -07:00
John Bender
49cf3af91a
Merge branch 'replacestate-external'
2011-08-25 13:05:54 -07:00
gseguin
00e56c1560
Added test for ui-li-has presence
...
related to issue #779
2011-08-24 13:55:15 -07:00
John Bender
12391923fc
added comment to make sure folks aren't confused as to why one of the test pages is just a redirect
2011-08-19 18:41:24 -07:00
John Bender
66aec28d8a
renamed redirect test pages for clarity in test suite runner
2011-08-19 14:08:37 -07:00
John Bender
a671c559f4
nav tests passing for both push state and hash
2011-08-19 14:02:35 -07:00
John Bender
d3a1acdca8
small fix to capture failures properly in test suite runner
2011-08-18 23:33:16 -07:00
John Bender
7b122cacfc
fixed tests to work with both pushstate and hash
2011-08-18 16:28:28 -07:00
John Bender
ef52c8d312
updated core to use the url assertions for both hash and replace state
2011-08-18 14:13:39 -07:00
gseguin
e39a320214
Added unit tests for issue #1405
2011-08-17 18:15:57 -07:00
John Bender
a8aa78d331
remove json_encode for those who aren't able to upgrade their version of php for god knows what reason ;)
2011-08-17 15:40:18 -07:00
John Bender
82dc08fee9
fixed listview tests for both pushstate and hash
2011-08-17 15:19:52 -07:00
gseguin
3737d170a0
Merge remote-tracking branch 'upstream/master'
2011-08-17 13:29:07 -07:00
gseguin
14bb9921be
Reduced number of tests for "Top and bottom corners rounded in inset list" but added more meaningful tests
2011-08-17 12:10:18 -07:00
John Bender
b7d5df786f
whitespace and comment merge conflict resolved
2011-08-17 11:09:05 -07:00
John Bender
81737dba6a
small whitespace fix
2011-08-17 10:51:18 -07:00
John Bender
74300195b3
moved pushstate library disable and load into testhelper
2011-08-17 10:49:38 -07:00
John Bender
886cdcf927
setup pushstate tests
2011-08-17 10:25:51 -07:00
John Bender
5775dd19a4
whitespace in nav core tests
2011-08-17 10:05:24 -07:00
John Bender
1a4dd41293
alterted base path tests as an example of how to preserve content testing while accomodating both possible url formats
2011-08-16 12:56:10 -07:00
Samuel Padou
9da8114fca
add test for domCache option handling when closing a full page select menu
2011-08-16 13:55:02 +02:00
John Bender
3d14498fe1
moved select caching tests out to a seperate test file to prevent issues in the core test suite
2011-08-15 13:00:01 -07:00
John Bender
907cf655b3
fixed navigation base tests to handle the relative internal page issue by using the click hack, per @jblas
2011-08-15 12:46:09 -07:00
John Bender
b0c20e9d2a
whitespace
2011-08-15 12:45:31 -07:00
John Bender
5b4a29e643
added **/*-tests.html glob convention to the test suite runner to make it easier to include seperate files in the suite
2011-08-15 12:09:56 -07:00
John Bender
5c40e69c3a
moved the relative path changing tests to the bottom of the core file, this is not a solution only a temporary fix. moving the relative path changing tests to another test file will most likely be the next move
2011-08-15 11:45:47 -07:00
John Bender
a197e17500
cleaned up test suite index html, added reporting for failed and successfull tests at the suite level
2011-08-13 00:50:16 -07:00
John Bender
c5c89344ad
prevent qunit from running the suite until all the tests are defined
2011-08-12 14:41:45 -07:00
John Bender
781c2430f5
minor whitespace in test runner
2011-08-12 09:56:54 -07:00
John Bender
1fd9af8e36
minor refactor to test suite runner, and js moved to head
2011-08-11 22:55:27 -07:00
John Bender
fb0f6baf24
refactor of test suite runner, added passed/failed counts to suite results
2011-08-11 22:34:09 -07:00
gseguin
eb1ff373cb
Added a few tests for corners on inset lists
2011-08-11 16:23:15 -07:00
gseguin
be3bd42f8a
Use $.testHelper.sequence instead of nested setTimeouts
2011-08-10 23:34:31 -07:00
gseguin
418bb8786a
Fix for issue #1450 : added refreshCorners method to listview widget
2011-08-10 23:15:38 -07:00
gseguin
97b7c20e78
Merge remote-tracking branch 'upstream/master'
2011-08-10 23:08:56 -07:00
gseguin
fe6f406a10
Moved away from setTimeout in favor of $.testHelper.pageSequence
2011-08-10 18:28:24 -07:00
John Bender
cba80d9fff
Merge pull request #1393 from ray58750034/31d4
...
Update functional tests: bind click event to objects
2011-08-10 17:45:54 -07:00
John Bender
f352f05cc9
core style guide
2011-08-10 17:10:31 -07:00
John Bender
c41c65a1cf
quote consistency
2011-08-10 17:07:34 -07:00
John Bender
6ebaf991a8
moved dialog test to pageSequence helper, and small cleanup
2011-08-10 17:06:56 -07:00
John Bender
cdae2c2fdf
Merge branch 'master' of https://github.com/BradBroulik/jquery-mobile into BradBroulik-master
2011-08-10 17:03:10 -07:00
John Bender
73953915c0
merge fix for select
2011-08-10 14:21:49 -07:00
John Bender
55b5a60b1c
linting issues
2011-08-10 13:56:52 -07:00
John Bender
aad1146a65
added tests to verify that custom menu items are highlighted when they are selected
2011-08-10 13:54:05 -07:00
John Bender
7a9b379dea
test to make sure the label has the ui-select class
2011-08-09 15:55:40 -07:00
BradBroulik
bf4db8dae1
Added unit tests for dialog theme inheritance.
2011-08-05 17:49:47 -05:00
BradBroulik
d5cf4fc29a
Unit tests for dialog theme inheritance
2011-08-05 16:56:42 -05:00
John Bender
7494e398a5
moved open to custom and added a test for native select change removing the button down class
2011-08-05 14:45:08 -07:00
John Bender
3133ccbc3a
moved close to custom, and disable/enable methods common with tests for enable/disable
2011-08-05 12:21:45 -07:00
John Bender
f51f4cf07f
moved focusButton up to common, added test for refocus of clicked button on small dialog close
2011-08-05 12:21:45 -07:00
John Bender
d8e1b9b469
core style guidelines
2011-08-04 15:56:55 -07:00
John Bender
3452a805e0
added test to verify that we could alter the filterCallback on the instance of the widget
2011-08-04 15:28:45 -07:00
John Bender
2d7706a07b
whitespace issues in tnew buttonMarkup tests
2011-08-03 14:24:46 -07:00
John Bender
8c31d5cb19
added control group enhancement tests, still needs other footer button enhancement tests
2011-08-03 13:37:38 -07:00
John Bender
f6a5608ae2
added select_native test set and a tests to verify that setting the value of the select itself sets button text
2011-08-02 16:11:32 -07:00
John Bender
6a46839d5e
added missing assertion to select tests
2011-08-02 13:13:19 -07:00
John Bender
3950542884
made sure the dialog test fails many times, added an extra todo for moving the functionality to find the current theme if its not specified to a generic location
2011-08-02 09:30:28 -07:00
John Bender
f7d5d918ae
fixes for select tests and tests to cover basic functionality for new cached pages and select dialogs
2011-08-01 18:08:28 -07:00
scottjehl
aeaa0f7845
added unit test verifying that the domCache page option can be set globally via $.mobile.page.prototype.options.domCache = true;
2011-07-29 16:03:20 -04:00
John Bender
7a6b28d398
added to to verify that the nested pages are preserved when the parent page is cached
2011-07-29 10:10:26 -07:00
John Bender
3dc9f975e6
fixed second test for page caching
2011-07-29 10:10:26 -07:00
John Bender
3f20eaa038
fixed nav test for new namespace and made the test order independent
2011-07-29 10:10:26 -07:00
John Bender
ded500f3b4
testing additions for listview core
2011-07-29 10:10:26 -07:00
John Bender
3035387446
first test for nested page removal/caching
2011-07-29 10:10:25 -07:00
John Bender
0cd7bb8370
whitespace fix for listview fixtures
2011-07-29 10:10:25 -07:00
John Bender
f79a1afd17
whitespace and semi's in listview core tests
2011-07-29 10:10:25 -07:00
John Bender
bda88be82e
whitespace and semi's in listview core tests
2011-07-29 10:10:25 -07:00
John Bender
1a95670012
added test for explicit page caching via data attribute
2011-07-29 10:10:25 -07:00
John Bender
151d55f351
moved dom cache test to page sequence, negative case incoming
2011-07-29 10:10:25 -07:00
John Bender
191815440f
whitespace and missing semi
2011-07-29 10:10:25 -07:00
scottjehl
2b1baeb078
fixed up unit test so that it's now properly testing the ajax dom caching page option
2011-07-29 10:10:25 -07:00
scottjehl
dc054a10e7
implemented ajax dom caching option of the page plugin, which can be overridden by page options or data attribute. Includes unit test to support feature.
2011-07-29 10:10:25 -07:00
scottjehl
d670feae08
removed test for page-div-not-required, as it has its own test page.. Added tests for auto initialize option.
2011-07-24 22:13:26 -04:00
scottjehl
fdb77bfa52
changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions
2011-07-22 09:05:55 -04:00
scottjehl
3afef99719
forgot to add a file to the unit test markup
2011-07-20 14:37:02 -04:00
scottjehl
6f701add58
updated unit tests to ensure the enhance event is working properly on self-initializing widgets
2011-07-20 09:35:48 -04:00
scottjehl
64e6ef0e72
bound widgets to the "enhance" event, in addition to the pagecreate event. The enhance event allows developers to enhance the contents of an html fragment by triggering "enhance".
2011-07-19 22:44:03 -04:00
scottjehl
2a6c7fc1b9
This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
...
- Internally, each plugin self-initializes by binding to the pagecreate event.
- Unit tests have been added and adjusted to support some internal changes involved in this commit.
- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.
- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.
- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
scottjehl
c7b63920e7
fixed test failures that occured when the jquery-mobile directory is located in a subdirectory of the server root.
2011-07-19 22:25:05 -04:00
scottjehl
a93cdbcea0
changed up the unit test so that it didn't load the page in an iframe, which seemed to mess things up on the test server.
2011-07-17 16:29:05 -04:00
scottjehl
259815d480
Make data-role=page elements optional. This change makes the framework more lenient with markup, and will ease integration with existing sites, as well as mashups with external content. Unit tests included. Fixes #2096
2011-07-17 14:52:49 -04:00
John Bender
53a8023b14
fixed select tests to click the button instead of calling the select menu method
2011-07-15 15:22:56 -07:00
scottjehl
22b0cae65c
added unit tests for the data-prefetch attr
2011-07-15 15:55:27 -04:00
scottjehl
6da7e4a1dc
Made loading message configurable at runtime. Fixes #2044 . Fixes #1974 . Fixes #1947 .
2011-07-14 22:46:06 -04:00
John Bender
af3877be43
tests updated to accomodate relative hash references
2011-07-13 16:04:24 -07:00
Ghislain Seguin
584e3070ae
Unit tests for issue #1526
2011-07-12 23:32:22 -07:00
scottjehl
2de817d24c
fixed some logical errors in these tests. they now pass consistently in Firefox. Still inconsistent in Chrome, though they did pass once in Chrome during testing. Getting closer...
2011-07-10 21:51:08 -04:00
scottjehl
4703fe0d24
Merge branch 'master' of https://github.com/wietsevenema/jquery-mobile into wietsevenema-master
2011-07-10 17:46:51 -04:00
scottjehl
fdde24b51f
fixed unit test - menu var wasn't defined.
2011-07-10 17:34:38 -04:00
scottjehl
033ce4ab96
Merge branch 'fix_issue_1851' of https://github.com/tigbro/jquery-mobile into tigbro-fix_issue_1851
...
Conflicts:
js/jquery.mobile.forms.checkboxradio.js
2011-07-10 17:17:51 -04:00
scottjehl
47cb8cbeeb
fixed test so it passes in Firefox
2011-07-10 17:14:55 -04:00
scottjehl
1036a8398a
added unit test to verify previous bugfix.
2011-07-10 16:28:40 -04:00
Wietse Venema
dd2bdcd606
added failing test for inset listview issue with top-corner
2011-06-30 11:11:52 +02:00
John Bender
2fda8f7efc
sorted directories to create consistent/readable order of execution
2011-06-29 13:46:05 -07:00
John Bender
5a14398c55
throttledresize event tests use eventSequence
2011-06-29 12:48:09 -07:00
John Bender
8b6e617309
set up eventSequence helper, moved pageSequence to eventSequence(changpage, fns)
2011-06-29 12:41:04 -07:00
John Bender
eb772dfcae
click the first item link in the dialog and not all the items in the dialog
2011-06-29 10:43:30 -07:00
Ghislain Seguin
d0ec1ec452
Merge pull request #1660 from gseguin/issue-1470
...
Fix for #1470
2011-06-28 22:26:00 -07:00
John Bender
a9020282b5
moved select test to page sequnce to fix timing issues
2011-06-27 19:03:30 -07:00
John Bender
9729dc9f15
moved finicky hashchange test to sequence helper to prevent overlap with setting the hash
2011-06-27 12:36:17 -07:00
John Bender
d42658882a
fixed init hang
2011-06-27 11:19:52 -07:00
John Bender
56c43d398b
white space and title change for the suite runner
2011-06-27 11:19:51 -07:00
Kin Blas
008c5d7458
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-06-27 10:25:34 -07:00
Kin Blas
0d65a0d1c5
- Fixed issue #1923 - url of form is miscalculated
...
- Added code to calculate whether to choose the documentUrl or the page Url in the case where an action is not specified on a form element.
- Fixed bug in the navigation "submit" handler where an error was being thrown if "type" was not specified.
- Fixed typo "diabled" id typos in tests/unit/navigation/index.html.
- Added tests for form submissions with no action in both base and non-base specified cases.
2011-06-27 10:25:13 -07:00
Tobias Bosch
ec06fc1efd
unit tests for #1851 added.
2011-06-27 16:40:31 +02:00
John Bender
807536dd2c
clear both timeouts when the tests complete or timeout
2011-06-26 23:29:26 -07:00
John Bender
132e6e510f
whitespace in test suite runner
2011-06-26 23:19:38 -07:00
John Bender
37f533f12b
fixed double equals lint warning
2011-06-26 23:17:49 -07:00
John Bender
97feeaffc0
moved check to interval, made the directories an ajax call instead of a templated js array, and reorged some bits to clean things up
2011-06-26 23:16:50 -07:00
John Bender
a7045d3bb4
prevent js error by adding a default page for the widget tests
2011-06-26 23:16:03 -07:00
John Bender
ce09bebe20
quick todo for the test runner
2011-06-26 21:20:05 -07:00
John Bender
13c0b1bdd8
whitespace correction for the test runner
2011-06-26 21:18:07 -07:00
John Bender
4409782b00
moved directories to a seperate php file the emits json
2011-06-26 21:17:32 -07:00
John Bender
b016b028f6
corrections in suite timeout code with a clearTimer addition
2011-06-26 19:58:29 -07:00
John Bender
32f5b226d7
fixed relative path issues for the jquery mobile website, and made a small tweak to the qunit css
2011-06-26 15:35:33 -07:00
John Bender
7575f35fa1
remove console log from unit test runner
2011-06-26 12:47:35 -07:00