mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
test(button) add strong e2e test
This commit is contained in:
7
packages/core/src/components/button/test/strong/e2e.js
Normal file
7
packages/core/src/components/button/test/strong/e2e.js
Normal file
@ -0,0 +1,7 @@
|
||||
const { register, navigate } = require('../../../../../scripts/e2e');
|
||||
|
||||
describe('button: strong', () => {
|
||||
|
||||
register('navigates', navigate('http://localhost:3333/src/components/button/test/strong'));
|
||||
|
||||
});
|
||||
29
packages/core/src/components/button/test/strong/index.html
Normal file
29
packages/core/src/components/button/test/strong/index.html
Normal file
@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Button - Strong</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<script src="/dist/ionic.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<ion-app>
|
||||
<ion-page>
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>Button - Strong</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content padding no-bounce>
|
||||
<p><ion-button strong>Default</ion-button></p>
|
||||
<p><ion-button strong fill="outline" color="secondary">Outline</ion-button></p>
|
||||
<p><ion-button strong fill="clear">Clear</ion-button></p>
|
||||
<p><ion-button strong expand="block" color="danger">Block</ion-button></p>
|
||||
<p><ion-button strong expand="full" color="dark">Full</ion-button></p>
|
||||
<p><ion-button strong round>Strong</ion-button></p>
|
||||
</ion-content>
|
||||
</ion-page>
|
||||
</ion-app>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user