Skip to content

Commit

Permalink
test(upt #1257): [Test Case]: LP client type ID is accepted (#1258)
Browse files Browse the repository at this point in the history
* test(upt #1257): [Test Case]: LP client type ID is accepted

Closes #1257

* test: fix test syntax

* test: restore click next sentences

* test: prevent matching records

* test: remove non-existent location

* test: update the sentence to submit

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maria Martinez <[email protected]>
Co-authored-by: Fernando Terra <[email protected]>
Co-authored-by: Fernando Terra <[email protected]>
  • Loading branch information
5 people authored Oct 24, 2024
1 parent 69325b5 commit 3b1f58a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions cypress/cypress/e2e/upt_1257.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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 | mail4@mail.ca | text |
| Primary phone number | 7780000005 | text |
| Secondary phone number | 7780000006 | 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 | mail5@mail.ca | text |
| Primary phone number | 7780000007 | text |
| Contact type | Billing | select |
| Location name | Mailing address | multiselect |
And I click on next
Then I submit
And I wait for the text "has been created!" to appear

0 comments on commit 3b1f58a

Please sign in to comment.