diff --git a/.gitattributes b/.gitattributes index 51c63e295..e3637349a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,3 +13,4 @@ *.so filter=lfs diff=lfs merge=lfs -text *.bin filter=lfs diff=lfs merge=lfs -text *.dll filter=lfs diff=lfs merge=lfs -text +*.har filter=lfs diff=lfs merge=lfs -text diff --git a/code/Solutions/Shopping/OrangeShopping/entry/src/ohosTest/ets/test/Ability.test.ets b/code/Solutions/Shopping/OrangeShopping/entry/src/ohosTest/ets/test/Ability.test.ets index 693c10ff0..341c076ac 100644 --- a/code/Solutions/Shopping/OrangeShopping/entry/src/ohosTest/ets/test/Ability.test.ets +++ b/code/Solutions/Shopping/OrangeShopping/entry/src/ohosTest/ets/test/Ability.test.ets @@ -57,6 +57,8 @@ export default function abilityTest() { await agree.click(); await driver.delayMs(1000); await agree.click(); + await driver.delayMs(1000); + await agree.click(); await driver.delayMs(2000); // 允许通知 await driver.assertComponentExist(ON.text(await resourceManager.getStringValue($r('app.string.allow'))));