def test_review_submission_author(login): create_author.go_to() create_author.submit_author(input_author_data) holding_panel_author_list.go_to() holding_panel_author_list.load_submission_record(input_author_data) holding_panel_author_detail.go_to() holding_panel_author_detail.load_submitted_record(input_author_data) assert holding_panel_author_detail.review_record().has_error()
def test_accept_author(login): create_author.go_to() create_author.submit_author(INPUT_AUTHOR_DATA) holding_panel_author_list.go_to() holding_panel_author_list.load_submission_record(INPUT_AUTHOR_DATA) holding_panel_author_detail.go_to() holding_panel_author_detail.load_submitted_record(INPUT_AUTHOR_DATA) assert holding_panel_author_detail.accept_record().has_error()