Commit 04028c8e authored by Miguel Rincon's avatar Miguel Rincon

Update snapshots to match dropdown changes

GitLab UI updated a few aways in which the dropdowns are rendered,
this change regenerates snapshot and updates a test to match them.
parent 1747d9a2
...@@ -80,6 +80,8 @@ exports[`OnDemandScansScannerProfileSelector renders properly with profiles 1`] ...@@ -80,6 +80,8 @@ exports[`OnDemandScansScannerProfileSelector renders properly with profiles 1`]
> >
<!----> <!---->
<!---->
<span <span
class="gl-new-dropdown-button-text" class="gl-new-dropdown-button-text"
> >
......
...@@ -80,6 +80,8 @@ exports[`OnDemandScansSiteProfileSelector renders properly with profiles 1`] = ` ...@@ -80,6 +80,8 @@ exports[`OnDemandScansSiteProfileSelector renders properly with profiles 1`] = `
> >
<!----> <!---->
<!---->
<span <span
class="gl-new-dropdown-button-text" class="gl-new-dropdown-button-text"
> >
......
...@@ -14,6 +14,8 @@ exports[`Remove cluster confirmation modal renders splitbutton with modal includ ...@@ -14,6 +14,8 @@ exports[`Remove cluster confirmation modal renders splitbutton with modal includ
> >
<!----> <!---->
<!---->
<span <span
class="gl-new-dropdown-button-text" class="gl-new-dropdown-button-text"
> >
......
...@@ -12,7 +12,7 @@ exports[`Code navigation popover component renders popover 1`] = ` ...@@ -12,7 +12,7 @@ exports[`Code navigation popover component renders popover 1`] = `
<gl-tabs-stub <gl-tabs-stub
contentclass="gl-py-0" contentclass="gl-py-0"
nav-class="gl-hidden" navclass="gl-hidden"
theme="indigo" theme="indigo"
> >
<gl-tab-stub <gl-tab-stub
......
...@@ -91,6 +91,8 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = ...@@ -91,6 +91,8 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
> >
<!----> <!---->
<!---->
<span <span
class="gl-new-dropdown-button-text" class="gl-new-dropdown-button-text"
> >
...@@ -203,6 +205,8 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = ...@@ -203,6 +205,8 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
> >
<!----> <!---->
<!---->
<span <span
class="gl-new-dropdown-button-text" class="gl-new-dropdown-button-text"
> >
......
...@@ -10,7 +10,7 @@ exports[`packages_list_app renders 1`] = ` ...@@ -10,7 +10,7 @@ exports[`packages_list_app renders 1`] = `
activenavitemclass="gl-tab-nav-item-active gl-tab-nav-item-active-indigo" activenavitemclass="gl-tab-nav-item-active gl-tab-nav-item-active-indigo"
class="gl-tabs" class="gl-tabs"
contentclass=",gl-tab-content" contentclass=",gl-tab-content"
navclass="gl-tabs-nav" navclass=",gl-tabs-nav"
nofade="true" nofade="true"
nonavstyle="true" nonavstyle="true"
tag="div" tag="div"
......
...@@ -116,11 +116,11 @@ describe('RoleDropdown', () => { ...@@ -116,11 +116,11 @@ describe('RoleDropdown', () => {
await nextTick(); await nextTick();
expect(findDropdown().attributes('disabled')).toBe('disabled'); expect(findDropdown().props('disabled')).toBe(true);
await waitForPromises(); await waitForPromises();
expect(findDropdown().attributes('disabled')).toBeUndefined(); expect(findDropdown().props('disabled')).toBe(false);
}); });
}); });
}); });
......
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