-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(list): add inset list test to highlight the inconsistencies in MD
- Loading branch information
1 parent
fcdf355
commit 12c78bc
Showing
3 changed files
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,6 @@ | |
</ion-list> | ||
</ion-content> | ||
|
||
|
||
</ion-app> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
'use strict'; | ||
|
||
const { By, until } = require('selenium-webdriver'); | ||
const { register, Page, platforms } = require('../../../../../scripts/e2e'); | ||
|
||
class E2ETestPage extends Page { | ||
constructor(driver, platform) { | ||
super(driver, `http://localhost:3333/src/components/list/test/inset?ionicplatform=${platform}`); | ||
} | ||
} | ||
|
||
platforms.forEach(platform => { | ||
describe('list/inset', () => { | ||
register('should init', driver => { | ||
const page = new E2ETestPage(driver, platform); | ||
return page.navigate('#content'); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<!DOCTYPE html> | ||
<html dir="ltr"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>List - Basic</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-header> | ||
<ion-toolbar> | ||
<ion-title>List - Inset</ion-title> | ||
</ion-toolbar> | ||
</ion-header> | ||
|
||
<ion-content id="content"> | ||
<ion-list inset> | ||
<ion-item> | ||
<ion-label>Normal Input</ion-label> | ||
<ion-input></ion-input> | ||
</ion-item> | ||
|
||
<ion-item> | ||
<ion-label stacked>Stacked Input</ion-label> | ||
<ion-input></ion-input> | ||
</ion-item> | ||
|
||
<ion-item> | ||
<ion-label>Normal Select</ion-label> | ||
<ion-select> | ||
<ion-select-option>1</ion-select-option> | ||
<ion-select-option>2</ion-select-option> | ||
<ion-select-option>3</ion-select-option> | ||
</ion-select> | ||
</ion-item> | ||
|
||
<ion-item> | ||
<ion-label stacked>Stacked Select</ion-label> | ||
<ion-select> | ||
<ion-select-option>1</ion-select-option> | ||
<ion-select-option>2</ion-select-option> | ||
<ion-select-option>3</ion-select-option> | ||
</ion-select> | ||
</ion-item> | ||
|
||
<ion-item> | ||
<ion-label>Normal Datetime</ion-label> | ||
<ion-datetime></ion-datetime> | ||
</ion-item> | ||
|
||
<ion-item> | ||
<ion-label stacked>Stacked Datetime</ion-label> | ||
<ion-datetime></ion-datetime> | ||
</ion-item> | ||
|
||
</ion-list> | ||
</ion-content> | ||
|
||
</ion-app> | ||
|
||
<style> | ||
ion-content .scroll { | ||
background: #e5e5e5; | ||
} | ||
</style> | ||
</body> | ||
</html> | ||
|