Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/packages_and_registries/package_registry/components/details/__snapshots__/pypi_installation_spec.js.snap')
-rw-r--r--spec/frontend/packages_and_registries/package_registry/components/details/__snapshots__/pypi_installation_spec.js.snap112
1 files changed, 30 insertions, 82 deletions
diff --git a/spec/frontend/packages_and_registries/package_registry/components/details/__snapshots__/pypi_installation_spec.js.snap b/spec/frontend/packages_and_registries/package_registry/components/details/__snapshots__/pypi_installation_spec.js.snap
index 99ee6ce01b2..05a5a718e52 100644
--- a/spec/frontend/packages_and_registries/package_registry/components/details/__snapshots__/pypi_installation_spec.js.snap
+++ b/spec/frontend/packages_and_registries/package_registry/components/details/__snapshots__/pypi_installation_spec.js.snap
@@ -3,45 +3,37 @@
exports[`PypiInstallation renders all the messages 1`] = `
<div>
<div
- class="gl-display-flex gl-justify-content-space-between gl-align-items-center"
+ class="gl-align-items-center gl-display-flex gl-justify-content-space-between"
>
<h3
class="gl-font-lg"
>
Installation
</h3>
-
<div>
<div
class="gl-new-dropdown"
>
<button
- aria-controls="base-dropdown-10"
+ aria-controls="reference-1"
aria-haspopup="listbox"
- aria-labelledby="dropdown-toggle-btn-8"
+ aria-labelledby="reference-0"
class="btn btn-default btn-md gl-button gl-new-dropdown-toggle"
data-testid="base-dropdown-toggle"
- id="dropdown-toggle-btn-8"
+ id="reference-0"
type="button"
>
- <!---->
-
- <!---->
-
<span
class="gl-button-text"
>
<span
class="gl-new-dropdown-button-text"
>
-
- Show PyPi commands
-
+ Show PyPi commands
</span>
-
<svg
aria-hidden="true"
- class="gl-button-icon gl-new-dropdown-chevron gl-icon s16"
+ class="gl-button-icon gl-icon gl-new-dropdown-chevron s16"
data-testid="chevron-down-icon"
role="img"
>
@@ -51,24 +43,18 @@ exports[`PypiInstallation renders all the messages 1`] = `
</svg>
</span>
</button>
-
<div
class="gl-new-dropdown-panel gl-w-31!"
data-testid="base-dropdown-menu"
- id="base-dropdown-10"
+ id="reference-1"
>
<div
class="gl-new-dropdown-inner"
>
-
- <!---->
-
- <!---->
-
<ul
- aria-labelledby="dropdown-toggle-btn-8"
- class="gl-new-dropdown-contents gl-new-dropdown-contents-with-scrim-overlay gl-new-dropdown-contents"
- id="listbox-9"
+ aria-labelledby="reference-0"
+ class="gl-new-dropdown-contents gl-new-dropdown-contents-with-scrim-overlay"
+ id="reference-2"
role="listbox"
tabindex="-1"
>
@@ -81,11 +67,9 @@ exports[`PypiInstallation renders all the messages 1`] = `
class="top-scrim top-scrim-light"
/>
</li>
-
<li
aria-hidden="true"
/>
-
<li
aria-selected="true"
class="gl-new-dropdown-item"
@@ -94,11 +78,11 @@ exports[`PypiInstallation renders all the messages 1`] = `
tabindex="-1"
>
<span
- class="gl-new-dropdown-item-content gl-bg-gray-50!"
+ class="gl-bg-gray-50! gl-new-dropdown-item-content"
>
<svg
aria-hidden="true"
- class="gl-icon s16 gl-new-dropdown-item-check-icon gl-mt-3 gl-align-self-start"
+ class="gl-align-self-start gl-icon gl-mt-3 gl-new-dropdown-item-check-icon s16"
data-testid="dropdown-item-checkbox"
role="img"
>
@@ -106,25 +90,16 @@ exports[`PypiInstallation renders all the messages 1`] = `
href="file-mock#mobile-issue-close"
/>
</svg>
-
<span
class="gl-new-dropdown-item-text-wrapper"
>
-
- Show PyPi commands
-
+ Show PyPi commands
</span>
</span>
</li>
-
- <!---->
-
- <!---->
-
<li
aria-hidden="true"
/>
-
<li
aria-hidden="true"
class="bottom-scrim-wrapper"
@@ -135,56 +110,43 @@ exports[`PypiInstallation renders all the messages 1`] = `
/>
</li>
</ul>
-
- <!---->
-
</div>
</div>
</div>
</div>
</div>
-
<fieldset
class="form-group gl-form-group"
- id="installation-pip-command-group"
+ id="reference-3"
>
<legend
- class="bv-no-focus-ring col-form-label pt-0 col-form-label"
- id="installation-pip-command-group__BV_label_"
+ class="bv-no-focus-ring col-form-label pt-0"
+ id="reference-4"
tabindex="-1"
- >
-
-
-
- <!---->
-
- <!---->
- </legend>
+ />
<div>
<div
data-testid="pip-command"
- id="installation-pip-command"
+ id="reference-5"
>
<label
- for="instruction-input_11"
+ for="reference-6"
>
Pip Command
</label>
-
<div
class="gl-mb-3"
>
<div
- class="input-group gl-mb-3"
+ class="gl-mb-3 input-group"
>
<input
class="form-control gl-font-monospace"
data-testid="instruction-input"
- id="instruction-input_11"
- readonly="readonly"
+ id="reference-6"
+ readonly=""
type="text"
/>
-
<span
class="input-group-append"
data-testid="instruction-button"
@@ -192,15 +154,13 @@ exports[`PypiInstallation renders all the messages 1`] = `
<button
aria-label="Copy Pip command"
aria-live="polite"
- class="btn input-group-text btn-default btn-md gl-button btn-default-secondary btn-icon"
+ class="btn btn-default btn-default-secondary btn-icon btn-md gl-button input-group-text"
data-clipboard-handle-tooltip="false"
data-clipboard-text="pip install @gitlab-org/package-15 --index-url http://__token__:<your_personal_token>@gdk.test:3000/api/v4/projects/1/packages/pypi/simple"
- id="clipboard-button-12"
+ id="reference-7"
title="Copy Pip command"
type="button"
>
- <!---->
-
<svg
aria-hidden="true"
class="gl-button-icon gl-icon s16"
@@ -211,21 +171,17 @@ exports[`PypiInstallation renders all the messages 1`] = `
href="file-mock#copy-to-clipboard"
/>
</svg>
-
- <!---->
</button>
</span>
</div>
</div>
</div>
- <!---->
- <!---->
<small
class="form-text text-muted"
- id="installation-pip-command-group__BV_description_"
+ id="reference-8"
tabindex="-1"
>
- You will need a
+ You will need a
<a
class="gl-link"
data-testid="access-token-link"
@@ -237,39 +193,31 @@ exports[`PypiInstallation renders all the messages 1`] = `
</small>
</div>
</fieldset>
-
<h3
class="gl-font-lg"
>
Registry setup
</h3>
-
<p>
- If you haven't already done so, you will need to add the below to your
+ If you haven't already done so, you will need to add the below to your
<code>
.pypirc
</code>
- file.
+ file.
</p>
-
<div
data-testid="pypi-setup-content"
>
- <!---->
-
<div>
<pre
class="gl-font-monospace"
data-testid="multiline-instruction"
>
- [gitlab]
-repository = http://gdk.test:3000/api/v4/projects/1/packages/pypi
-username = __token__
-password = &lt;your personal access token&gt;
+ [gitlab]repository = http://gdk.test:3000/api/v4/projects/1/packages/pypiusername = __token__password = &lt;your personal access token&gt;
</pre>
</div>
</div>
- For more information on the PyPi registry,
+ For more information on the PyPi registry,
<a
class="gl-link"
data-testid="pypi-docs-link"