Example #1
0
    def test_create_issue(self, browser, baseurl):
        page_object = Page(browser, baseurl)
        page_object.go_to_url()
        page_object.open_new_task_anonymously()

        issue_page_object = IssuePage(browser, baseurl)
        issue_page_object.create_anon_issue(
            "Test anon issue", "Testing anonymous issue submission",
            "*****@*****.**")

        popup = browser.find_element_by_class_name("success")
        assert popup.text == "Your new task has been added."
Example #2
0
 def test_step1_goto_page(self, browser, baseurl):
     page_object = Page(browser, baseurl)
     page_object.go_to_url()