提交 424eb6c2 编写于 作者: Anne_LXM's avatar Anne_LXM

test timeout

上级 bb0a0961
const path = require('path'); const path = require('path');
module.exports = { module.exports = {
testTimeout: 20000, testTimeout: 50000,
reporters: [ reporters: [
'default' 'default'
], ],
......
// uniapp自动化测试教程: https://uniapp-test.dcloud.net.cn/docs/testcase/start // uniapp自动化测试教程: https://uniapp-test.dcloud.net.cn/docs/testcase/start
jest.setTimeout(20000); jest.setTimeout(30000);
const PAGE_PATH = '/pages/ucenter/settings/settings' const PAGE_PATH = '/pages/ucenter/settings/settings'
describe('settings', () => { describe('settings', () => {
let page,hasLogin; let page,hasLogin;
......
jest.setTimeout(20000); jest.setTimeout(30000);
const PAGE_PATH = '/pages/ucenter/ucenter' const PAGE_PATH = '/pages/ucenter/ucenter'
describe('ucenter', () => { describe('ucenter', () => {
let page,platform,hasLogin; let page,platform,hasLogin;
......
// uni-app自动化测试教程: uni-app自动化测试教程: https://uniapp.dcloud.io/collocation/auto/hbuilderx-extension/index // uni-app自动化测试教程: uni-app自动化测试教程: https://uniapp.dcloud.io/collocation/auto/hbuilderx-extension/index
const PAGE_PATH = '/uni_modules/uni-id-pages/pages/userinfo/userinfo' const PAGE_PATH = '/uni_modules/uni-id-pages/pages/userinfo/userinfo'
jest.setTimeout(30000);
describe('userinfo',() => { describe('userinfo',() => {
let page,hasLogin; let page,hasLogin;
beforeAll(async () => { beforeAll(async () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册