1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/features/desktop/staff_person_comments.feature

24 lines
799 B
Gherkin
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Feature: Staff person comments
Background:
Given I am signed in as superuser
Given there is a person
Then I click "Сервисы для сотрудников"
And I click "Люди"
And I click font awesome "eye"
And I click first "Комментарии"
Scenario: without attachment
When I fill form with the following data:
| key | value |
| Текст | foobar |
And I click the form button "Отправить"
Then I see text "foobar"
Scenario: with attachment
When I fill form with the following data:
| key | value |
| Текст | foobar |
And I upload "avatar.jpg" as "Приложение"
And I click the form button "Отправить"
Then I see text "foobar"
And I see text "avatar.jpg"