mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
test(e2e): fix alert/action-sheet e2e test
This commit is contained in:
@ -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;
|
||||
|
@ -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');
|
||||
|
Reference in New Issue
Block a user