Exemplo n.º 1
0
class Perf_failed_test(BaseTest):
    common_utils = CommonUtils()
    edit_ticket = Edit_ticket()
    login = Login()
    board = Board()
    workspace = Workspace()
    open_application = Open_application()
    parameters = get_all_parameters()

    def setUp(self):
        pass

    def tearDown(self):
        pass

    # 1. -> 1.1. **** 1.1. -> 1.1.2. **** 1.1.2. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.2. ****
    def test_case_1_to_1_1_2_4_2(self):
        # Input
        self.open_application.open_application_url(
            self.parameters[u'url'][u'login'])
        # Output
        self.login.verify_view()
        # Input
        self.login.sign_in(self.parameters[u'user'])
        # Output
        self.workspace.verify_view()
        # Input
        self.workspace.enter_board(self.parameters[u'board'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
Exemplo n.º 2
0
class Perf_failed_test(BaseTest):
    common_utils = CommonUtils()
    delete_board = Delete_board()
    login = Login()
    workspace = Workspace()
    open_application = Open_application()
    parameters = get_all_parameters()

    def setUp(self):
        pass

    def tearDown(self):
        pass

    # 1. -> 1.1. **** 1.1. -> 1.1.2. **** 1.1.2. -> 1.1.2.3. **** 1.1.2.3. -> 1.1.2. **** 1.1.2. -> 1.1.2.3. ****
    def test_case_1_to_1_1_2_3(self):
        # Input
        self.open_application.open_application_url(
            self.parameters[u'url'][u'login'])
        # Output
        self.login.verify_view()
        # Input
        self.login.sign_in(self.parameters[u'user'])
        # Output
        self.workspace.verify_view()
        # Precondition
        self.workspace.select_board(self.parameters[u'board'])
        # Input
        self.workspace.delete_board()
        # Output
        self.delete_board.verify_view()
        # Input
        self.delete_board.cancel()
        # Output
        self.workspace.verify_view()
        # Precondition
        self.workspace.select_board(self.parameters[u'board'])
        # Input
        self.workspace.delete_board()
        # Output
        self.delete_board.verify_view()
Exemplo n.º 3
0
class Perf_failed_test(BaseTest):
    common_utils = CommonUtils()
    remove_board = Remove_board()
    board = Board()
    workspace = Workspace()
    open_application = Open_application()
    edit_ticket = Edit_ticket()
    login = Login()
    edit_board = Edit_board()
    parameters = get_all_parameters()

    def setUp(self):
        pass

    def tearDown(self):
        pass

    # 1. -> 1.1. **** 1.1. -> 1.1.1. **** 1.1.1. -> 1.1.1.2. **** 1.1.1. -> 1.1.1.1. **** 1.1.1. -> 1.1.1.1. **** 1.1.1. -> 1.1.1.3. **** 1.1.1. -> 1.1.1. **** 1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.2. **** 1.1.1.1.2. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1. **** 1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.2. **** 1.1.1.1.2. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.2. **** 1.1.1.1.2. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1. -> 1.1.1. **** 1.1.1. -> 1.1.1.3. **** 1.1.1.3. -> 1.1.1. **** 1.1.1. -> 1.1.1.1. **** 1.1.1. -> 1.1.1.1. **** 1.1.1. -> 1.1.1.2. **** 1.1.1. -> 1.1.1.2. **** 1.1.1. -> 1.1.1.2. **** 1.1.1. -> 1.1.1.1. **** 1.1.1. -> 1.1.1. **** 1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.2. **** 1.1.1.1.2. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.2. **** 1.1.1.1.2. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1. **** 1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. **** 1.1.1.1. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.2. **** 1.1.1.1.2. -> 1.1.1.1. **** 1.1.1.1. -> 1.1.1.1.1. ****
    def test_case_1_to_1_1_1_1_1(self):
        # Input
        self.open_application.open_application_url(
            self.parameters[u'url'][u'url'])
        # Output
        self.login.verify()
        # Input
        self.login.log_in(self.parameters[u'user'])
        # Output
        self.workspace.verify()
        # Input
        self.workspace.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.workspace.enter_board()
        # Output
        self.board.verify()
        # Input
        self.workspace.enter_board()
        # Output
        self.board.verify()
        # Input
        self.workspace.remove_board()
        # Output
        self.remove_board.verify()
        # Input
        self.workspace.create_board()
        # Output
        self.workspace.verify()
        # Input
        self.workspace.enter_board()
        # Output
        self.board.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.edit_ticket.delete()
        # Output
        self.board.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.edit_ticket.delete()
        # Output
        self.board.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.edit_board.change_name(self.parameters[u'board'])
        # Output
        self.board.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.back_to_workspace()
        # Output
        self.workspace.verify()
        # Input
        self.workspace.enter_board()
        # Output
        self.board.verify()
        # Input
        self.board.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.edit_board.change_name(self.parameters[u'board'])
        # Output
        self.board.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.edit_board.change_name(self.parameters[u'board'])
        # Output
        self.board.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.edit_ticket.delete()
        # Output
        self.board.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.board.back_to_workspace()
        # Output
        self.workspace.verify()
        # Input
        self.workspace.remove_board()
        # Output
        self.remove_board.verify()
        # Input
        self.remove_board.remove()
        # Output
        self.workspace.verify()
        # Input
        self.workspace.enter_board()
        # Output
        self.board.verify()
        # Input
        self.workspace.enter_board()
        # Output
        self.board.verify()
        # Input
        self.workspace.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.workspace.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.workspace.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.workspace.enter_board()
        # Output
        self.board.verify()
        # Input
        self.workspace.create_board()
        # Output
        self.workspace.verify()
        # Input
        self.workspace.enter_board()
        # Output
        self.board.verify()
        # Input
        self.board.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.edit_board.change_name(self.parameters[u'board'])
        # Output
        self.board.verify()
        # Input
        self.board.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.edit_board.change_name(self.parameters[u'board'])
        # Output
        self.board.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.edit_ticket.change_content(self.parameters[u'ticket'])
        # Output
        self.board.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.back_to_workspace()
        # Output
        self.workspace.verify()
        # Input
        self.workspace.enter_board()
        # Output
        self.board.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
        # Input
        self.board.create_ticket()
        # Output
        self.board.verify()
        # Input
        self.board.edit_board()
        # Output
        self.edit_board.verify()
        # Input
        self.edit_board.change_name(self.parameters[u'board'])
        # Output
        self.board.verify()
        # Input
        self.board.edit_ticket()
        # Output
        self.edit_ticket.verify()
Exemplo n.º 4
0
class Perf_failed_test(BaseTest):
    common_utils = CommonUtils()    
    delete_ticket = Delete_ticket()
    board = Board()
    workspace = Workspace()
    open_application = Open_application()
    edit_ticket = Edit_ticket()
    login = Login()
    create_ticket = Create_ticket()
    guest_login = Guest_login()
    parameters = get_all_parameters()
    
    
    def setUp(self):
        pass
        
    def tearDown(self):
        pass

    
    # 1. -> 1.2. **** 1. -> 1.1. **** 1.1. -> 1.1.2. **** 1.1.2. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.3. **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4. -> 1.1.2.4.3. **** 1.1.2.4. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.3. **** 1.1.2.4.3. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4.2. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4.2. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4.2. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.3. **** 1.1.2.4.3. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.3. **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4.2. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.3. **** 1.1.2.4.3. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4.2. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4.2. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4. **** 1.1.2.4. -> 1.1.2.4.3. **** 1.1.2.4.3. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.3. **** 1.1.2.4.3. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.2. **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.1. **** 1.1.2.4.1. -> 1.1.2.4.__1 **** 1.1.2.4. -> 1.1.2.4.2. **** 
    def test_case_1_to_1_1_2_4_2(self):
        # Input
        self.open_application.open_application_url(u'www.google.com')
        # Output
        self.guest_login.verify_view()
        # Input
        self.open_application.open_application_url(self.parameters[u'url'][u'login'])
        # Output
        self.login.verify_view()
        # Input
        self.login.sign_in(self.parameters[u'user'])
        # Output
        self.workspace.verify_view()
        # Input
        self.workspace.enter_board(self.parameters[u'board'])
        # Output
        self.board.verify_view()
        # Precondition
        self.board.select_ticket(self.parameters[u'ticket'])
        # Input
        self.board.delete_ticket()
        # Output
        self.delete_ticket.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Precondition
        self.board.select_ticket(self.parameters[u'ticket'])
        # Input
        self.board.delete_ticket()
        # Output
        self.delete_ticket.verify_view()
        # Input
        self.board.move_ticket(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.cancel()
        # Output
        self.board.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Precondition
        self.board.select_ticket(self.parameters[u'ticket'])
        # Input
        self.board.delete_ticket()
        # Output
        self.delete_ticket.verify_view()
        # Input
        self.delete_ticket.delete()
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.board.move_ticket(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.edit_ticket.edit(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.edit_ticket.edit(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.cancel()
        # Output
        self.board.verify_view()
        # Input
        self.board.move_ticket(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.edit_ticket.edit(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Precondition
        self.board.select_ticket(self.parameters[u'ticket'])
        # Input
        self.board.delete_ticket()
        # Output
        self.delete_ticket.verify_view()
        # Input
        self.delete_ticket.delete()
        # Output
        self.board.verify_view()
        # Input
        self.board.move_ticket(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Precondition
        self.board.select_ticket(self.parameters[u'ticket'])
        # Input
        self.board.delete_ticket()
        # Output
        self.delete_ticket.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.move_ticket(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.move_ticket(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.edit_ticket.cancel()
        # Output
        self.board.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Precondition
        self.board.select_ticket(self.parameters[u'ticket'])
        # Input
        self.board.delete_ticket()
        # Output
        self.delete_ticket.verify_view()
        # Input
        self.delete_ticket.delete()
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.move_ticket(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.edit_ticket.edit(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.edit_ticket.edit(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.move_ticket(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Precondition
        self.board.select_ticket(self.parameters[u'ticket'])
        # Input
        self.board.delete_ticket()
        # Output
        self.delete_ticket.verify_view()
        # Input
        self.delete_ticket.delete()
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Precondition
        self.board.select_ticket(self.parameters[u'ticket'])
        # Input
        self.board.delete_ticket()
        # Output
        self.delete_ticket.verify_view()
        # Input
        self.delete_ticket.delete()
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.create_ticket()
        # Output
        self.create_ticket.verify_view()
        # Input
        self.create_ticket.create(self.parameters[u'ticket'])
        # Output
        self.board.verify_view()
        # Input
        self.board.edit_ticket(self.parameters[u'ticket'])
        # Output
        self.edit_ticket.verify_view()