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>
<body>
<ion-action-sheet-controller></ion-action-sheet-controller>
<ion-button expand="block" id="basic" onclick="presentBasic()">Basic</ion-button>
<ion-action-sheet-controller></ion-action-sheet-controller>
<script>
async function presentBasic() {
const mode = Ionic.mode;

View File

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