Changeset 1551

Show
Ignore:
Timestamp:
22-02-11 17:45:11 (3 years ago)
Author:
work@…
Message:

- fixed webtests to work properly in hudson (which means, they only work after doing grails test-app, and not individually running a webtest to differences in Identity)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/test/webtest/gscf/CreateStudyWebTests.groovy

    r1430 r1551  
    5656                clickButton "Add" 
    5757                clickButton "add a new eventgroup" 
    58                 setCheckbox(name: "event_15_group_13") 
    59                 setCheckbox(name: "event_15_group_16") 
     58                setCheckbox(name: "event_51_group_49") 
     59                setCheckbox(name: "event_51_group_52") 
    6060                setRadioButton(description: "Check radio button eventType: sample", name: "eventType", value: "sample") 
    6161                setSelectField(name: "sampleTemplate", text: "Blood extraction") 
     
    6666                setInputField(name: "starttime", value: "1w") 
    6767                clickButton "Add" 
    68                 setCheckbox(name: "event_18_group_13") 
    69                 setCheckbox(name: "event_19_group_16") 
     68                setCheckbox(name: "event_54_group_49") 
     69                setCheckbox(name: "event_55_group_52") 
    7070                setRadioButton(description: "Check radio button eventType: event", name: "eventType", value: "event") 
    7171                setSelectField(name: "eventTemplate", text: "Compound challenge") 
    7272                setSelectField(name: "compound", text: "glucose") 
    7373                clickButton "Add" 
    74                 setCheckbox(name: "event_20_group_13") 
    75                 setCheckbox(name: "event_20_group_16") 
     74                setCheckbox(name: "event_56_group_49") 
     75                setCheckbox(name: "event_56_group_52") 
    7676 
    7777                /* stub to test ontology term widget 
     
    8686 
    8787                // assign subjects to event groups 
    88                 setCheckbox(name: "subject_3_group_13") 
    89                 setCheckbox(name: "subject_4_group_13") 
    90                 setCheckbox(name: "subject_5_group_13") 
    91                 setCheckbox(name: "subject_6_group_16") 
    92                 setCheckbox(name: "subject_7_group_16") 
    93                 setCheckbox(name: "subject_8_group_16") 
     88                setCheckbox(name: "subject_39_group_49") 
     89                setCheckbox(name: "subject_40_group_49") 
     90                setCheckbox(name: "subject_41_group_49") 
     91                setCheckbox(name: "subject_42_group_52") 
     92                setCheckbox(name: "subject_43_group_52") 
     93                setCheckbox(name: "subject_44_group_52") 
    9494                clickButton "next »" 
    9595 
     
    114114                clickButton "next »" 
    115115 
    116                 setCheckbox(name: "sample_21_assay_27") 
     116                setCheckbox(name: "sample_60_assay_63") 
    117117                clickButton "next »" 
    118118                clickButton "next »"