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 @@ ...@@ -3,7 +3,7 @@
exports[`MergeCommitsExportButton component Merge commit CSV export button matches the snapshot 1`] = ` exports[`MergeCommitsExportButton component Merge commit CSV export button matches the snapshot 1`] = `
<div> <div>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="gl-align-self-center" class="gl-align-self-center"
href="/merge_commit_reports" href="/merge_commit_reports"
icon="export" icon="export"
......
...@@ -57,7 +57,7 @@ exports[`DependenciesActions component matches the snapshot 1`] = ` ...@@ -57,7 +57,7 @@ exports[`DependenciesActions component matches the snapshot 1`] = `
</gl-deprecated-dropdown-stub> </gl-deprecated-dropdown-stub>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="flex-grow-0 js-sort-order" class="flex-grow-0 js-sort-order"
icon="" icon=""
size="medium" size="medium"
...@@ -72,7 +72,7 @@ exports[`DependenciesActions component matches the snapshot 1`] = ` ...@@ -72,7 +72,7 @@ exports[`DependenciesActions component matches the snapshot 1`] = `
</div> </div>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="js-download" class="js-download"
download="dependencies.json" download="dependencies.json"
href="http://test.host/dependencies.json" href="http://test.host/dependencies.json"
......
...@@ -33,7 +33,7 @@ exports[`dashboard should match the snapshot 1`] = ` ...@@ -33,7 +33,7 @@ exports[`dashboard should match the snapshot 1`] = `
</h1> </h1>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="js-add-projects-button" class="js-add-projects-button"
icon="" icon=""
role="button" role="button"
......
...@@ -68,7 +68,7 @@ exports[`Project Header matches the snapshot 1`] = ` ...@@ -68,7 +68,7 @@ exports[`Project Header matches the snapshot 1`] = `
> >
<li> <li>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="js-remove-button" class="js-remove-button"
icon="" icon=""
size="medium" size="medium"
......
...@@ -31,7 +31,7 @@ exports[`SidebarDatePicker renders expected template 1`] = ` ...@@ -31,7 +31,7 @@ exports[`SidebarDatePicker renders expected template 1`] = `
/> />
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="btn-sidebar-action" class="btn-sidebar-action"
icon="" icon=""
size="medium" size="medium"
......
...@@ -16,7 +16,7 @@ jest.mock('~/lib/utils/url_utility', () => ({ ...@@ -16,7 +16,7 @@ jest.mock('~/lib/utils/url_utility', () => ({
const endpoint = '/endpoint'; const endpoint = '/endpoint';
const { i18n } = CreateMergeRequestButton; const { i18n } = CreateMergeRequestButton;
const DEFAULT_BUTTON_PROPS = { const DEFAULT_BUTTON_PROPS = {
category: 'tertiary', category: 'primary',
variant: 'default', variant: 'default',
}; };
const SUCCESS_BUTTON_PROPS = { const SUCCESS_BUTTON_PROPS = {
......
...@@ -33,6 +33,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -33,6 +33,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" 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 <div
class="d-flex align-items-stretch" class="d-flex align-items-stretch"
...@@ -109,6 +110,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -109,6 +110,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
</li> </li>
<li <li
class="list-group-item p-0 gl-display-flex gl-flex-fill-1 gl-flex-direction-column gl-justify-content-center" 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 <div
class="d-flex align-items-stretch" class="d-flex align-items-stretch"
...@@ -185,6 +187,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -185,6 +187,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
</li> </li>
<li <li
class="list-group-item p-0 gl-display-flex gl-flex-fill-1 gl-flex-direction-column gl-justify-content-center" 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 <div
class="d-flex align-items-stretch" class="d-flex align-items-stretch"
...@@ -261,6 +264,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -261,6 +264,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
</li> </li>
<li <li
class="list-group-item p-0 gl-display-flex gl-flex-fill-1 gl-flex-direction-column gl-justify-content-center" 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 <div
class="d-flex align-items-stretch" class="d-flex align-items-stretch"
...@@ -337,6 +341,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps ...@@ -337,6 +341,7 @@ exports[`Vulnerability Severity component when the data has loaded matches snaps
</li> </li>
<li <li
class="list-group-item p-0 gl-display-flex gl-flex-fill-1 gl-flex-direction-column gl-justify-content-center" 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 <div
class="d-flex align-items-stretch" class="d-flex align-items-stretch"
......
...@@ -27,7 +27,7 @@ exports[`AlertsSettingsForm with default values renders the initial template 1`] ...@@ -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-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> <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\\"> <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> </div>
<gl-modal-stub modalid=\\"authKeyModal\\" titletag=\\"h4\\" modalclass=\\"\\" size=\\"md\\" title=\\"Reset key\\" ok-title=\\"Reset key\\" ok-variant=\\"danger\\"> <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. 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`] ...@@ -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-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> </gl-form-group-stub>
<div class=\\"gl-display-flex gl-justify-content-end\\"> <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>
<div class=\\"footer-block row-content-block gl-display-flex gl-justify-content-space-between\\"> <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\\"> <gl-button-stub category=\\"primary\\" variant=\\"default\\" size=\\"medium\\" icon=\\"\\" disabled=\\"true\\">
......
...@@ -56,7 +56,7 @@ exports[`Code navigation popover component renders popover 1`] = ` ...@@ -56,7 +56,7 @@ exports[`Code navigation popover component renders popover 1`] = `
class="popover-body border-top" class="popover-body border-top"
> >
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="w-100" class="w-100"
data-testid="go-to-definition-btn" data-testid="go-to-definition-btn"
href="http://gitlab.com/test.js" href="http://gitlab.com/test.js"
......
...@@ -44,7 +44,7 @@ exports[`Design management toolbar component renders design and updated data 1`] ...@@ -44,7 +44,7 @@ exports[`Design management toolbar component renders design and updated data 1`]
/> />
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
href="/-/designs/306/7f747adcd4693afadbe968d7ba7d983349b9012d" href="/-/designs/306/7f747adcd4693afadbe968d7ba7d983349b9012d"
icon="download" icon="download"
size="medium" size="medium"
......
...@@ -5,7 +5,7 @@ exports[`Design management upload button component renders inverted upload desig ...@@ -5,7 +5,7 @@ exports[`Design management upload button component renders inverted upload desig
isinverted="true" isinverted="true"
> >
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
icon="" icon=""
size="small" size="small"
title="Adding a design with the same filename replaces the file in a new version." 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 ...@@ -30,7 +30,7 @@ exports[`Design management upload button component renders inverted upload desig
exports[`Design management upload button component renders loading icon 1`] = ` exports[`Design management upload button component renders loading icon 1`] = `
<div> <div>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
disabled="true" disabled="true"
icon="" icon=""
size="small" size="small"
...@@ -62,7 +62,7 @@ exports[`Design management upload button component renders loading icon 1`] = ` ...@@ -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`] = ` exports[`Design management upload button component renders upload design button 1`] = `
<div> <div>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
icon="" icon=""
size="small" size="small"
title="Adding a design with the same filename replaces the file in a new version." 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 ...@@ -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" class="qa-selector-toolbar gl-display-flex gl-align-items-center"
> >
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="gl-mr-3 js-select-all" class="gl-mr-3 js-select-all"
icon="" icon=""
size="small" size="small"
......
...@@ -65,7 +65,7 @@ exports[`Design management design index page renders design index 1`] = ` ...@@ -65,7 +65,7 @@ exports[`Design management design index page renders design index 1`] = `
/> />
<gl-button-stub <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" class="link-inherit-color gl-text-body gl-text-decoration-none gl-font-weight-bold gl-mb-4"
data-testid="resolved-comments" data-testid="resolved-comments"
icon="chevron-right" icon="chevron-right"
......
...@@ -65,7 +65,7 @@ exports[`Design management design index page renders design index 1`] = ` ...@@ -65,7 +65,7 @@ exports[`Design management design index page renders design index 1`] = `
/> />
<gl-button-stub <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" class="link-inherit-color gl-text-body gl-text-decoration-none gl-font-weight-bold gl-mb-4"
data-testid="resolved-comments" data-testid="resolved-comments"
icon="chevron-right" icon="chevron-right"
......
...@@ -17,7 +17,7 @@ exports[`grafana integration component default state to match the default snapsh ...@@ -17,7 +17,7 @@ exports[`grafana integration component default state to match the default snapsh
</h3> </h3>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="js-settings-toggle" class="js-settings-toggle"
icon="" icon=""
size="medium" size="medium"
......
...@@ -85,7 +85,7 @@ exports[`Alert integration settings form default state should match the default ...@@ -85,7 +85,7 @@ exports[`Alert integration settings form default state should match the default
class="gl-display-flex gl-justify-content-end" class="gl-display-flex gl-justify-content-end"
> >
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="js-no-auto-disable" class="js-no-auto-disable"
data-qa-selector="save_changes_button" data-qa-selector="save_changes_button"
icon="" icon=""
......
...@@ -18,7 +18,7 @@ exports[`IncidentsSettingTabs should render the component 1`] = ` ...@@ -18,7 +18,7 @@ exports[`IncidentsSettingTabs should render the component 1`] = `
</h4> </h4>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="js-settings-toggle" class="js-settings-toggle"
icon="" icon=""
size="medium" size="medium"
......
...@@ -46,7 +46,7 @@ exports[`Alert integration settings form should match the default snapshot 1`] = ...@@ -46,7 +46,7 @@ exports[`Alert integration settings form should match the default snapshot 1`] =
class="gl-display-flex gl-justify-content-end" class="gl-display-flex gl-justify-content-end"
> >
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="gl-mt-3" class="gl-mt-3"
data-testid="webhook-reset-btn" data-testid="webhook-reset-btn"
icon="" icon=""
...@@ -80,7 +80,7 @@ exports[`Alert integration settings form should match the default snapshot 1`] = ...@@ -80,7 +80,7 @@ exports[`Alert integration settings form should match the default snapshot 1`] =
class="gl-display-flex gl-justify-content-end" class="gl-display-flex gl-justify-content-end"
> >
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="js-no-auto-disable" class="js-no-auto-disable"
icon="" icon=""
size="medium" size="medium"
......
...@@ -38,7 +38,7 @@ exports[`User Operation confirmation modal renders modal with form included 1`] ...@@ -38,7 +38,7 @@ exports[`User Operation confirmation modal renders modal with form included 1`]
/> />
</form> </form>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
icon="" icon=""
size="medium" size="medium"
variant="default" variant="default"
......
...@@ -82,7 +82,7 @@ exports[`Project remove modal intialized matches the snapshot 1`] = ` ...@@ -82,7 +82,7 @@ exports[`Project remove modal intialized matches the snapshot 1`] = `
<template> <template>
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="js-modal-action-cancel" class="js-modal-action-cancel"
icon="" icon=""
size="medium" size="medium"
...@@ -96,7 +96,7 @@ exports[`Project remove modal intialized matches the snapshot 1`] = ` ...@@ -96,7 +96,7 @@ exports[`Project remove modal intialized matches the snapshot 1`] = `
<!----> <!---->
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="js-modal-action-primary" class="js-modal-action-primary"
disabled="true" disabled="true"
icon="" icon=""
......
...@@ -11,7 +11,7 @@ exports[`EmptyStateComponent should render content 1`] = ` ...@@ -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>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> </p>
<div> <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>
</div> </div>
......
...@@ -39,7 +39,7 @@ exports[`Clone Dropdown Button rendering matches the snapshot 1`] = ` ...@@ -39,7 +39,7 @@ exports[`Clone Dropdown Button rendering matches the snapshot 1`] = `
tag="div" tag="div"
> >
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="d-inline-flex" class="d-inline-flex"
data-clipboard-text="ssh://foo.bar" data-clipboard-text="ssh://foo.bar"
data-qa-selector="copy_ssh_url_button" data-qa-selector="copy_ssh_url_button"
...@@ -80,7 +80,7 @@ exports[`Clone Dropdown Button rendering matches the snapshot 1`] = ` ...@@ -80,7 +80,7 @@ exports[`Clone Dropdown Button rendering matches the snapshot 1`] = `
tag="div" tag="div"
> >
<gl-button-stub <gl-button-stub
category="tertiary" category="primary"
class="d-inline-flex" class="d-inline-flex"
data-clipboard-text="http://foo.bar" data-clipboard-text="http://foo.bar"
data-qa-selector="copy_http_url_button" 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