Commit 9405003b authored by 龚小红's avatar 龚小红

Merge branch 'Feature/20211130-gxh' into 'master'

增加编写用例时自测的到场类和测试文件

See merge request test-group/kejiji!175
parents 0e21d52c 3d74cc18
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="直播" verbose="1" thread-count="3">
<!-->专用于自测</!-->
<test preserve-order="true" name="创建直播">
<classes>
<class name="com.kjj.cases.live.liveConfig.SaveLive"/>
</classes>
</test>
<test preserve-order="true" name="配置秒杀轮次及秒杀预告">
<classes>
<class name="com.kjj.cases.live.secondKill.ConfSecondKill"/>
</classes>
</test>
<test preserve-order="true" name="绑定关系绑定">
<classes>
<class name="com.kjj.cases.live.liveConfig.LiveBinding"/>
</classes>
</test>
<test preserve-order="true" name="助播-开启直播">
<classes>
<class name="com.kjj.cases.live.anchor.OpenLive"/>
</classes>
</test>
<test preserve-order="true" name="用户到场">
<classes>
<class name="com.kjj.cases.live.liveConfig.ConnectLive"/>
</classes>
</test>
<test preserve-order="true" name="秒杀互动">
<classes>
<class name="com.kjj.cases.live.secondKill.SecondKill"/>
</classes>
</test>
</suite>
package com.kjj.cases.live.liveConfig;
import com.kjj.cases.admin.Authorization;
import org.testng.annotations.Test;
import static com.kjj.utils.BaseUtils.connectSuccess;
public class ConnectLive implements Authorization {
//仅用于自测,直播中抽奖、秒杀需要调到场接口
@Test(description = "用户到场", priority = 1)
public void 用户到场() {
agentAuth();
connectSuccess();
visitorAuth1();
connectSuccess();
visitorAuto1();
connectSuccess();
visitorAuth7();
connectSuccess();
visitorAuth9();
connectSuccess();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment