[jbosstools-issues] [JBoss JIRA] (JBIDE-14345) BrowserSim does not support jQuery Mobile pages

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Mon Apr 29 17:53:53 EDT 2013


Daniel Azarov created JBIDE-14345:
-------------------------------------

             Summary: BrowserSim does not support jQuery Mobile pages
                 Key: JBIDE-14345
                 URL: https://issues.jboss.org/browse/JBIDE-14345
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: browsersim
    Affects Versions: 4.1.0.Alpha2
            Reporter: Daniel Azarov


Test case:

EXECUTE:
1. Create project
2. Create html 5 page:
{code}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
    
	<title>JBoss Tools jQuery Mobile Palette Demo</title>
	
</head>
<body>
	<div data-role="page" id="home">
    	<h1>Home</h1><br>
    	<p>This is the home page</p>
       	<a href="#gallery" data-role="button" data-inline="true" data-icon="forward">Gallery</a>
       	<a href="#index" data-role="button" data-inline="true" data-icon="forward">Index</a>
    </div>
    <div data-role="page" id="gallery">
    	<h1>Gallery</h1><br>
    	<p>This is the gallery page. Here you can see some pictures.</p>
       	<a href="#home" data-role="button" data-inline="true" data-icon="back">Home</a>
       	<a href="#index" data-role="button" data-inline="true" data-icon="forward">Index</a>
    </div>

	<div data-role="page" id="index">
    	<h1>Index Page</h1><br>
    	<p>This is the index page.</p>
       	<a href="#home" data-role="button" data-inline="true" data-icon="back">Home</a>
       	<a href="#gallery" data-role="button" data-inline="true" data-icon="back">Gallery</a>
    </div>
    </body>
</html> 
{code}
2. Open file with BrowswerSim
3. Try to add #index or #gallery to the end of address string
FAIL:
BrowserSim not always shows page with  #index (#gallery) id


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list