<commit_before>Feature: Setting config options in renderers

    Scenario Outline: Setting config options in renderers
        Given I launch an app with configuration:
            | renderer_config | <config> |
        And I click "renderer-notify"
        Then the total requests received by the server matches:
            | events  | 1        |
        Then the headers of every event request contains:
            | Bugsnag-API-Key   | 6425093c6530f554a9897d2d7d38e248 |
            | Content-Type      | application/json                 |
            | Bugsnag-Integrity | {BODY_SHA1}                      |
        Then the contents of an event request matches "renderer/config/<property>.json"

        Examples:
            | property | config                      |
            | appType  | { "appType": "real great" } |

    Scenario Outline: Setting codeBundleId in renderers
        Given I launch an app with configuration:
            | renderer_config | <config> |
        And I click "renderer-notify"
        Then the total requests received by the server matches:
            | events  | 1        |
        Then the headers of every event request contains:
            | Bugsnag-API-Key   | 6425093c6530f554a9897d2d7d38e248 |
            | Content-Type      | application/json                 |
            | Bugsnag-Integrity | {BODY_SHA1}                      |
        Then the contents of an event request matches "renderer/config/<property>.json"

        Examples:
            | property | config                      |
            | codeBundleId  | { "codeBundleId": "1.0.0-r0123" } |<commit_msg>test(electron): Merge test cases<commit_after>Feature: Setting config options in renderers

    Scenario Outline: Setting config options in renderers
        Given I launch an app with configuration:
            | renderer_config | <config> |
        And I click "renderer-notify"
        Then the total requests received by the server matches:
            | events  | 1        |
        Then the headers of every event request contains:
            | Bugsnag-API-Key   | 6425093c6530f554a9897d2d7d38e248 |
            | Content-Type      | application/json                 |
            | Bugsnag-Integrity | {BODY_SHA1}                      |
        Then the contents of an event request matches "renderer/config/<property>.json"

        Examples:
            | property | config                      |
            | appType  | { "appType": "real great" } |
            | codeBundleId  | { "codeBundleId": "1.0.0-r0123" } |
{'fraction_non_alphanumeric': 0.0717928599450765, 'fraction_numerical': 0.0372695174578266, 'mean_word_length': 1.6729559748427674, 'pattern_counts': {'":': 4, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3130042', 'n_tokens_mistral': 715, 'n_tokens_neox': 658, 'n_words': 199}