mirror of
https://gitee.com/openharmony/applications_app_samples
synced 2024-11-27 10:40:41 +00:00
!3984 【Sample】Autofill自动填充能力Sample 根据开发变更对应测试代码
Merge pull request !3984 from xinking129/AutoFillChangeTest
This commit is contained in:
commit
b1930f00ba
@ -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();
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user