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 Case]: LP client type ID is accepted #1257

Open
gormless87 opened this issue Oct 21, 2024 · 0 comments · May be fixed by #1258
Open

[Test Case]: LP client type ID is accepted #1257

gormless87 opened this issue Oct 21, 2024 · 0 comments · May be fixed by #1258
Labels
gherkin Marks an issue as part of the automated test generator

Comments

@gormless87
Copy link

Test Scenario

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

Additional Instructions

Need to find test cases for other ID types- LL, XL, XP. Others?
@gormless87 gormless87 added the gherkin Marks an issue as part of the automated test generator label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gherkin Marks an issue as part of the automated test generator
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant