Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp/webapp/features/researcher_adds_images_to_options.feature
blob: 33f1d2564db7cdc9a3959d60ba4189757f357391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Feature: Researcher adds images to options
    As a Researcher
    I want to add images to multiple-images questions
    So that the respondent can choose an image

    Scenario: A new poll
        Given I am logged in as "Researcher"
        And create a new poll "poll1"
        And I visit the "Modificar estructura" page for "poll1" poll
        And add a group "grupo1"
        And add a question "pregunta1" as "ImageCheckBox"
        And add a option "opción1" with weight "1" and image "nada1.jpg"
        When I click on "save"
        Then I should see a message that says "guardada correctamente"
        And an image is in option "opción1"