!3984 【Sample】Autofill自动填充能力Sample 根据开发变更对应测试代码

Merge pull request !3984 from xinking129/AutoFillChangeTest
This commit is contained in:
openharmony_ci 2024-01-17 10:01:42 +00:00 committed by Gitee
commit b1930f00ba
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -94,10 +94,6 @@ export default function abilityTest() {
let savePage = await driver.findComponent(ON.id('Save'));
await driver.delayMs(1000);
await expect(savePage != null).assertTrue();
await driver.delayMs(1000);
await driver.pressBack();
await driver.delayMs(500);
await driver.pressBack();
done();
})
@ -164,6 +160,8 @@ export default function abilityTest() {
expect(userNameInfo).assertEqual('user2');
Logger.info(TAG, 'AutoFill_UserNameTextInput_001 end');
await driver.pressBack();
await driver.delayMs(500);
await driver.pressBack();
done();
})