<commit_before>@fixture-OroWebCatalogBundle:web_catalog.yml

Feature: Resize Sidebar
  In order to see whole content of sidebar
  As a Site Administrator
  I want to be able to resize sidebar

#  320px is minimum default value
#  600px is maximum default value

  Scenario: Resize System Configuration Sidebar
    Given I login as administrator
    And I go to System/Configuration
    And I check element "Sidebar" has width "320"
    And I resize Sidebar Drag Handler by vector [300,0]
    And I check element "Sidebar" has width "600"
#    Uncomment when 13357 will be merged
#    And I reload the page
    And I check element "Sidebar" has width "600"
    And I resize Sidebar Drag Handler by vector [-300,0]
    Then I check element "Sidebar" has width "320"

  Scenario: Resize Products Sidebar
    Given I go to Products/Products
    And I check element "Sidebar" has width "320"
    And I resize Sidebar Drag Handler by vector [300,0]
    And I check element "Sidebar" has width "600"
#    Uncomment when 13357 will be merged
#    And I reload the page
    And I check element "Sidebar" has width "600"
    And I resize Sidebar Drag Handler by vector [-300,0]
    And I check element "Sidebar" has width "320"

  Scenario: Resize Products / Master Catalog Sidebar
    Given I go to Products/Master Catalog
    And I check element "Sidebar" has width "320"
    And I resize Sidebar Drag Handler by vector [300,0]
    And I check element "Sidebar" has width "600"
#    Uncomment when 13357 will be merged
#    And I reload the page
    And I check element "Sidebar" has width "600"
    And I resize Sidebar Drag Handler by vector [-300,0]
    And I check element "Sidebar" has width "320"

  Scenario: Resize Marketing / Web Catalogs Sidebar
    When I go to Marketing/Web Catalogs
    And I click view "Default Web Catalog" in grid
    And I click "Edit Content Tree"
    And I check element "Sidebar" has width "320"
    And I resize Sidebar Drag Handler by vector [300,0]
    And I check element "Sidebar" has width "600"
#    Uncomment when 13357 will be merged
#    And I reload the page
    And I check element "Sidebar" has width "600"
    And I resize Sidebar Drag Handler by vector [-300,0]
    And I check element "Sidebar" has width "320"<commit_msg>BB-13014: Can't scroll category tree horizontally - uncomment behat steps<commit_after>@fixture-OroWebCatalogBundle:web_catalog.yml

Feature: Resize Sidebar
  In order to see whole content of sidebar
  As a Site Administrator
  I want to be able to resize sidebar

#  320px is minimum default value
#  600px is maximum default value

  Scenario: Resize System Configuration Sidebar
    Given I login as administrator
    And I go to System/Configuration
    And I check element "Sidebar" has width "320"
    And I resize Sidebar Drag Handler by vector [300,0]
    And I check element "Sidebar" has width "600"
    And I reload the page
    And I check element "Sidebar" has width "600"
    And I resize Sidebar Drag Handler by vector [-300,0]
    Then I check element "Sidebar" has width "320"

  Scenario: Resize Products Sidebar
    Given I go to Products/Products
    And I check element "Sidebar" has width "320"
    And I resize Sidebar Drag Handler by vector [300,0]
    And I check element "Sidebar" has width "600"
    And I reload the page
    And I check element "Sidebar" has width "600"
    And I resize Sidebar Drag Handler by vector [-300,0]
    And I check element "Sidebar" has width "320"

  Scenario: Resize Products / Master Catalog Sidebar
    Given I go to Products/Master Catalog
    And I check element "Sidebar" has width "320"
    And I resize Sidebar Drag Handler by vector [300,0]
    And I check element "Sidebar" has width "600"
    And I reload the page
    And I check element "Sidebar" has width "600"
    And I resize Sidebar Drag Handler by vector [-300,0]
    And I check element "Sidebar" has width "320"

  Scenario: Resize Marketing / Web Catalogs Sidebar
    When I go to Marketing/Web Catalogs
    And I click view "Default Web Catalog" in grid
    And I click "Edit Content Tree"
    And I check element "Sidebar" has width "320"
    And I resize Sidebar Drag Handler by vector [300,0]
    And I check element "Sidebar" has width "600"
    And I reload the page
    And I check element "Sidebar" has width "600"
    And I resize Sidebar Drag Handler by vector [-300,0]
    And I check element "Sidebar" has width "320"
{'fraction_non_alphanumeric': 0.055128784455490284, 'fraction_numerical': 0.04450971531857208, 'mean_word_length': 3.2567307692307694, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '418603', 'n_tokens_mistral': 1439, 'n_tokens_neox': 1244, 'n_words': 665}