Files
smart-management-auto-test/zhyy/test_case/TestCase/UI自动化/parent/vispark/test.py

35 lines
1.1 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- coding: utf-8 -*-
# __author__ = 'xinjiu.qiao'
import allure
@allure.feature('ViSpark 登录前及登录测试')
class TestLogin(object):
@allure.story("[login登录--001]")
@allure.title("[login家长端首页进入登录验证--001]")
def test_login_case(self):
# nickname = user_info.get("nickname")
# 步骤1(建议一个页面用一个步骤)
print("第一步")
assert 1==1
print("第二把")
@allure.story("[login登录--003]")
@allure.title("[login家长端首页进入登录验证--003]")
def test_login_case2(self):
# nickname = user_info.get("nickname")
# 步骤1(建议一个页面用一个步骤)
print("第3步")
allure.description("这是一条失败的用例")
assert 1 == 2
@allure.story("[login登录--005]")
@allure.title("[login家长端首页进入登录验证--005]")
def test_login_case3(self):
# nickname = user_info.get("nickname")
# 步骤1(建议一个页面用一个步骤)
print("第5步")
assert 1 == 1
print("第6把")