Commit 170e9684 authored by Enrique Alcantara's avatar Enrique Alcantara

Update obsolete snapshots

Update snapshots that were made obsolete
by changing the default values for the
GlButton variant and category properties
parent a74c9e53
......@@ -3,7 +3,7 @@
exports[`MergeCommitsExportButton component Merge commit CSV export button matches the snapshot 1`] = `
<div>
<gl-button-stub
category="tertiary"
category="primary"
class="gl-align-self-center"
href="/merge_commit_reports"
icon="export"
......
......@@ -57,7 +57,7 @@ exports[`DependenciesActions component matches the snapshot 1`] = `
</gl-deprecated-dropdown-stub>
<gl-button-stub
category="tertiary"
category="primary"
class="flex-grow-0 js-sort-order"
icon=""
size="medium"
......@@ -72,7 +72,7 @@ exports[`DependenciesActions component matches the snapshot 1`] = `
</div>
<gl-button-stub
category="tertiary"
category="primary"
class="js-download"
download="dependencies.json"
href="http://test.host/dependencies.json"
......
......@@ -33,7 +33,7 @@ exports[`dashboard should match the snapshot 1`] = `
</h1>
<gl-button-stub
category="tertiary"
category="primary"
class="js-add-projects-button"
icon=""
role="button"
......
......@@ -68,7 +68,7 @@ exports[`Project Header matches the snapshot 1`] = `
>
<li>
<gl-button-stub
category="tertiary"
category="primary"
class="js-remove-button"
icon=""
size="medium"
......
......@@ -31,7 +31,7 @@ exports[`SidebarDatePicker renders expected template 1`] = `
/>
<gl-button-stub
category="tertiary"
category="primary"
class="btn-sidebar-action"
icon=""
size="medium"
......
......@@ -16,7 +16,7 @@ jest.mock('~/lib/utils/url_utility', () => ({
const endpoint = '/endpoint';
const { i18n } = CreateMergeRequestButton;
const DEFAULT_BUTTON_PROPS = {
category: 'tertiary',
category: 'primary',
variant: 'default',
};
const SUCCESS_BUTTON_PROPS = {
......
......@@ -33,6 +33,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
>
<li
class="list-group-item p-0 gl-display-flex gl-flex-fill-1 gl-flex-direction-column gl-justify-content-center"
data-qa-selector="severity_accordion_item_F"
>
<div
class="d-flex align-items-stretch"
......@@ -109,6 +110,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
</li>
<li
class="list-group-item p-0 gl-display-flex gl-flex-fill-1 gl-flex-direction-column gl-justify-content-center"
data-qa-selector="severity_accordion_item_D"
>
<div
class="d-flex align-items-stretch"
......@@ -185,6 +187,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
</li>
<li
class="list-group-item p-0 gl-display-flex gl-flex-fill-1 gl-flex-direction-column gl-justify-content-center"
data-qa-selector="severity_accordion_item_C"
>
<div
class="d-flex align-items-stretch"
......@@ -261,6 +264,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
</li>
<li
class="list-group-item p-0 gl-display-flex gl-flex-fill-1 gl-flex-direction-column gl-justify-content-center"
data-qa-selector="severity_accordion_item_B"
>
<div
class="d-flex align-items-stretch"
......@@ -337,6 +341,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
</li>
<li
class="list-group-item p-0 gl-display-flex gl-flex-fill-1 gl-flex-direction-column gl-justify-content-center"
data-qa-selector="severity_accordion_item_A"
>
<div
class="d-flex align-items-stretch"
......
......@@ -27,7 +27,7 @@ exports[`AlertsSettingsForm with default values renders the initial template 1`]
<gl-form-group-stub label=\\"Authorization key\\" label-for=\\"authorization-key\\" label-class=\\"label-bold\\">
<gl-form-input-group-stub value=\\"abcedfg123\\" predefinedoptions=\\"[object Object]\\" id=\\"authorization-key\\" readonly=\\"\\" class=\\"gl-mb-2\\"></gl-form-input-group-stub>
<div class=\\"gl-display-flex gl-justify-content-end\\">
<gl-button-stub category=\\"tertiary\\" variant=\\"default\\" size=\\"medium\\" icon=\\"\\" disabled=\\"true\\" class=\\"gl-mt-3\\" role=\\"button\\" tabindex=\\"0\\">Reset key</gl-button-stub>
<gl-button-stub category=\\"primary\\" variant=\\"default\\" size=\\"medium\\" icon=\\"\\" disabled=\\"true\\" class=\\"gl-mt-3\\" role=\\"button\\" tabindex=\\"0\\">Reset key</gl-button-stub>
</div>
<gl-modal-stub modalid=\\"authKeyModal\\" titletag=\\"h4\\" modalclass=\\"\\" size=\\"md\\" title=\\"Reset key\\" ok-title=\\"Reset key\\" ok-variant=\\"danger\\">
Resetting the authorization key for this project will require updating the authorization key in every alert source it is enabled in.
......@@ -37,7 +37,7 @@ exports[`AlertsSettingsForm with default values renders the initial template 1`]
<gl-form-textarea-stub noresize=\\"true\\" id=\\"alert-json\\" disabled=\\"true\\" state=\\"true\\" placeholder=\\"Enter test alert JSON....\\" rows=\\"6\\" max-rows=\\"10\\"></gl-form-textarea-stub>
</gl-form-group-stub>
<div class=\\"gl-display-flex gl-justify-content-end\\">
<gl-button-stub category=\\"tertiary\\" variant=\\"default\\" size=\\"medium\\" icon=\\"\\" disabled=\\"true\\">Test alert payload</gl-button-stub>
<gl-button-stub category=\\"primary\\" variant=\\"default\\" size=\\"medium\\" icon=\\"\\" disabled=\\"true\\">Test alert payload</gl-button-stub>
</div>
<div class=\\"footer-block row-content-block gl-display-flex gl-justify-content-space-between\\">
<gl-button-stub category=\\"primary\\" variant=\\"default\\" size=\\"medium\\" icon=\\"\\" disabled=\\"true\\">
......
......@@ -56,7 +56,7 @@ exports[`Code navigation popover component renders popover 1`] = `
class="popover-body border-top"
>
<gl-button-stub
category="tertiary"
category="primary"
class="w-100"
data-testid="go-to-definition-btn"
href="http://gitlab.com/test.js"
......
......@@ -44,7 +44,7 @@ exports[`Design management toolbar component renders design and updated data 1`]
/>
<gl-button-stub
category="tertiary"
category="primary"
href="/-/designs/306/7f747adcd4693afadbe968d7ba7d983349b9012d"
icon="download"
size="medium"
......
......@@ -5,7 +5,7 @@ exports[`Design management upload button component renders inverted upload desig
isinverted="true"
>
<gl-button-stub
category="tertiary"
category="primary"
icon=""
size="small"
title="Adding a design with the same filename replaces the file in a new version."
......@@ -30,7 +30,7 @@ exports[`Design management upload button component renders inverted upload desig
exports[`Design management upload button component renders loading icon 1`] = `
<div>
<gl-button-stub
category="tertiary"
category="primary"
disabled="true"
icon=""
size="small"
......@@ -62,7 +62,7 @@ exports[`Design management upload button component renders loading icon 1`] = `
exports[`Design management upload button component renders upload design button 1`] = `
<div>
<gl-button-stub
category="tertiary"
category="primary"
icon=""
size="small"
title="Adding a design with the same filename replaces the file in a new version."
......
......@@ -110,7 +110,7 @@ exports[`Design management index page designs renders designs list and header wi
class="qa-selector-toolbar gl-display-flex gl-align-items-center"
>
<gl-button-stub
category="tertiary"
category="primary"
class="gl-mr-3 js-select-all"
icon=""
size="small"
......
......@@ -65,7 +65,7 @@ exports[`Design management design index page renders design index 1`] = `
/>
<gl-button-stub
category="tertiary"
category="primary"
class="link-inherit-color gl-text-body gl-text-decoration-none gl-font-weight-bold gl-mb-4"
data-testid="resolved-comments"
icon="chevron-right"
......
......@@ -65,7 +65,7 @@ exports[`Design management design index page renders design index 1`] = `
/>
<gl-button-stub
category="tertiary"
category="primary"
class="link-inherit-color gl-text-body gl-text-decoration-none gl-font-weight-bold gl-mb-4"
data-testid="resolved-comments"
icon="chevron-right"
......
......@@ -17,7 +17,7 @@ exports[`grafana integration component default state to match the default snapsh
</h3>
<gl-button-stub
category="tertiary"
category="primary"
class="js-settings-toggle"
icon=""
size="medium"
......
......@@ -85,7 +85,7 @@ exports[`Alert integration settings form default state should match the default
class="gl-display-flex gl-justify-content-end"
>
<gl-button-stub
category="tertiary"
category="primary"
class="js-no-auto-disable"
data-qa-selector="save_changes_button"
icon=""
......
......@@ -18,7 +18,7 @@ exports[`IncidentsSettingTabs should render the component 1`] = `
</h4>
<gl-button-stub
category="tertiary"
category="primary"
class="js-settings-toggle"
icon=""
size="medium"
......
......@@ -46,7 +46,7 @@ exports[`Alert integration settings form should match the default snapshot 1`] =
class="gl-display-flex gl-justify-content-end"
>
<gl-button-stub
category="tertiary"
category="primary"
class="gl-mt-3"
data-testid="webhook-reset-btn"
icon=""
......@@ -80,7 +80,7 @@ exports[`Alert integration settings form should match the default snapshot 1`] =
class="gl-display-flex gl-justify-content-end"
>
<gl-button-stub
category="tertiary"
category="primary"
class="js-no-auto-disable"
icon=""
size="medium"
......
......@@ -38,7 +38,7 @@ exports[`User Operation confirmation modal renders modal with form included 1`]
/>
</form>
<gl-button-stub
category="tertiary"
category="primary"
icon=""
size="medium"
variant="default"
......
......@@ -82,7 +82,7 @@ exports[`Project remove modal intialized matches the snapshot 1`] = `
<template>
<gl-button-stub
category="tertiary"
category="primary"
class="js-modal-action-cancel"
icon=""
size="medium"
......@@ -96,7 +96,7 @@ exports[`Project remove modal intialized matches the snapshot 1`] = `
<!---->
<gl-button-stub
category="tertiary"
category="primary"
class="js-modal-action-primary"
disabled="true"
icon=""
......
......@@ -11,7 +11,7 @@ exports[`EmptyStateComponent should render content 1`] = `
<p>In order to start using functions as a service, you must first install Knative on your Kubernetes cluster. <gl-link-stub href=\\"/help\\">More information</gl-link-stub>
</p>
<div>
<gl-button-stub category=\\"tertiary\\" variant=\\"success\\" size=\\"medium\\" icon=\\"\\" href=\\"/clusters\\">Install Knative</gl-button-stub>
<gl-button-stub category=\\"primary\\" variant=\\"success\\" size=\\"medium\\" icon=\\"\\" href=\\"/clusters\\">Install Knative</gl-button-stub>
<!---->
</div>
</div>
......
......@@ -39,7 +39,7 @@ exports[`Clone Dropdown Button rendering matches the snapshot 1`] = `
tag="div"
>
<gl-button-stub
category="tertiary"
category="primary"
class="d-inline-flex"
data-clipboard-text="ssh://foo.bar"
data-qa-selector="copy_ssh_url_button"
......@@ -80,7 +80,7 @@ exports[`Clone Dropdown Button rendering matches the snapshot 1`] = `
tag="div"
>
<gl-button-stub
category="tertiary"
category="primary"
class="d-inline-flex"
data-clipboard-text="http://foo.bar"
data-qa-selector="copy_http_url_button"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment