test(e2e): fix alert/action-sheet e2e test

This commit is contained in:
Adam Bradley
2018-01-23 18:33:54 -06:00
parent d1a3f9a963
commit 8f6b4b90ce
2 changed files with 4 additions and 4 deletions

View File

@ -9,10 +9,10 @@
</head> </head>
<body> <body>
<ion-action-sheet-controller></ion-action-sheet-controller>
<ion-button expand="block" id="basic" onclick="presentBasic()">Basic</ion-button> <ion-button expand="block" id="basic" onclick="presentBasic()">Basic</ion-button>
<ion-action-sheet-controller></ion-action-sheet-controller>
<script> <script>
async function presentBasic() { async function presentBasic() {
const mode = Ionic.mode; const mode = Ionic.mode;

View File

@ -9,10 +9,10 @@
</head> </head>
<body> <body>
<ion-alert-controller></ion-alert-controller>
<ion-button id="basic" expand="block" onclick="presentAlert()">Alert</ion-button> <ion-button id="basic" expand="block" onclick="presentAlert()">Alert</ion-button>
<ion-alert-controller></ion-alert-controller>
<script> <script>
async function presentAlert() { async function presentAlert() {
var alertController = document.querySelector('ion-alert-controller'); var alertController = document.querySelector('ion-alert-controller');