|
1 | | - - Make an empty account (company name Z3N, email <something>@zendesk.com, so it can be filtered) |
2 | | - - Create an Admin user (ownwer cannot verify user identities) and ensure this new user has an organization. Then, add the new user credentials to `spec/fixtures/credentials.yml` |
3 | | - - Mark 1 ticket as solved, change end-users email to on your can receive, copy ticket url, login as end-user (do not just assume identity), rate it |
| 1 | +If you are a Zendesk engineer, you can find the currently used test account in Pandora by “zendesk_api_client” tag (or pool). |
| 2 | + |
| 3 | +In case you want to create a test account from scratch: |
| 4 | + - Create an empty account (again, use Pandora if you are a Zendesk engineer). Set company name to Z3N. |
| 5 | + - Create a second Admin user (don’t use the owner account in tests: owners cannot verify user identities). Ensure this new user has an organization. Then, add the new user credentials to `spec/fixtures/credentials.yml` |
| 6 | + - Activate Help Center |
| 7 | + - Enable “Allow customers to rate tickets” in People → Configuration → End users → Satisfaction |
| 8 | + - Mark 1 ticket as solved, change end-users email to one you can receive, copy ticket url, login as end-user (do not just assume identity), rate it. You might need to check that request page layout includes Satisfaction (in Theming Center). Alternatively, receive an email from the “Request customer satisfaction rating” automation (change its parameters to send notifications earlier than in 24 hours) |
| 9 | + - Create a user field in Admin Center → People → Configuration → User fields |
| 10 | + - In `article_spec.rb`, replace `permission_group_id`. Use `curl` to list permission groups for this account: `curl https://{subdomain}.zendesk.com/api/v2/guide/permission_groups.json -u {email_address}:{password}`. |
| 11 | + - After running `article_spec.rb` once, log in as an end user (it can be the same as above) and upvote the “What are these sections and articles doing here?” article. |
| 12 | + - Add photo to user profile of that end user. |
4 | 13 | - Create a new ticket and cc "zendesk-api-client-ruby-end-user-#{client.config.username}" (run tests once to create this user) |
5 | | - - Suspend "zendesk-api-client-ruby-anonymous-#{client.config.username}" account, so tickets created by this account go to suspended |
6 | 14 | - Ensure you allow admins to set up user password (or `POST /api/v2/users/{user_id}/password.json` will fail). You can check this in the admin centre > security > advanced |
7 | | - - Go to Account > Localization and ensure you add `Spanish` to the list of additional languages. The `variant_spec` needs to create some items using spanish locale. |
8 | | - - Ensure the authenticated agent is the assigned to the main fixture ticket at `spec/fixtures/zendesk.rb`, or the `activities_spec` won't get any update, and thus, will fail. |
|
0 commit comments