test_t1_45_ViewTheListDashboard.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:test-automation 作者: openstax 项目源码 文件源码
def test_student_view_the_assignemnts_for_the_current_week_8271(self):
        """View the assignments for the current week.

        Steps:
        If the user has more than one course, select a Tutor course

        Expected Result:
        The Assignemnts for the current week are displayed
        """
        self.ps.test_updates['name'] = 't1.45.004' \
            + inspect.currentframe().f_code.co_name[4:]
        self.ps.test_updates['tags'] = ['t1', 't1.45', 't1.45.004', '8271']
        self.ps.test_updates['passed'] = False

        # Test steps and verification assertions
        self.student.select_course(appearance='physics')
        self.student.wait.until(
            expect.visibility_of_element_located(
                (By.LINK_TEXT, 'This Week')
            )
        )

        self.ps.test_updates['passed'] = True

    # Case C8272 - 005 - Student | View the upcoming assignments
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号