diff --git a/ArkWebKit/LifecycleWebComp/entry/src/ohosTest/ets/test/Ability.test.ets b/ArkWebKit/LifecycleWebComp/entry/src/ohosTest/ets/test/Ability.test.ets index 72a538fe044d7e7dbbac4010a47249c3eeabeeb7..55df11efb7abae6a9548ac222e2678d1efda4b41 100644 --- a/ArkWebKit/LifecycleWebComp/entry/src/ohosTest/ets/test/Ability.test.ets +++ b/ArkWebKit/LifecycleWebComp/entry/src/ohosTest/ets/test/Ability.test.ets @@ -56,7 +56,7 @@ export default function abilityTest() { const type = await driver.findComponent(ON.type('Web')); let src: string = await type.getText(); - expect(src).assertContain('index.html'); + expect(src).assertContain('www.example.com'); done(); }) diff --git a/ArkWebKit/ManageWebPageInteracts/entry/src/ohosTest/ets/test/Ability.test.ets b/ArkWebKit/ManageWebPageInteracts/entry/src/ohosTest/ets/test/Ability.test.ets index e0920e04b9a2334571a36243ec6f956dc29f1d44..11063cac962d7893864c51bbc4eb393433699065 100755 --- a/ArkWebKit/ManageWebPageInteracts/entry/src/ohosTest/ets/test/Ability.test.ets +++ b/ArkWebKit/ManageWebPageInteracts/entry/src/ohosTest/ets/test/Ability.test.ets @@ -126,7 +126,7 @@ export default function abilityTest() { const web1 = await driver.findComponent(ON.type('Web')); let src: string = await web1.getText(); - expect(src).assertContain('SetSKBModeIndex.html'); + expect(src).assertContain('index.html'); await driver.pressBack(); console.info('uitest: SetSKBMode_one end'); diff --git a/ArkWebKit/ManageWebPageLoadBrowse/NetReqInterceptCacheWinOps/entry3/src/main/ets/entry3ability/Entry3Ability.ets b/ArkWebKit/ManageWebPageLoadBrowse/NetReqInterceptCacheWinOps/entry3/src/main/ets/entry3ability/Entry3Ability.ets index 344e072d368db8b167c8ed4e541590c27e2e2cf0..28909b8cf9f8b56198400b88b76e5488d6fa34ee 100644 --- a/ArkWebKit/ManageWebPageLoadBrowse/NetReqInterceptCacheWinOps/entry3/src/main/ets/entry3ability/Entry3Ability.ets +++ b/ArkWebKit/ManageWebPageLoadBrowse/NetReqInterceptCacheWinOps/entry3/src/main/ets/entry3ability/Entry3Ability.ets @@ -31,8 +31,6 @@ export default class Entry3Ability extends UIAbility { } // [EndExclude create_main_window] -// ... - onWindowStageCreate(windowStage: window.WindowStage): void { hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); diff --git a/ArkWebKit/ManageWebPageLoadBrowse/NetReqInterceptCacheWinOps/entry3/src/main/ets/pages/common.ets b/ArkWebKit/ManageWebPageLoadBrowse/NetReqInterceptCacheWinOps/entry3/src/main/ets/pages/common.ets index 1e09441c78f9944eb5268dd883c7063cdbba28d1..7c0f0225dcde9475577bb0be23ca1caaea6cb782 100644 --- a/ArkWebKit/ManageWebPageLoadBrowse/NetReqInterceptCacheWinOps/entry3/src/main/ets/pages/common.ets +++ b/ArkWebKit/ManageWebPageLoadBrowse/NetReqInterceptCacheWinOps/entry3/src/main/ets/pages/common.ets @@ -20,7 +20,7 @@ import { UIContext, NodeController, BuilderNode, FrameNode } from '@kit.ArkUI'; import { webview } from '@kit.ArkWeb'; import { hilog } from '@kit.PerformanceAnalysisKit'; -export const defaultUrl : string = 'www.example.com'; +export const defaultUrl : string = 'https://www.example.com'; // Data为入参封装类 class Data{ diff --git a/ArkWebKit/SetBasicAttrsEvts/SetBasicAttrsEvtsOne/build-profile.json5 b/ArkWebKit/SetBasicAttrsEvts/SetBasicAttrsEvtsOne/build-profile.json5 deleted file mode 100644 index 2c271e0fb68da94dec885ef0c41815bde9157598..0000000000000000000000000000000000000000 --- a/ArkWebKit/SetBasicAttrsEvts/SetBasicAttrsEvtsOne/build-profile.json5 +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright (c) 2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -{ - "app": { - "signingConfigs": [], - "products": [ - { - "name": "default", - "signingConfig": "default", - "compatibleSdkVersion": "6.0.0(20)", - "targetSdkVersion": "6.0.0(20)", - "runtimeOS": "HarmonyOS", - } - ], - "buildModeSet": [ - { - "name": "debug", - }, - { - "name": "release" - } - ] - }, - "modules": [ - { - "name": "entry", - "srcPath": "./entry", - "targets": [ - { - "name": "default", - "applyToProducts": [ - "default" - ] - } - ] - } - ] -} \ No newline at end of file