From f78f9df29e3655a4bcfe82789a9887b574e53d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Mon, 12 Aug 2024 03:53:33 +0000 Subject: [PATCH 1/2] =?UTF-8?q?update=20cases/smoke/basic/screenshot32/new?= =?UTF-8?q?=5Fscript/resource/apl=5Fcheck=5Flist.json.=20apl=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E9=AA=8C=E8=AF=81=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- .../new_script/resource/apl_check_list.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cases/smoke/basic/screenshot32/new_script/resource/apl_check_list.json b/cases/smoke/basic/screenshot32/new_script/resource/apl_check_list.json index ee9628e..24c61bd 100644 --- a/cases/smoke/basic/screenshot32/new_script/resource/apl_check_list.json +++ b/cases/smoke/basic/screenshot32/new_script/resource/apl_check_list.json @@ -49,7 +49,7 @@ }, { "bundle&processName":"com.ohos.filepicker", - "apl":"2" + "apl":"3" }, { "bundle&processName":"com.ohos.camera", @@ -86,5 +86,13 @@ { "bundle&processName":"com.ohos.devicetest", "apl":"2" + }, + { + "bundle&processName":"com.ohos.screenshot", + "apl":"3" + }, + { + "bundle&processName":"powermgr", + "apl":"3" } ] \ No newline at end of file -- Gitee From e418afaa75aaa36c45ff9c2f45fcf787242e4388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Mon, 12 Aug 2024 03:54:03 +0000 Subject: [PATCH 2/2] =?UTF-8?q?update=20cases/smoke/basic/screenshot32/new?= =?UTF-8?q?=5Fscript/testcases/test=5Fapl=5Fcheck.py.=20apl=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E9=AA=8C=E8=AF=81=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- .../basic/screenshot32/new_script/testcases/test_apl_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cases/smoke/basic/screenshot32/new_script/testcases/test_apl_check.py b/cases/smoke/basic/screenshot32/new_script/testcases/test_apl_check.py index ecf4280..00f394c 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_apl_check.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_apl_check.py @@ -11,7 +11,7 @@ class Test: @pytest.mark.parametrize('setup_teardown', [None], indirect=True) def test(self, setup_teardown, device): - return + #return check_list_file = os.path.join(device.resource_path, 'apl_check_list.json') logging.info('reading {}'.format(check_list_file)) json_data = json.load(open(check_list_file, 'r')) -- Gitee