Feature: Manage sign up sheets as an admin
    In order to manage a sign up sheet
    As an expertiza admin
    I want to use the sign up sheet form in expertiza

Background:
        Given I am logged in as admin
        And I create a public assignment named "test_assignment" with max team size 2
        And I click on "Manage Assignments"
        Then I should see "test_assignment"

    Scenario: Add a new topic
        Given I click on "Add signup sheet" 
        And I follow "New topic"



Feature: Manage sign up sheets as an admin
    In order to manage a sign up sheet
    As an expertiza admin
    I want to use the sign up sheet form in expertiza

Background:
        Given I am logged in as admin
        And I create a public assignment named "test_assignment" with max team size 2
        And I click on "Manage Assignments"
        Then I should see "test_assignment"

    Scenario: Add a new topic
        Given I click on "Add signup sheet" 
        And I follow "New topic"
        And I fill in "topic_topic_identifier" with "10"
        And I fill in "topic_topic_name" with "test_topic"
        And I fill in "topic_category" with "test_category"
        And I fill in "topic_max_choosers" with "2"
        And I press "Create"
        Then I should see "Topic was successfully created"
        And I should see "test_topic"

Add a new topic scenario finished and passing
Add a new topic scenario finished and passing
