mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
make snapshot e2e tests work, except main.js/main.html only
This commit is contained in:
9
scripts/e2e/e2e.template.js
Normal file
9
scripts/e2e/e2e.template.js
Normal file
@ -0,0 +1,9 @@
|
||||
describe('<%= relativePath %>', function() {
|
||||
|
||||
it('should init', function() {
|
||||
browser.get('http://localhost:<%= buildConfig.protractorPort %>/<%= relativePath %>');
|
||||
});
|
||||
|
||||
<%= contents %>
|
||||
|
||||
});
|
@ -21,7 +21,6 @@
|
||||
</script>
|
||||
</head>
|
||||
<body ion-app>
|
||||
<%= contents %>
|
||||
</body>
|
||||
<script>
|
||||
System.import('app/main');
|
||||
|
Reference in New Issue
Block a user