<commit_before>*** Settings ***
Documentation     IFS-10694 Hesta - Email notification content for application submission
...               IFS-10688 Hesta - Create competition type hesta
...
Suite Setup       Custom suite setup
Suite Teardown    Custom suite teardown
Resource          ../../../resources/defaultResources.robot
Resource          ../../../resources/common/Applicant_Commons.robot
Resource          ../../../resources/common/PS_Common.robot
Resource          ../../../resources/common/Competition_Commons.robot

*** Variables ***
${hestaCompTypeSelector}                     dt:contains("Competition type") ~ dd:contains("${compType_HESTA}")
${hestaApplicationName}                      hesta application
${newLeadApplicantEmail}                     <EMAIL>
${hestaApplicationSubmissionEmailSubject}    confirmation of your Horizon Europe UK Application Registration
${hestaApplicationSubmissionEmail}           We have received your stage 1 pre-registration to the Horizon Europe UK Application Registration programme

*** Test Cases ***
Comp admin can select the competition type option Heukar in Initial details on competition setup
    [Documentation]  IFS-10688
    Given the user logs-in in new browser             &{Comp_admin1_credentials}
    When the user navigates to the page               ${CA_UpcomingComp}
    And the user clicks the button/link               jQuery = .govuk-button:contains("Create competition")
    Then the user fills in the CS Initial details     ${hestaCompetitionName}  ${month}  ${nextyear}  ${compType_HESTA}  STATE_AID  GRANT

Comp admin can view Hesta competition type in Initial details read only view
    [Documentation]  IFS-10688
    Given the user clicks the button/link    link = Initial details
    Then the user can view Hesta competition type in Initial details read only view

Comp admin creates Heukar competition
    [Documentation]  IFS-8751
    Given the user clicks the button/link                             link = Back to competition details
    Then the competition admin creates Hesta competition             ${BUSINESS_TYPE_ID}  ${hestaCompetitionName}  ${compType_HESTA}  ${compType_HESTA}  STATE_AID  GRANT  RELEASE_FEEDBACK  no  1  false  single-or-collaborative<commit_msg>IFS-10688 change the name of test cases<commit_after>*** Settings ***
Documentation     IFS-10694 Hesta - Email notification content for application submission
...               IFS-10688 Hesta - Create competition type hesta
...
Suite Setup       Custom suite setup
Suite Teardown    Custom suite teardown
Resource          ../../../resources/defaultResources.robot
Resource          ../../../resources/common/Applicant_Commons.robot
Resource          ../../../resources/common/PS_Common.robot
Resource          ../../../resources/common/Competition_Commons.robot

*** Variables ***
${hestaCompTypeSelector}                     dt:contains("Competition type") ~ dd:contains("${compType_HESTA}")
${hestaApplicationName}                      hesta application
${newLeadApplicantEmail}                     <EMAIL>
${hestaApplicationSubmissionEmailSubject}    confirmation of your Horizon Europe UK Application Registration
${hestaApplicationSubmissionEmail}           We have received your stage 1 pre-registration to the Horizon Europe UK Application Registration programme

*** Test Cases ***
Comp admin can select the competition type option Hesta in Initial details on competition setup
    [Documentation]  IFS-10688
    Given the user logs-in in new browser             &{Comp_admin1_credentials}
    When the user navigates to the page               ${CA_UpcomingComp}
    And the user clicks the button/link               jQuery = .govuk-button:contains("Create competition")
    Then the user fills in the CS Initial details     ${hestaCompetitionName}  ${month}  ${nextyear}  ${compType_HESTA}  STATE_AID  GRANT

Comp admin can view Hesta competition type in Initial details read only view
    [Documentation]  IFS-10688
    Given the user clicks the button/link    link = Initial details
    Then the user can view Hesta competition type in Initial details read only view

Comp admin creates Hesta competition
    [Documentation]  IFS-8751
    Given the user clicks the button/link                             link = Back to competition details
    Then the competition admin creates Hesta competition             ${BUSINESS_TYPE_ID}  ${hestaCompetitionName}  ${compType_HESTA}  ${compType_HESTA}  STATE_AID  GRANT  RELEASE_FEEDBACK  no  1  false  single-or-collaborative
{'fraction_non_alphanumeric': 0.07297178130511464, 'fraction_numerical': 0.01300705467372134, 'mean_word_length': 2.9247404844290656, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2411383', 'n_tokens_mistral': 1192, 'n_tokens_neox': 1106, 'n_words': 411}