提交 8c4487a3 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

implement i118 printer with singleten pattern

上级 0358dcd0
text @ 342b2e1f
Subproject commit 342b2e1fbaa52c93f31447ad2c6abc048c63e475
<?php
<<<TC
title: 用户登录
caseId: 100
steps:
step1000 // 打开登录页面
step1010 // 输入正确的用户名和密码
@step1020 // 点击'登录'按钮
expects:
@file
TC;
echo "sss\n";
echo "222\n";
?>
#
<@step2010 期望结果, 可以有多行>
#
<@step2104 期望结果, 可以有多行>
<?php
<<<TC
title: 登录失败账号锁定策略
caseId: 200
steps:
step2000 // 连续输入3次错误的密码
@step2010 // 第4次尝试登录
group2100 // 不连续输入3次错误的密码
step2101 // 输入2次错误的密码
step2102 // 输入1次正确的密码
step2103 // 再输入1次错误的密码
@step2104 // 再输入1次正确的密码
expects:
@file
TC;
// 此处编写操作步骤代码
# @step2010 - 系统提示账号被锁定
// 此处编写上述验证点代码,输出实际结果, 可以有多行
# @step2104 - 登录成功,账号未被锁定
// 此处编写上述验证点代码
?>
<?php
<<<TC
title: 注册
caseId: 300
steps:
expects:
@file
TC;
// 此处编写操作步骤代码
?>
<?php
<<<TC
title: 忘记密码
caseId: 400
steps:
expects:
@file
TC;
// 此处编写操作步骤代码
?>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册