Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(upt #1257): [Test Case]: LP client type ID is accepted #1258

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions cypress/cypress/e2e/upt_1257.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Feature: Client Type Code

#Ensure all allowable Client type codes are accepted

Scenario: Submit BC registered business


@loginAsEditor
Scenario: Editor can submit registered LLP
When I click on the Create client button
And I can read Create client
Then I select BC registered business from the Client type form input
And I type strucan and select STRUCAN LLP from the Client name form autocomplete
Then I wait for the text This information is from BC Registries to appear
Then I click on next
And I fill the Primary location address with the following
| Field name | Value | Type |
| Street address or PO box | 1015 Johnson | autocomplete |
| Email address | mail2@mail.ca | text |
| Primary phone number | 7780000001 | text |
| Secondary phone number | 7780000002 | text |
| Notes | This is a test | textbox |
Then I click on next
And I fill the Primary contact information with the following
| Field name | Value | Type |
| First name | Testy | text |
| Last name | Tester | text |
| Email address | mail3@mail.ca | text |
| Primary phone number | 7780000003 | text |
| Contact type | Billing | select |
| Location name | Home | multiselect |
| Location name | Mailing address | multiselect |
And I click on next
Then I click on Create client
And I wait for the text has been created! to appear