• Lin Jen-Shin's avatar
    Use qa selectors for secret variables · 0446419a
    Lin Jen-Shin authored
    The problem of using .js-ci-variable-input-value is that,
    whenever the value is hidden, then this selector won't be set,
    instead, .js-secret-value-placeholder would be set.
    
    If we just fill the value, the value is revealed. But if
    we visit this later, the values were be hidden. This means
    we don't have a consistent way to count the values.
    
    Adding an unique qa selector to both revealed and hidden
    values would make it easier to track the values.
    
    To make it look more consistent, let's also do the same
    for the key.
    0446419a
_variable_row.html.haml 2.44 KB