<commit_before>Feature: verify the navigation tabs/links works according to requirements
  As a first time visitor to the Owning a Home page
  I want to click on invidual tabs and links
  So that I can easily navigate the site

@smoke_testing @landing_page
Scenario Outline: Test inbound links in the landing page
   Given I navigate to the OAH Landing page
   When I click on the "<link_name>" link
   Then I should be directed to the internal "<relative_url>" URL
      And I should see "<page_title>" displayed in the page title

Examples:
  | link_name      		                    | page_title                      | relative_url                             |
  | Learn more about loan options         | Loan Options                    | loan-options/                            |
  | Get the closing checklist		          | checklist_mortgage_closing.pdf  | resources/checklist_mortgage_closing.pdf |
  | Get the closing forms explainer       | mortgage_closing_forms.pdf      | resources/mortgage_closing_forms.pdf     |



@smoke_testing @landing_page
Scenario Outline: Test outbound links in the landing page
   Given I navigate to the OAH Landing page
   When I click on the "<link_name>" link
   Then I should see the "<relative_url>" URL with page title <page_title> open in a new tab

Examples:<commit_msg>fix internal links tests<commit_after>Feature: verify the navigation tabs/links works according to requirements
  As a first time visitor to the Owning a Home page
  I want to click on invidual tabs and links
  So that I can easily navigate the site

@smoke_testing @landing_page
Scenario Outline: Test inbound links in the landing page
   Given I navigate to the OAH Landing page
   When I click on the "<link_name>" link
   Then I should be directed to the internal "<relative_url>" URL
      And I should see "<page_title>" displayed in the page title

Examples:
  | link_name      		                    | page_title                      | relative_url                             |
  | Understand loan options         | Loan Options                    | loan-options/                            |
  | Closing checklist		          | checklist_mortgage_closing.pdf  | resources/checklist_mortgage_closing.pdf |
  | Closing forms explainer       | mortgage_closing_forms.pdf      | resources/mortgage_closing_forms.pdf     |



@smoke_testing @landing_page
Scenario Outline: Test outbound links in the landing page
   Given I navigate to the OAH Landing page
   When I click on the "<link_name>" link
   Then I should see the "<relative_url>" URL with page title <page_title> open in a new tab

Examples:
{'fraction_non_alphanumeric': 0.04502098435711561, 'fraction_numerical': 0.0, 'mean_word_length': 2.496, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5005159', 'n_tokens_mistral': 705, 'n_tokens_neox': 662, 'n_words': 298}