web-view.test.js 447 字节
Newer Older
shutao-dc's avatar
shutao-dc 已提交
1 2 3 4 5 6 7 8 9 10 11
// uni-app自动化测试教程: uni-app自动化测试教程: https://uniapp.dcloud.net.cn/worktile/auto/hbuilderx-extension/

describe('component-native-web-view', () => {

    let page;
    beforeAll(async () => {
        page = await program.reLaunch('/pages/component/web-view/web-view');
        await page.waitFor(3000);
    });

    it('check_load_url', async () => {
shutao-dc's avatar
shutao-dc 已提交
12
        //expect(await page.data('loadError')).toBe(false)
shutao-dc's avatar
shutao-dc 已提交
13 14
    });
});