Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-02 14:41:20 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-02 14:41:20 +0400
commit5c66663d11aec26579b7c66928695f03ddb11dff (patch)
treeea1e607732529035181e5c2a543e062a8a7c7c8e /tests/resources/overlay-test-site/page-1.html
parent8a525ad008a5235744de7f6c922516a36d45c314 (diff)
Refs #4189, adding Overlay screenshot tests:
- Make 'idsite' parameter in certain Overlay URLs 'idSite'. - Make sure Overlay sidebar has width so screenshot test framework can find position. - Add overlay test site so Overlay can be loaded in phantomjs. - Remove createSuperUser call from TrackerTest (done in Fixture setUp). - Make sure piwik.js link is created for screenshot tests & make sure the test environment JSON file is loaded after the database is setup. - Modify logic that waits for images to load in screenshot testing framework's page renderer to wait for CSS image URLs.
Diffstat (limited to 'tests/resources/overlay-test-site/page-1.html')
-rw-r--r--tests/resources/overlay-test-site/page-1.html88
1 files changed, 88 insertions, 0 deletions
diff --git a/tests/resources/overlay-test-site/page-1.html b/tests/resources/overlay-test-site/page-1.html
new file mode 100644
index 0000000000..322d053d67
--- /dev/null
+++ b/tests/resources/overlay-test-site/page-1.html
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Bootstrap 101 Template</title>
+
+ <!-- Bootstrap -->
+ <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
+ <![endif]-->
+ </head>
+ <body>
+ <div class="container">
+
+ <!-- Static navbar -->
+ <div class="navbar navbar-default" role="navigation">
+ <div class="container-fluid">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="">Project name</a>
+ </div>
+ <div class="navbar-collapse collapse">
+ <ul class="nav navbar-nav">
+ <li class="active"><a href="page-1.html">Page 1</a></li>
+ <li><a href="page-2.html">Page 2</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="page-3.html">Page 3</a></li>
+ <li><a href="page-4.html">Page 4</a></li>
+ <li class="divider"></li>
+ <li class="dropdown-header">Nav header</li>
+ <li><a href="page-5.html">Page 5</a></li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="nav navbar-nav navbar-right">
+ <li class="active"><a href="./">Default</a></li>
+ <li><a href="page-6.html">Page 6</a></li>
+ </ul>
+ </div><!--/.nav-collapse -->
+ </div><!--/.container-fluid -->
+ </div>
+
+ <!-- Main component for a primary marketing message or call to action -->
+ <div class="jumbotron">
+ <h1>Page 1</h1>
+
+ <p>Anim keffiyeh Odd Future, est hella PBR&B normcore dolor cupidatat pug American Apparel. Wes Anderson freegan aesthetic High Life, iPhone biodiesel artisan enim velit Etsy yr paleo tempor. Brunch dolore Portland excepteur, banh mi vegan tote bag quinoa irure polaroid. Ea eu pop-up laboris assumenda incididunt chillwave, <a href="page-4.html">nihil Truffaut</a> McSweeney's nostrud swag literally. Bushwick tempor Intelligentsia, drinking vinegar next level jean shorts Neutra brunch organic fingerstache sint. Kale chips try-hard organic pariatur, whatever meh Vice incididunt street art fingerstache forage dreamcatcher artisan. Cupidatat laborum accusamus Etsy, pug consequat meh.</p>
+
+ <p>Laborum Pitchfork bicycle rights, butcher 90's 3 wolf moon church-key shabby chic. Accusamus Godard cray ullamco lomo, deserunt selvage art party. Non Blue Bottle banh mi, bitters keffiyeh irure velit biodiesel tattooed. Fingerstache salvia leggings kitsch aesthetic umami. Sustainable dreamcatcher whatever trust fund, flannel <a href="page-2.html">aliquip artisan XOXO</a> deserunt fingerstache commodo tattooed. Enim brunch pop-up YOLO. Non Marfa Williamsburg sint blog, DIY photo booth mustache forage.</p>
+ </div>
+
+ </div> <!-- /container -->
+
+ <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
+ <!-- Include all compiled plugins (below), or include individual files as needed -->
+ <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
+
+ <script type="text/javascript">
+ var pkBaseURL = (("https:" == document.location.protocol) ? "https://%trackerBaseUrl%" : "http://%trackerBaseUrl%");
+ document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script>
+ var pkBaseURL = (("https:" == document.location.protocol) ? "https://%trackerBaseUrl%" : "http://%trackerBaseUrl%");
+ try {
+ var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 3);
+ piwikTracker.setCookieDomain('*.piwik.org');
+
+ piwikTracker.trackPageView();
+ piwikTracker.enableLinkTracking();
+ } catch( err ) {}
+ </script>
+ </body>
+</html> \ No newline at end of file