<commit_before>Feature: upload files
  As a logged user
  I want to upload files

  Background:
    Given the following users
      | login | name |
      | joaosilva | <NAME> |
    And I am logged in as "joaosilva"

  @selenium
  Scenario: provile links to upload files to community's gallery
    Given the following communities
      | identifier | name | owner |
      | sample-community | Sample Community | joaosilva |
    And the following galleries
      | owner | name |
      | sample-community | Gallery test |
    And I go to sample-community's profile
    And I follow "0 pictures"
    And I should see "Upload files"

  @selenium
  Scenario: provile links to upload files to enterprise's gallery
    Given the following enterprises
      | identifier | name | owner |
      | sample-enterprise | Sample Enterprise | joaosilva |
    And the following galleries
      | owner | name |
      | sample-enterprise | Gallery test |
    And I go to sample-enterprise's profile
    And I follow "0 pictures"
    And I should see "Upload files"

  Scenario: not provile links to upload files on blogs
    Given the following communities
      | identifier | name | owner |
      | sample-community | Sample Community | joaosilva |
    And the following blogs
      | owner | name |
      | sample-community | Blog test |
    And I go to Sample Community's blog
    And I should not see "Upload files"<commit_msg>uploaded-file-feature: fix test by following profile link<commit_after>Feature: upload files
  As a logged user
  I want to upload files

  Background:
    Given the following users
      | login | name |
      | joaosilva | <NAME> |
    And I am logged in as "joaosilva"

  @selenium
  Scenario: provile links to upload files to community's gallery
    Given the following communities
      | identifier | name | owner |
      | sample-community | Sample Community | joaosilva |
    And the following galleries
      | owner | name |
      | sample-community | Gallery test |
    And I go to sample-community's profile
    And I follow "Profile"
    And I follow "0 pictures"
    And I should see "Upload files"

  @selenium
  Scenario: provile links to upload files to enterprise's gallery
    Given the following enterprises
      | identifier | name | owner |
      | sample-enterprise | Sample Enterprise | joaosilva |
    And the following galleries
      | owner | name |
      | sample-enterprise | Gallery test |
    And I go to sample-enterprise's profile
    And I follow "Profile"
    And I follow "0 pictures"
    And I should see "Upload files"

  Scenario: not provile links to upload files on blogs
    Given the following communities
      | identifier | name | owner |
      | sample-community | Sample Community | joaosilva |
    And the following blogs
      | owner | name |
      | sample-community | Blog test |
    And I go to Sample Community's blog
    And I should not see "Upload files"
{'fraction_non_alphanumeric': 0.060409556313993175, 'fraction_numerical': 0.0013651877133105802, 'mean_word_length': 2.6591760299625467, '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': '2859268', 'n_tokens_mistral': 811, 'n_tokens_neox': 768, 'n_words': 343}