Fix Safari gr-app_test
Change-Id: I73e3beb3fd971a60504ea80acb1149279533faac
This commit is contained in:
@@ -15,6 +15,7 @@ limitations under the License.
|
||||
-->
|
||||
<link rel="import" href="../../../bower_components/polymer/polymer.html">
|
||||
<link rel="import" href="../../shared/gr-rest-api-interface/gr-rest-api-interface.html">
|
||||
<link rel="import" href="../../core/gr-reporting/gr-reporting.html">
|
||||
|
||||
<script src="../../../bower_components/page/page.js"></script>
|
||||
<script src="gr-router.js"></script>
|
||||
|
@@ -21,6 +21,10 @@
|
||||
var reporting = document.createElement('gr-reporting');
|
||||
|
||||
window.addEventListener('WebComponentsReady', function() {
|
||||
if (!app) {
|
||||
console.log('No gr-app found (runing in test mode)');
|
||||
return;
|
||||
}
|
||||
reporting.timeEnd('WebComponentsReady');
|
||||
reporting.pageLoaded();
|
||||
|
||||
|
@@ -25,7 +25,7 @@ limitations under the License.
|
||||
|
||||
<test-fixture id="basic">
|
||||
<template>
|
||||
<gr-app></gr-app>
|
||||
<gr-app id="app"></gr-app>
|
||||
</template>
|
||||
</test-fixture>
|
||||
|
||||
|
Reference in New Issue
Block a user