From 9142a8e43bbe92d7e342c841461ea8f3cbed18a7 Mon Sep 17 00:00:00 2001 From: zhangxiquan Date: Sat, 30 Nov 2024 03:45:42 +0000 Subject: [PATCH] * [misc] Common checkiframe unit testing. --- module/common/test/model/checkiframe.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/module/common/test/model/checkiframe.php b/module/common/test/model/checkiframe.php index f49870ae96..05d533c4f5 100755 --- a/module/common/test/model/checkiframe.php +++ b/module/common/test/model/checkiframe.php @@ -8,9 +8,11 @@ title=测试 commonModel::checkIframe(); timeout=0 cid=1 -- 查看任务一和任务二的描述差异长度 @77 -- 查看返回的差异中标签的位置 @44 -- 查看返回的差异中标签的位置 @5 +- 查看任务一和任务二的描述差异长度 @1 +- 查看返回的差异中标签的位置 查看返回的差异中标签的位置 @1 +- 查看实例的终端页面是否要在iframe中打开 @1 +- 查看实例的日志页面是否要在iframe中打开 @1 +- 查看实例的事件页面是否要在iframe中打开 @1 */ @@ -32,3 +34,7 @@ r($tester->common->checkIframe()) && p() && e('1'); $app->moduleName = 'instance'; $app->methodName = 'logs'; r($tester->common->checkIframe()) && p() && e('1'); + +$app->moduleName = 'instance'; +$app->methodName = 'events'; +r($tester->common->checkIframe()) && p() && e('1');