aboutsummaryrefslogtreecommitdiff
blob: 7de1d69c13970e01d62c2a9ab1545123d5b0244d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Feature: Recruits progress
  As recruiter
  I want to be able to see recruits progress
  In order to know how they are progressing

  Scenario: View recruits progress on show page
    Given following questions:
      |question 1|category 1|
      |question 2|category 1|
      |question 3|category 2|
    And recruit "recruit" in following categories:
      |category 1|category 2|
    And user "recruit" answered all questions in "category 1"
    And I am logged in as "recruiter" who is "recruiter"
    When I am on the homepage
    And I follow "recruit"
    Then I should see "Answered 2 of 3 questions."

  Scenario: View list of users questions
    Given following questions:
      |question 1|category 1|
      |question 2|category 1|
      |question 3|category 2|
    And recruit "recruit" in following categories:
      |category 1|category 2|
    And user "recruit" answered all questions in "category 1"
    And I am logged in as "recruiter" who is "recruiter"
    When I am on the homepage
    And I follow "recruit"
    And I follow "Questions user should answer"
    Then I should see following:
      |question 1 answered|question 2 answered|question 3|