123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- Feature: Ticket
- In order to use the ticket tool
- The admin should be able to create a ticket
- Background:
- Given I am a platform administrator
- Scenario: Check ticket categories
- Given I am on "/main/ticket/categories.php?project_id=1"
- Then I should see "Enrollment"
- Scenario: Check ticket projects
- Given I am on "/main/ticket/projects.php?project_id=1"
- Then I should see "Ticket System"
- Scenario: Check ticket status
- Given I am on "/main/ticket/status.php"
- Then I should see "New"
- Scenario: Check ticket priorities
- Given I am on "/main/ticket/priorities.php"
- Then I should see "Normal"
- Scenario: Create a ticket
- Given I am on "/main/ticket/new_ticket.php?project_id=1"
- Then I should see "Compose message"
- When I fill in the following:
- | subject | First ticket |
- And I fill in ckeditor field "content" with "Ticket description"
- And I fill in select bootstrap static input "#category_id" select "1"
-
- And I press "Send message"
- Then I should see "created"
|