<commit_before>*** Settings ***
Documentation     INFUND-7363 Inflight competitions dashboards: In assessment dashboard
Suite Setup       Guest user log-in    &{Comp_admin1_credentials}
Suite Teardown    The user closes the browser
Force Tags        CompAdmin    Assessor
Resource          ../../../resources/defaultResources.robot

*** Test Cases ***
In Assessment dashboard page
    [Documentation]    INFUND-7363
    Given The user clicks the button/link    link=${IN_ASSESSMENT_COMPETITION_NAME}
    Then The user should see the text in the page    00000004: Sustainable living models for the future
    And The user should see the text in the page    In assessment
    And The user should see the text in the page    Programme
    And The user should see the text in the page    Materials and manufacturing
    And The user should see the text in the page    Earth Observation
    And the user should not see the element     link=View and update competition setup
    #And the user should see that the element is disabled    jQuery=.button:contains("View panel sheet")
    #And the user should see that the element is disabled    jQuery=.button:contains("Funding")
    #TODO IEnable the checks when NFUND-7934 is ready<commit_msg>INFUND-7778: Changed one of the checks for the dashboard page<commit_after>*** Settings ***
Documentation     INFUND-7363 Inflight competitions dashboards: In assessment dashboard
Suite Setup       Guest user log-in    &{Comp_admin1_credentials}
Suite Teardown    The user closes the browser
Force Tags        CompAdmin    Assessor
Resource          ../../../resources/defaultResources.robot

*** Test Cases ***
In Assessment dashboard page
    [Documentation]    INFUND-7363
    Given The user clicks the button/link    link=${IN_ASSESSMENT_COMPETITION_NAME}
    Then The user should see the text in the page    00000004: Sustainable living models for the future
    And The user should see the text in the page    In assessment
    And The user should see the text in the page    Programme
    And The user should see the text in the page    Materials and manufacturing
    And The user should see the text in the page    Earth Observation
    And the user should not see the element    link=View and update competition setup
    #And the user should see the element    jQuery=.button:contains("View panel sheet")
    #And the user should see that the element is disabled    jQuery=.button:contains("Funding")
    #TODO IEnable the checks when NFUND-7934 is ready
{'fraction_non_alphanumeric': 0.0488, 'fraction_numerical': 0.0184, 'mean_word_length': 3.334488734835355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '3235026', 'n_tokens_mistral': 675, 'n_tokens_neox': 613, 'n_words': 313}