scottjehl
b438472fec
if no hash is present, run a replacestate. All nav tests still passing.
2011-08-18 22:41:13 -04:00
John Bender
7b122cacfc
fixed tests to work with both pushstate and hash
2011-08-18 16:28:28 -07:00
John Bender
2c3d9bc2f1
removed extra replace state fire, need to check with @scottjehl
2011-08-18 16:25:21 -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
John Bender
fb5d9df56f
simplified the pushstate some more
2011-08-17 16:32:59 -07:00
John Bender
b197e760fd
simplified the hash handling with help from @jblas
2011-08-17 16:22:09 -07:00
John Bender
82dc08fee9
fixed listview tests for both pushstate and hash
2011-08-17 15:19:52 -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
eba4e7eeb4
switched path helper
2011-08-16 17:06:55 -07:00
John Bender
b41b0573d2
leverage the path helpers to get this right
2011-08-16 13:25:04 -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
72ce65767e
support embedded pages as a hash since the concatenated form represents a file
2011-08-16 12:55:03 -07:00
John Bender
43b1b776d9
minor refactor for comprehension
2011-08-15 17:01:37 -07: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
scottjehl
c864dac3b1
added replacestate to the tests, as that's the method we're using
2011-08-14 13:44:40 -04:00
scottjehl
0512916e72
centralized the hashchange fired flag
2011-08-14 10:20:14 -04:00
scottjehl
854ce44179
timeout number is arbitrary. Still looking for a way around it though.
2011-08-14 10:03:16 -04:00
scottjehl
2d29880f4c
whitespace stuff
2011-08-14 09:57:12 -04:00
scottjehl
3ebe7b4218
just use location.pathname. same thing, in hindsight.
2011-08-14 09:30:33 -04: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
2b3153365f
fixed build files to include custom select
2011-08-12 10:39:36 -07:00
John Bender
cfe12241a2
fixedcustom select extension to respect the prototype alterations Fixes #2272
2011-08-12 09:56:54 -07:00
John Bender
781c2430f5
minor whitespace in test runner
2011-08-12 09:56:54 -07:00
scottjehl
6d2f9737db
conditionally trigger the hashchange after a popstate, only if it doesn't trigger its own.
2011-08-12 12:53:07 -04:00
Ghislain Seguin
89ef248339
Merge pull request #2269 from jgable/fix_lists-split-purchase
...
Fix for Docs Split Button List dialog has weird line artifact from .type-interior class
2011-08-11 23:54:27 -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
Jacob Gable
0dc54d59a2
Fix for Split Button List dialog having no background and weird line from background image
2011-08-11 20:03:36 -05:00
gseguin
5917b379e1
Merge remote-tracking branch 'upstream/master'
2011-08-11 17:01:15 -07:00
gseguin
dd9ae4898b
Fix for issue #779
...
Added a ui-li-has-count class for listview items that contain a count bubble. Changed default padding-right to 25px adjusting it to 75px when count bubble is present.
2011-08-11 16:59:51 -07:00
gseguin
eb1ff373cb
Added a few tests for corners on inset lists
2011-08-11 16:23:15 -07:00
gseguin
ef431a870c
remove corners on all li elements of the list when refreshing corners
2011-08-11 16:22:11 -07:00
John Bender
5d081afa48
removed leftover files from old decoupled select menu iterations
2011-08-11 15:34:44 -07:00
Ghislain Seguin
e0ae323bd8
Merge pull request #2262 from gseguin/issue-1450
...
Fix for issue #1450
2011-08-11 12:11:43 -07:00
gseguin
36e0fb53c7
Made _refreshCorners private
2011-08-11 12:08:27 -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
Andri Möll
70bd1ba371
Fix nested waiting-for-dom for initializePage.
...
Using dom-ready within dom-ready meant that initializePage went to the end of
the queue. That brought problems when other dom-ready code expected jQM to be
set up, capable of changing pages and so on. But because $.mobile.pageContainer
is also set in initializePage, changePage and others didn't work.
2011-08-10 18:01:36 -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