summaryrefslogtreecommitdiff
path: root/spec/frontend/access_tokens/components/__snapshots__/expires_at_field_spec.js.snap
blob: dd742419d32e9ccf2e7cc35adb4e9fe54e6fc265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`~/access_tokens/components/expires_at_field should render datepicker with input info 1`] = `
<gl-form-group-stub
  label="Expiration date"
  label-for="personal_access_token_expires_at"
  labeldescription=""
  optionaltext="(optional)"
>
  <gl-datepicker-stub
    ariallabel=""
    autocomplete=""
    container=""
    displayfield="true"
    firstday="0"
    inputlabel="Enter date"
    mindate="Mon Jul 06 2020 00:00:00 GMT+0000 (Greenwich Mean Time)"
    placeholder="YYYY-MM-DD"
    theme=""
  >
    <gl-form-input-stub
      autocomplete="off"
      class="datepicker gl-datepicker-input"
      data-qa-selector="expiry_date_field"
      id="personal_access_token_expires_at"
      inputmode="none"
      name="personal_access_token[expires_at]"
      placeholder="YYYY-MM-DD"
    />
  </gl-datepicker-stub>
</gl-form-group-stub>
`;