From db7b001b34961d9f6e23c98e256f14a137467ca8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 21 Oct 2024 23:30:06 +0000 Subject: [PATCH] test(upt #1257): [Test Case]: LP client type ID is accepted Closes #1257 --- cypress/cypress/e2e/upt_1257.feature | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 cypress/cypress/e2e/upt_1257.feature diff --git a/cypress/cypress/e2e/upt_1257.feature b/cypress/cypress/e2e/upt_1257.feature new file mode 100644 index 000000000..c46226660 --- /dev/null +++ b/cypress/cypress/e2e/upt_1257.feature @@ -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