[jbosstools-issues] [JBoss JIRA] (JBIDE-14345) BrowserSim does not show the right jQuery Mobile pages with #<page> on Linux

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Thu May 2 01:40:54 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-14345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-14345:
----------------------------------------

    Description: 
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 (it shows just the main index page)


  was:
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



    
> BrowserSim does not show the right jQuery Mobile pages with #<page> on Linux
> ----------------------------------------------------------------------------
>
>                 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
>            Assignee: Yahor Radtsevich
>             Fix For: 4.1.0.Beta1
>
>
> 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 (it shows just the main index page)

--
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