Commit graph

179 commits

Author SHA1 Message Date
John Bender
3c2bfaca8a remove define stub, it's now stubbed through including jquery.mobile.define.js in js/index.php 2012-01-04 14:26:03 -08:00
John Bender
95073892f0 Merge branch 'amd' 2012-01-04 12:24:33 -08:00
John Bender
81d1f6f282 stubbed define in nav tests 2012-01-04 08:56:35 -08:00
John Bender
9c7e1b755f fix url checks to use search where appropriate 2012-01-04 08:02:31 -08:00
Mat Marquis
9b3aefae84 Moved .ui-dialog to element wrapping dialog header/content/footer, switched overlay non-theming class to .ui-dialog-page. 2012-01-03 18:16:29 -05:00
John Bender
d82b6aacfc update nav base tests to use new push state helper 2012-01-03 14:13:56 -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
b7c88e4d08 Added unit test case for issue #2520 (No longer able to remove / expire pages reliably). 2011-11-04 11:03:50 -07: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
1896235247 add linkBindingEnabled tests 2011-10-20 15:16:03 -07:00
Eddie Monge
8bc5e42fb3 2700: Step 5 Update all doc references 2011-10-17 13:51:45 -07: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
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
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
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
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
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
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
9cc8daa91a test that middle click doesn't trigger a page change 2011-09-15 10:25:04 -07:00
John Bender
3ed30673ad test for issue 2444 2011-09-14 15:54:00 -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
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 Resig
0b83cf8d60 Tweak some more stylesheet formatting. 2011-09-08 21:35:28 -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
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
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
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
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
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
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