def test_review_submission_author(login):
    author_submission_form.go_to()
    author_submission_form.submit_author(INPUT_AUTHOR_DATA)
    holdingpen_author_list.go_to()
    holdingpen_author_list.load_submission_record(INPUT_AUTHOR_DATA)
    holdingpen_author_detail.go_to()
    holdingpen_author_detail.load_submitted_record(INPUT_AUTHOR_DATA)

    holdingpen_author_detail.review_record(INPUT_AUTHOR_DATA).assert_has_no_errors()
예제 #2
0
def test_curation_author(login):
    author_submission_form.go_to()
    author_submission_form.submit_author(INPUT_AUTHOR_DATA)
    holdingpen_author_list.go_to()
    holdingpen_author_list.load_submission_record(INPUT_AUTHOR_DATA)
    holdingpen_author_detail.go_to()
    holdingpen_author_detail.load_submitted_record(INPUT_AUTHOR_DATA)

    holdingpen_author_detail.curation_record().assert_has_no_errors()
def test_mandatory_fields(login):
    expected_data = {
        'given-name': 'This field is required.',
        'display-name': 'This field is required.',
        'reserach-field': 'This field is required.'
    }

    author_submission_form.go_to()

    author_submission_form.submit_empty_form(expected_data).assert_has_no_errors()
예제 #4
0
def test_mandatory_fields(login):
    expected_data = {
        'given-name': 'This field is required.',
        'display-name': 'This field is required.',
        'reserach-field': 'This field is required.'
    }

    author_submission_form.go_to()

    author_submission_form.submit_empty_form(
        expected_data).assert_has_no_errors()
def test_advisors_typehead(login):
    author_submission_form.go_to()

    author_submission_form.write_advisor('alexe', 'Vorobyev, Alexey').assert_has_no_errors()
def test_experiments_typehead(login):
    author_submission_form.go_to()

    author_submission_form.write_experiment('atl', 'ATLAS').assert_has_no_errors()
def test_institutions_typeahead(login):
    author_submission_form.go_to()

    author_submission_form.write_institution('cer', 'CERN').assert_has_no_errors()
예제 #8
0
def test_advisors_typehead(login):
    author_submission_form.go_to()

    author_submission_form.write_advisor(
        'alexe', 'Vorobyev, Alexey').assert_has_no_errors()
예제 #9
0
def test_experiments_typehead(login):
    author_submission_form.go_to()

    author_submission_form.write_experiment('atl',
                                            'ATLAS').assert_has_no_errors()
예제 #10
0
def test_institutions_typeahead(login):
    author_submission_form.go_to()

    author_submission_form.write_institution('cer',
                                             'CERN').assert_has_no_errors()