diff --git a/env.js b/env.js index 4f813a014adc867b1edc511963f0c8e888c724e7..2cad9e71760d3004aa9feaaf73548c11c2a90af4 100644 --- a/env.js +++ b/env.js @@ -19,9 +19,9 @@ module.exports = { "app-plus": { "android": { "id": "a6160e9d", - "executablePath": "D:\\HX\\alpha-3.1.3\\HBuilderX\\plugins\\launcher\\base\\android_base.apk" + "executablePath": "D:\\HX\\正式\\HBuilderX\\plugins\\launcher\\base\\android_base.apk" }, - "version": "D:\\HX\\alpha-3.1.3\\HBuilderX\\plugins\\launcher\\base\\version.txt", + "version": "D:\\HX\\正式\\HBuilderX\\plugins\\launcher\\base\\version.txt", "ios": { "id": "", "executablePath": "" diff --git a/jest.config.js b/jest.config.js index 7526eb90dbf370d6a3d0e7ec6f6af3baafce216b..09a44eb8ffca3250b7c5a3f36aa983d26834192b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -8,7 +8,7 @@ module.exports = { moduleFileExtensions: ['js', 'json'], rootDir: __dirname, testMatch: ["/pages/**/*test.[jt]s?(x)"], - // testMatch: ["/pages/ucenter/settings/settings.test.js"], + // testMatch: ["/pages/ucenter/about/about.test.js"], testPathIgnorePatterns: ['/node_modules/'], testSequencer:path.join(__dirname, "testSequencer.js") } diff --git a/pages/ucenter/login-page/register/register.test.js b/pages/ucenter/login-page/register/register.test.js index f34c96e38ef13f10d775a18474de67471ef0dec1..5df7e8e5f3c649d3b1c7af3375cbd5b1926dc4a2 100644 --- a/pages/ucenter/login-page/register/register.test.js +++ b/pages/ucenter/login-page/register/register.test.js @@ -6,8 +6,10 @@ describe('pages/ucenter/login-page/register/register.vue', () => { let page beforeAll(async () => { - page = await program.redirectTo('/pages/ucenter/login-page/register/register') + page = await program.navigateTo('/pages/ucenter/login-page/register/register') await page.waitFor(500) + //navigateTo + //redirectTo }) it('注册账号', async () => { @@ -25,7 +27,7 @@ describe('pages/ucenter/login-page/register/register.vue', () => { 'pwd2': pwd2 }, }) - // console.log(await page.data('formData'),"0000000000000"); + console.log(await page.data('formData'),"0000000000000"); expect(username).toMatch(/^.{3,20}$/); expect(password).toMatch(/^.{6,20}$/); diff --git a/static/screenshot/about-app.png b/static/screenshot/about-app.png index 7984b9dbfd146ffadbc0c9d316b6487c240737c8..74a078f991bab4fff082c023ce9789279328c991 100644 Binary files a/static/screenshot/about-app.png and b/static/screenshot/about-app.png differ diff --git a/static/screenshot/about-h5.png b/static/screenshot/about-h5.png index 34ef8baadb33e4684612106d832d975d5fb11a4e..e346fa31a132573bca651d6c7ec2cfec2507a6e8 100644 Binary files a/static/screenshot/about-h5.png and b/static/screenshot/about-h5.png differ