github.com/freiheit-com/kuberpult@v1.24.2-0.20240328135542-315d5630abe6/services/frontend-service/src/ui/utils/__snapshots__/Links.test.tsx.snap (about)

     1  // Jest Snapshot v1, https://goo.gl/fbAQLP
     2  
     3  exports[`ArgoAppEnvLink Renders properly  with url 1`] = `
     4  <body>
     5    <div>
     6      <a
     7        href="https://example.com/argo/applications/tools/dev-foo"
     8        title="Opens the app in ArgoCd for this environment"
     9      >
    10        dev
    11      </a>
    12    </div>
    13  </body>
    14  `;
    15  
    16  exports[`ArgoAppEnvLink Renders properly  without url 1`] = `
    17  <body>
    18    <div>
    19      <span>
    20        dev
    21      </span>
    22    </div>
    23  </body>
    24  `;
    25  
    26  exports[`ArgoAppLink Renders properly with url 1`] = `
    27  <body>
    28    <div>
    29      <a
    30        href="https://example.com/argo/applications?search=-foo"
    31        title="Opens this app in ArgoCd for all environments"
    32      >
    33        foo
    34      </a>
    35    </div>
    36  </body>
    37  `;
    38  
    39  exports[`ArgoAppLink Renders properly without url 1`] = `
    40  <body>
    41    <div>
    42      <span>
    43        foo
    44      </span>
    45    </div>
    46  </body>
    47  `;
    48  
    49  exports[`ArgoTeamLink Renders properly with team, with url 1`] = `
    50  <body>
    51    <div>
    52      <span>
    53         | Team: 
    54        <a
    55          href="https://example.com/argo/applications?&labels=com.freiheit.kuberpult%2Fteam%3Dfoo"
    56          title="Opens the team in ArgoCd"
    57        >
    58          foo
    59        </a>
    60      </span>
    61    </div>
    62  </body>
    63  `;
    64  
    65  exports[`ArgoTeamLink Renders properly with team, without url 1`] = `
    66  <body>
    67    <div>
    68      <span>
    69        foo
    70      </span>
    71    </div>
    72  </body>
    73  `;
    74  
    75  exports[`ArgoTeamLink Renders properly without team, with url 1`] = `
    76  <body>
    77    <div />
    78  </body>
    79  `;