Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp/webapp/features/upload_poll_result.feature
blob: fa01a95591363da9358d7bbed4902e83c3c1dc6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Feature: Upload .poll_result files
    As a pollster
    I want to upload .poll_result files
    So that researcher can compute them like a chunk of the whole poll result

    Scenario: Upload one valid .poll_result file
        Given I am a pollster: "encuestador1"
        And "poll1" is "Cerrada"
        And "encuestador1" is binded to "poll1"
        And "valid.poll_result" is authored by "encuestador1"
        When I visit the "upload" page
        And I upload "valid.poll_result" on "31/12/1999 23:59hs"
        Then I should see a message that says "valid.poll_result" and "éxito"
        And "valid.poll_result" has the time string "31/12/1999 23:59hs"