提交 3f450895 编写于 作者: L liu-xu01

ACEcommit

Signed-off-by: Nliu-xu01 <l18612094222@163.com>
上级 a0089877
...@@ -30,7 +30,7 @@ export default function badgeJsunit() { ...@@ -30,7 +30,7 @@ export default function badgeJsunit() {
} }
describe('badgeTest', function () { describe('badgeTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Badge', uri: 'pages/Badge',
} }
...@@ -47,11 +47,12 @@ export default function badgeJsunit() { ...@@ -47,11 +47,12 @@ export default function badgeJsunit() {
console.error("push Badge page error " + JSON.stringify(result)); console.error("push Badge page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Badge after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function blankJsunit() { ...@@ -30,7 +30,7 @@ export default function blankJsunit() {
} }
describe('BlankTest', function () { describe('BlankTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Blank', uri: 'pages/Blank',
} }
...@@ -47,11 +47,12 @@ export default function blankJsunit() { ...@@ -47,11 +47,12 @@ export default function blankJsunit() {
console.error("push Blank page error " + JSON.stringify(result)); console.error("push Blank page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Blank after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function buttonJsunit() { ...@@ -30,7 +30,7 @@ export default function buttonJsunit() {
} }
describe('buttonTest', function () { describe('buttonTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Button', uri: 'pages/Button',
} }
...@@ -47,11 +47,12 @@ export default function buttonJsunit() { ...@@ -47,11 +47,12 @@ export default function buttonJsunit() {
console.error("push Button page error " + JSON.stringify(result)); console.error("push Button page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Button after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function columnJsunit() { ...@@ -30,7 +30,7 @@ export default function columnJsunit() {
} }
describe('columnTest', function () { describe('columnTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Column', uri: 'pages/Column',
} }
...@@ -47,11 +47,12 @@ export default function columnJsunit() { ...@@ -47,11 +47,12 @@ export default function columnJsunit() {
console.error("push Column page error " + JSON.stringify(result)); console.error("push Column page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Column after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function columnSplitJsunit() { ...@@ -30,7 +30,7 @@ export default function columnSplitJsunit() {
} }
describe('columnSplitTest', function () { describe('columnSplitTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/ColumnSplit', uri: 'pages/ColumnSplit',
} }
...@@ -47,11 +47,12 @@ export default function columnSplitJsunit() { ...@@ -47,11 +47,12 @@ export default function columnSplitJsunit() {
console.error("push ColumnSplit page error " + JSON.stringify(result)); console.error("push ColumnSplit page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("ColumnSplit after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function counterJsunit() { ...@@ -30,7 +30,7 @@ export default function counterJsunit() {
} }
describe('counterTest', function () { describe('counterTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Counter', uri: 'pages/Counter',
} }
...@@ -47,11 +47,12 @@ export default function counterJsunit() { ...@@ -47,11 +47,12 @@ export default function counterJsunit() {
console.error("push Counter page error " + JSON.stringify(result)); console.error("push Counter page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Counter after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function datapanelJsunit() { ...@@ -30,7 +30,7 @@ export default function datapanelJsunit() {
} }
describe('dataPanelTest', function () { describe('dataPanelTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/DataPanel', uri: 'pages/DataPanel',
} }
...@@ -47,11 +47,12 @@ export default function datapanelJsunit() { ...@@ -47,11 +47,12 @@ export default function datapanelJsunit() {
console.error("push DataPanel page error " + JSON.stringify(result)); console.error("push DataPanel page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("DataPanel after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function dividerJsunit() { ...@@ -30,7 +30,7 @@ export default function dividerJsunit() {
} }
describe('dividerTest', function () { describe('dividerTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Divider', uri: 'pages/Divider',
} }
...@@ -46,11 +46,12 @@ export default function dividerJsunit() { ...@@ -46,11 +46,12 @@ export default function dividerJsunit() {
console.error("push divider page error " + JSON.stringify(result)); console.error("push divider page error " + JSON.stringify(result));
} }
await sleep(1) await sleep(1)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Divider after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_0750 * @tc.number SUB_ACE_BASIC_ETS_API_0750
......
...@@ -30,7 +30,7 @@ export default function flexJsunit() { ...@@ -30,7 +30,7 @@ export default function flexJsunit() {
} }
describe('flexTest', function () { describe('flexTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Flex', uri: 'pages/Flex',
} }
...@@ -47,11 +47,12 @@ export default function flexJsunit() { ...@@ -47,11 +47,12 @@ export default function flexJsunit() {
console.error("push Flex page error " + JSON.stringify(result)); console.error("push Flex page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Flex after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_0770 * @tc.number SUB_ACE_BASIC_ETS_API_0770
......
...@@ -30,7 +30,7 @@ export default function gridContainerJsunit() { ...@@ -30,7 +30,7 @@ export default function gridContainerJsunit() {
} }
describe('gridContainerTest', function () { describe('gridContainerTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/GridContainer', uri: 'pages/GridContainer',
} }
...@@ -47,11 +47,12 @@ export default function gridContainerJsunit() { ...@@ -47,11 +47,12 @@ export default function gridContainerJsunit() {
console.error("push GridContainer page error " + JSON.stringify(result)); console.error("push GridContainer page error " + JSON.stringify(result));
} }
await sleep(1) await sleep(1)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("GridContainer after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_0830 * @tc.number SUB_ACE_BASIC_ETS_API_0830
......
...@@ -30,7 +30,7 @@ export default function imageJsunit() { ...@@ -30,7 +30,7 @@ export default function imageJsunit() {
} }
describe('imageTest', function () { describe('imageTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Image', uri: 'pages/Image',
} }
...@@ -47,11 +47,12 @@ export default function imageJsunit() { ...@@ -47,11 +47,12 @@ export default function imageJsunit() {
console.error("push image page error " + JSON.stringify(result)); console.error("push image page error " + JSON.stringify(result));
} }
await sleep(1) await sleep(1)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Image after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function panelJsunit() { ...@@ -30,7 +30,7 @@ export default function panelJsunit() {
} }
describe('panelTest', function () { describe('panelTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Panel', uri: 'pages/Panel',
} }
...@@ -47,11 +47,12 @@ export default function panelJsunit() { ...@@ -47,11 +47,12 @@ export default function panelJsunit() {
console.error(JSON.stringify(result)); console.error(JSON.stringify(result));
} }
await sleep(1) await sleep(1)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Panel after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_0930 * @tc.number SUB_ACE_BASIC_ETS_API_0930
......
...@@ -30,7 +30,7 @@ export default function progressJsunit() { ...@@ -30,7 +30,7 @@ export default function progressJsunit() {
} }
describe('progressTest', function () { describe('progressTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Progress', uri: 'pages/Progress',
} }
...@@ -47,11 +47,12 @@ export default function progressJsunit() { ...@@ -47,11 +47,12 @@ export default function progressJsunit() {
console.error("push Progress page error " + JSON.stringify(result)); console.error("push Progress page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Progress after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function qrcodeJsunit() { ...@@ -30,7 +30,7 @@ export default function qrcodeJsunit() {
} }
describe('QrcodeTest', function () { describe('QrcodeTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Qrcode', uri: 'pages/Qrcode',
} }
...@@ -47,11 +47,12 @@ export default function qrcodeJsunit() { ...@@ -47,11 +47,12 @@ export default function qrcodeJsunit() {
console.error("push Qrcode page error " + JSON.stringify(result)); console.error("push Qrcode page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Qrcode after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function ratingJsunit() { ...@@ -30,7 +30,7 @@ export default function ratingJsunit() {
} }
describe('ratingTest', function () { describe('ratingTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Rating', uri: 'pages/Rating',
} }
...@@ -47,11 +47,12 @@ export default function ratingJsunit() { ...@@ -47,11 +47,12 @@ export default function ratingJsunit() {
console.error("push Rating page error " + JSON.stringify(result)); console.error("push Rating page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Rating after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function rowSplitJsunit() { ...@@ -30,7 +30,7 @@ export default function rowSplitJsunit() {
} }
describe('RowSplitTest', function () { describe('RowSplitTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/RowSplit', uri: 'pages/RowSplit',
} }
...@@ -47,11 +47,12 @@ export default function rowSplitJsunit() { ...@@ -47,11 +47,12 @@ export default function rowSplitJsunit() {
console.error("push RowSplit page error " + JSON.stringify(result)); console.error("push RowSplit page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("RowSplit after each called");
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function ScrollJsunit() { ...@@ -30,7 +30,7 @@ export default function ScrollJsunit() {
} }
describe('scrollTest', function () { describe('scrollTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Scroll', uri: 'pages/Scroll',
} }
...@@ -47,11 +47,12 @@ export default function ScrollJsunit() { ...@@ -47,11 +47,12 @@ export default function ScrollJsunit() {
console.error("push Scroll page error " + JSON.stringify(result)); console.error("push Scroll page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Scroll after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_1020 * @tc.number SUB_ACE_BASIC_ETS_API_1020
......
...@@ -30,7 +30,7 @@ export default function sliderJsunit() { ...@@ -30,7 +30,7 @@ export default function sliderJsunit() {
} }
describe('SliderTest', function () { describe('SliderTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Slider', uri: 'pages/Slider',
} }
...@@ -47,11 +47,12 @@ export default function sliderJsunit() { ...@@ -47,11 +47,12 @@ export default function sliderJsunit() {
console.error("push Slider page error " + JSON.stringify(result)); console.error("push Slider page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Slider after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_1060 * @tc.number SUB_ACE_BASIC_ETS_API_1060
......
...@@ -30,7 +30,7 @@ export default function spanJsunit() { ...@@ -30,7 +30,7 @@ export default function spanJsunit() {
} }
describe('SpanTest', function () { describe('SpanTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Span', uri: 'pages/Span',
} }
...@@ -47,11 +47,12 @@ export default function spanJsunit() { ...@@ -47,11 +47,12 @@ export default function spanJsunit() {
console.error("push Span page error " + JSON.stringify(result)); console.error("push Span page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Span after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_1080 * @tc.number SUB_ACE_BASIC_ETS_API_1080
......
...@@ -30,7 +30,7 @@ export default function StackJsunit() { ...@@ -30,7 +30,7 @@ export default function StackJsunit() {
} }
describe('StackTest', function () { describe('StackTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Stack', uri: 'pages/Stack',
} }
...@@ -47,11 +47,12 @@ export default function StackJsunit() { ...@@ -47,11 +47,12 @@ export default function StackJsunit() {
console.error("push Stack page error " + JSON.stringify(result)); console.error("push Stack page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Stack after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_1110 * @tc.number SUB_ACE_BASIC_ETS_API_1110
......
...@@ -30,7 +30,7 @@ export default function textJsunit() { ...@@ -30,7 +30,7 @@ export default function textJsunit() {
} }
describe('textTest', function () { describe('textTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Text', uri: 'pages/Text',
} }
...@@ -47,11 +47,12 @@ export default function textJsunit() { ...@@ -47,11 +47,12 @@ export default function textJsunit() {
console.error("push Text page error " + JSON.stringify(result)); console.error("push Text page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Text after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_1200 * @tc.number SUB_ACE_BASIC_ETS_API_1200
......
...@@ -31,7 +31,7 @@ export default function alphabetIndexerJsunit() { ...@@ -31,7 +31,7 @@ export default function alphabetIndexerJsunit() {
describe('alphabetIndexerTest', function () { describe('alphabetIndexerTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/AlphabetIndexer', uri: 'pages/AlphabetIndexer',
} }
...@@ -48,11 +48,12 @@ export default function alphabetIndexerJsunit() { ...@@ -48,11 +48,12 @@ export default function alphabetIndexerJsunit() {
console.error("push AlphabetIndexer page error " + JSON.stringify(result)); console.error("push AlphabetIndexer page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("AlphabetIndexer after each called");
}); });
/** /**
......
...@@ -31,7 +31,7 @@ export default function appStorageJsunit() { ...@@ -31,7 +31,7 @@ export default function appStorageJsunit() {
describe('appStorageTest', function () { describe('appStorageTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/AppStorage', uri: 'pages/AppStorage',
} }
...@@ -48,11 +48,12 @@ export default function appStorageJsunit() { ...@@ -48,11 +48,12 @@ export default function appStorageJsunit() {
console.error("push AppStorage page error " + JSON.stringify(result)); console.error("push AppStorage page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("AppStorage after each called");
}); });
......
...@@ -31,7 +31,7 @@ export default function gridItemJsunit() { ...@@ -31,7 +31,7 @@ export default function gridItemJsunit() {
describe('gridItemTest', function () { describe('gridItemTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/GridItem', uri: 'pages/GridItem',
} }
...@@ -48,11 +48,12 @@ export default function gridItemJsunit() { ...@@ -48,11 +48,12 @@ export default function gridItemJsunit() {
console.error("push GridItem page error " + JSON.stringify(result)); console.error("push GridItem page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("GridItem after each called");
}); });
/** /**
......
...@@ -31,7 +31,7 @@ export default function gridJsunit() { ...@@ -31,7 +31,7 @@ export default function gridJsunit() {
describe('gridTest', function () { describe('gridTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Grid', uri: 'pages/Grid',
} }
...@@ -48,11 +48,12 @@ export default function gridJsunit() { ...@@ -48,11 +48,12 @@ export default function gridJsunit() {
console.error("push Grid page error " + JSON.stringify(result)); console.error("push Grid page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Grid after each called");
}); });
/** /**
......
...@@ -31,7 +31,7 @@ export default function hyperlinkJsunit() { ...@@ -31,7 +31,7 @@ export default function hyperlinkJsunit() {
describe('hyperLinkTest', function () { describe('hyperLinkTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/HyperLink', uri: 'pages/HyperLink',
} }
...@@ -48,11 +48,12 @@ export default function hyperlinkJsunit() { ...@@ -48,11 +48,12 @@ export default function hyperlinkJsunit() {
console.error("push HyperLink page error " + JSON.stringify(result)); console.error("push HyperLink page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("HyperLink after each called");
}); });
/** /**
......
...@@ -32,7 +32,7 @@ export default function linkJsunit() { ...@@ -32,7 +32,7 @@ export default function linkJsunit() {
describe('linkTest', function () { describe('linkTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Link', uri: 'pages/Link',
} }
...@@ -49,11 +49,12 @@ export default function linkJsunit() { ...@@ -49,11 +49,12 @@ export default function linkJsunit() {
console.error("push Link page error " + JSON.stringify(result)); console.error("push Link page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Link after each called");
}); });
/** /**
......
...@@ -31,7 +31,7 @@ export default function listItemJsunit() { ...@@ -31,7 +31,7 @@ export default function listItemJsunit() {
describe('listItemTest', function () { describe('listItemTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/ListItem', uri: 'pages/ListItem',
} }
...@@ -48,11 +48,12 @@ export default function listItemJsunit() { ...@@ -48,11 +48,12 @@ export default function listItemJsunit() {
console.error("push ListItem page error " + JSON.stringify(result)); console.error("push ListItem page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("ListItem after each called");
}); });
/** /**
......
...@@ -31,7 +31,7 @@ export default function listJsunit() { ...@@ -31,7 +31,7 @@ export default function listJsunit() {
describe('listTest', function () { describe('listTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/List', uri: 'pages/List',
} }
...@@ -48,11 +48,12 @@ export default function listJsunit() { ...@@ -48,11 +48,12 @@ export default function listJsunit() {
console.error("push List page error " + JSON.stringify(result)); console.error("push List page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("List after each called");
}); });
/** /**
......
...@@ -31,7 +31,7 @@ export default function navigatorJsunit() { ...@@ -31,7 +31,7 @@ export default function navigatorJsunit() {
describe('navigatorTest', function () { describe('navigatorTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Navigator', uri: 'pages/Navigator',
} }
...@@ -48,11 +48,12 @@ export default function navigatorJsunit() { ...@@ -48,11 +48,12 @@ export default function navigatorJsunit() {
console.error("push Navigator page error " + JSON.stringify(result)); console.error("push Navigator page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Navigator after each called");
}); });
/** /**
......
...@@ -31,7 +31,7 @@ export default function panelJsunit() { ...@@ -31,7 +31,7 @@ export default function panelJsunit() {
describe('panelTest', function () { describe('panelTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Panel', uri: 'pages/Panel',
} }
...@@ -48,11 +48,12 @@ export default function panelJsunit() { ...@@ -48,11 +48,12 @@ export default function panelJsunit() {
console.error("push Panel page error " + JSON.stringify(result)); console.error("push Panel page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Panel after each called");
}); });
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_0440 * @tc.number SUB_ACE_BASIC_ETS_API_0440
......
...@@ -31,7 +31,7 @@ export default function propJsunit() { ...@@ -31,7 +31,7 @@ export default function propJsunit() {
describe('propTest', function () { describe('propTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Prop', uri: 'pages/Prop',
} }
...@@ -48,11 +48,12 @@ export default function propJsunit() { ...@@ -48,11 +48,12 @@ export default function propJsunit() {
console.error("push Prop page error " + JSON.stringify(result)); console.error("push Prop page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Prop after each called");
}); });
/** /**
......
...@@ -29,8 +29,7 @@ export default function rowJsunit() { ...@@ -29,8 +29,7 @@ export default function rowJsunit() {
}) })
} }
describe('rowTest', function () { describe('rowTest', function () {
beforeEach(async function(done){
beforeEach(async function{
let options = { let options = {
uri: 'pages/Row', uri: 'pages/Row',
} }
...@@ -47,11 +46,12 @@ export default function rowJsunit() { ...@@ -47,11 +46,12 @@ export default function rowJsunit() {
console.error("push Row page error " + JSON.stringify(result)); console.error("push Row page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Row after each called");
}); });
/** /**
......
...@@ -54,7 +54,7 @@ export default function swiperJsunit() { ...@@ -54,7 +54,7 @@ export default function swiperJsunit() {
describe('swiperTest', function () { describe('swiperTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Swiper', uri: 'pages/Swiper',
} }
...@@ -71,11 +71,12 @@ export default function swiperJsunit() { ...@@ -71,11 +71,12 @@ export default function swiperJsunit() {
console.error("push Swiper page error " + JSON.stringify(result)); console.error("push Swiper page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Swiper after each called");
}); });
/** /**
......
...@@ -31,7 +31,7 @@ export default function tabJsunit() { ...@@ -31,7 +31,7 @@ export default function tabJsunit() {
describe('tabTest', function () { describe('tabTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Tab', uri: 'pages/Tab',
} }
...@@ -48,11 +48,12 @@ export default function tabJsunit() { ...@@ -48,11 +48,12 @@ export default function tabJsunit() {
console.error("push Tab page error " + JSON.stringify(result)); console.error("push Tab page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) await sleep(1)
console.info("await 3s "); console.info("Tab after each called");
}); });
/** /**
......
...@@ -31,7 +31,7 @@ export default function textJsunit() { ...@@ -31,7 +31,7 @@ export default function textJsunit() {
describe('textTest', function () { describe('textTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Text', uri: 'pages/Text',
} }
...@@ -48,11 +48,12 @@ export default function textJsunit() { ...@@ -48,11 +48,12 @@ export default function textJsunit() {
console.error("push Text page error " + JSON.stringify(result)); console.error("push Text page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) console.info("Text after each called")
console.info("await 3s "); await sleep(1)
}); });
/** /**
......
...@@ -30,7 +30,7 @@ export default function videoJsunit() { ...@@ -30,7 +30,7 @@ export default function videoJsunit() {
} }
describe('VideoAppInfoTest', function () { describe('VideoAppInfoTest', function () {
beforeEach(async function{ beforeEach(async function(done){
let options = { let options = {
uri: 'pages/Video', uri: 'pages/Video',
} }
...@@ -47,11 +47,12 @@ export default function videoJsunit() { ...@@ -47,11 +47,12 @@ export default function videoJsunit() {
console.error("push Video page error " + JSON.stringify(result)); console.error("push Video page error " + JSON.stringify(result));
} }
await sleep(2) await sleep(2)
done()
}); });
afterEach(async function{ afterEach(async function{
await sleep(3) console.info("Video after each called");
console.info("await 3s "); await sleep(1)
}); });
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册