提交 22b78f40 编写于 作者: S shenchunping

add test cases

Signed-off-by: Nshenchunping <shenchunping@kaihongdigi.com>
上级 444a3036
......@@ -127,8 +127,10 @@
"pages/tab-content/router/index",
"pages/tab-content/prop/index",
"pages/svg_text/index",
"pages/video/index",
"pages/gridContainer/index",
"pages/video/prop/index",
"pages/video/router/index",
"pages/gridContainer/prop/index",
"pages/gridContainer/router/index",
"pages/gridRow/index",
"pages/gridCol/index",
"pages/canvas/index",
......
......@@ -55,3 +55,5 @@ require('./ratingProps.test.js')
require('./inputProps.test.js')
require('./imageAnimatorProps.test.js')
require('./textareaProps.test.js')
require('./videoProps.test.js')
require('./gridContainerProps.test.js')
\ No newline at end of file
......@@ -996,7 +996,7 @@ describe('aceJsTest', function () {
it('testVideoComponent', 0, async function (done) {
let result;
let options = {
uri: 'pages/video/index'
uri: 'pages/video/router/index'
}
try {
result = router.push(options)
......@@ -1007,7 +1007,7 @@ describe('aceJsTest', function () {
await sleep(5000)
let pages = router.getState();
console.info("[router.video] getState" + JSON.stringify(pages));
expect("pages/video/").assertEqual(pages.path);
expect("pages/video/router/").assertEqual(pages.path);
done();
});
......@@ -1042,7 +1042,7 @@ describe('aceJsTest', function () {
it('testGridContainerComponent', 0, async function (done) {
let result;
let options = {
uri: 'pages/gridContainer/index'
uri: 'pages/gridContainer/router/index'
}
try {
result = router.push(options)
......@@ -1053,7 +1053,7 @@ describe('aceJsTest', function () {
await sleep(5000)
let pages = router.getState();
console.info("[router.gridContainer] getState" + JSON.stringify(pages));
expect("pages/gridContainer/").assertEqual(pages.path);
expect("pages/gridContainer/router/").assertEqual(pages.path);
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册