Skip to content

Commit

Permalink
Update snapshots and fix other test(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmidt committed Jan 23, 2023
1 parent 24d5dbd commit 27b6630
Show file tree
Hide file tree
Showing 21 changed files with 195 additions and 195 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports[`OcBreadcrumb displays all items 1`] = `
</li>
<li class="oc-breadcrumb-list-item oc-flex oc-flex-middle">
<!--v-if-->
<oc-button-stub appearance="raw" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">
<oc-button-stub appearance="raw" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">
<span>Subfolder</span>
</oc-button-stub>
<!--v-if-->
Expand All @@ -35,13 +35,13 @@ exports[`OcBreadcrumb displays all items 1`] = `
<span aria-current="page" class="oc-breadcrumb-drop-label-text oc-text-truncate">Deeper ellipsize in responsive mode</span>
<oc-icon-stub accessiblelabel="Expand more" class="oc-breadcrumb-drop-label-icon" color="" filltype="fill" name="arrow-down-s" size="medium" type="span" variation="passive"></oc-icon-stub>
</label>
<oc-drop-stub dropid="oc-drop-2" mode="click" paddingsize="medium" position="bottom-start" toggle="">
<oc-drop-stub closeonclick="false" dropid="oc-drop-2" isnested="false" mode="click" paddingsize="medium" position="bottom-start" toggle="">
<ol>
<li>
<router-link-stub tag="a" to="[object Object]">Deep</router-link-stub>
</li>
<li>
<oc-button-stub appearance="raw" gapsize="medium" justifycontent="left" size="medium" submit="button" type="button" variation="passive">Subfolder</oc-button-stub>
<oc-button-stub appearance="raw" disabled="false" gapsize="medium" justifycontent="left" size="medium" submit="button" type="button" variation="passive">Subfolder</oc-button-stub>
</li>
<li>
<router-link-stub tag="a" to="[object Object]">First folder</router-link-stub>
Expand All @@ -64,7 +64,7 @@ exports[`OcBreadcrumb sets correct variation 1`] = `
</li>
<li class="oc-breadcrumb-list-item oc-flex oc-flex-middle">
<!--v-if-->
<oc-button-stub appearance="raw" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">
<oc-button-stub appearance="raw" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">
<span>Subfolder</span>
</oc-button-stub>
<!--v-if-->
Expand All @@ -87,13 +87,13 @@ exports[`OcBreadcrumb sets correct variation 1`] = `
<span aria-current="page" class="oc-breadcrumb-drop-label-text oc-text-truncate">Deeper ellipsize in responsive mode</span>
<oc-icon-stub accessiblelabel="Expand more" class="oc-breadcrumb-drop-label-icon" color="" filltype="fill" name="arrow-down-s" size="medium" type="span" variation="passive"></oc-icon-stub>
</label>
<oc-drop-stub dropid="oc-drop-1" mode="click" paddingsize="medium" position="bottom-start" toggle="">
<oc-drop-stub closeonclick="false" dropid="oc-drop-1" isnested="false" mode="click" paddingsize="medium" position="bottom-start" toggle="">
<ol>
<li>
<router-link-stub tag="a" to="[object Object]">Deep</router-link-stub>
</li>
<li>
<oc-button-stub appearance="raw" gapsize="medium" justifycontent="left" size="medium" submit="button" type="button" variation="passive">Subfolder</oc-button-stub>
<oc-button-stub appearance="raw" disabled="false" gapsize="medium" justifycontent="left" size="medium" submit="button" type="button" variation="passive">Subfolder</oc-button-stub>
</li>
<li>
<router-link-stub tag="a" to="[object Object]">First folder</router-link-stub>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

exports[`OcModal displays input 1`] = `
<div aria-labelledby="oc-modal-title" class="oc-modal-background">
<focus-trap-stub active="true" allowoutsideclick="true" delayinitialfocus="true" escapedeactivates="true" initialfocus="[Function]" returnfocusondeactivate="true">
<focus-trap-stub active="true" allowoutsideclick="true" clickoutsidedeactivates="false" escapedeactivates="true" initialfocus="[Function]" returnfocusondeactivate="true">
<div aria-modal="true" class="oc-modal oc-modal-passive" role="dialog" tabindex="0">
<div class="oc-modal-title">
<!--v-if-->
<h2 id="oc-modal-title">Create new folder</h2>
</div>
<div class="oc-modal-body">
<oc-text-input-stub class="oc-modal-body-input" clearbuttonaccessiblelabel="" fixmessageline="true" id="oc-textinput-1" label="Folder name" modelvalue="New folder" type="text"></oc-text-input-stub>
<oc-text-input-stub class="oc-modal-body-input" clearbuttonaccessiblelabel="" clearbuttonenabled="false" disabled="false" fixmessageline="true" id="oc-textinput-1" label="Folder name" modelvalue="New folder" type="text"></oc-text-input-stub>
<!--v-if-->
<!--v-if-->
<div class="oc-modal-body-actions oc-flex oc-flex-right">
<oc-button-stub appearance="outline" class="oc-modal-body-actions-cancel" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">Cancel</oc-button-stub>
<oc-button-stub appearance="outline" class="oc-modal-body-actions-cancel" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">Cancel</oc-button-stub>
<!--v-if-->
<oc-button-stub appearance="filled" class="oc-modal-body-actions-confirm oc-ml-s" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="primary">Confirm</oc-button-stub>
<oc-button-stub appearance="filled" class="oc-modal-body-actions-confirm oc-ml-s" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="primary">Confirm</oc-button-stub>
</div>
</div>
</div>
Expand All @@ -25,7 +25,7 @@ exports[`OcModal displays input 1`] = `

exports[`OcModal hides icon if not specified 1`] = `
<div aria-labelledby="oc-modal-title" class="oc-modal-background">
<focus-trap-stub active="true" allowoutsideclick="true" delayinitialfocus="true" escapedeactivates="true" initialfocus="[Function]" returnfocusondeactivate="true">
<focus-trap-stub active="true" allowoutsideclick="true" clickoutsidedeactivates="false" escapedeactivates="true" initialfocus="[Function]" returnfocusondeactivate="true">
<div aria-modal="true" class="oc-modal oc-modal-passive" role="dialog" tabindex="0">
<div class="oc-modal-title">
<!--v-if-->
Expand All @@ -36,9 +36,9 @@ exports[`OcModal hides icon if not specified 1`] = `
<!--v-if-->
<!--v-if-->
<div class="oc-modal-body-actions oc-flex oc-flex-right">
<oc-button-stub appearance="outline" class="oc-modal-body-actions-cancel" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">Cancel</oc-button-stub>
<oc-button-stub appearance="outline" class="oc-modal-body-actions-cancel" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">Cancel</oc-button-stub>
<!--v-if-->
<oc-button-stub appearance="filled" class="oc-modal-body-actions-confirm oc-ml-s" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="primary">Confirm</oc-button-stub>
<oc-button-stub appearance="filled" class="oc-modal-body-actions-confirm oc-ml-s" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="primary">Confirm</oc-button-stub>
</div>
</div>
</div>
Expand All @@ -48,7 +48,7 @@ exports[`OcModal hides icon if not specified 1`] = `

exports[`OcModal matches snapshot 1`] = `
<div aria-labelledby="oc-modal-title" class="oc-modal-background">
<focus-trap-stub active="true" allowoutsideclick="true" delayinitialfocus="true" escapedeactivates="true" initialfocus="[Function]" returnfocusondeactivate="true">
<focus-trap-stub active="true" allowoutsideclick="true" clickoutsidedeactivates="false" escapedeactivates="true" initialfocus="[Function]" returnfocusondeactivate="true">
<div aria-modal="true" class="oc-modal oc-modal-passive" role="dialog" tabindex="0">
<div class="oc-modal-title">
<oc-icon-stub accessiblelabel="" color="" filltype="fill" name="info" size="medium" type="span" variation="passive"></oc-icon-stub>
Expand All @@ -59,9 +59,9 @@ exports[`OcModal matches snapshot 1`] = `
<!--v-if-->
<!--v-if-->
<div class="oc-modal-body-actions oc-flex oc-flex-right">
<oc-button-stub appearance="outline" class="oc-modal-body-actions-cancel" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">Cancel</oc-button-stub>
<oc-button-stub appearance="outline" class="oc-modal-body-actions-cancel" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">Cancel</oc-button-stub>
<!--v-if-->
<oc-button-stub appearance="filled" class="oc-modal-body-actions-confirm oc-ml-s" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="primary">Confirm</oc-button-stub>
<oc-button-stub appearance="filled" class="oc-modal-body-actions-confirm oc-ml-s" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="primary">Confirm</oc-button-stub>
</div>
</div>
</div>
Expand All @@ -71,7 +71,7 @@ exports[`OcModal matches snapshot 1`] = `

exports[`OcModal overrides props message with slot 1`] = `
<div aria-labelledby="oc-modal-title" class="oc-modal-background">
<focus-trap-stub active="true" allowoutsideclick="true" delayinitialfocus="true" escapedeactivates="true" initialfocus="[Function]" returnfocusondeactivate="true">
<focus-trap-stub active="true" allowoutsideclick="true" clickoutsidedeactivates="false" escapedeactivates="true" initialfocus="[Function]" returnfocusondeactivate="true">
<div aria-modal="true" class="oc-modal oc-modal-passive" role="dialog" tabindex="0">
<div class="oc-modal-title">
<!--v-if-->
Expand All @@ -84,9 +84,9 @@ exports[`OcModal overrides props message with slot 1`] = `
<!--v-if-->
<!--v-if-->
<div class="oc-modal-body-actions oc-flex oc-flex-right">
<oc-button-stub appearance="outline" class="oc-modal-body-actions-cancel" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">Cancel</oc-button-stub>
<oc-button-stub appearance="outline" class="oc-modal-body-actions-cancel" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="passive">Cancel</oc-button-stub>
<!--v-if-->
<oc-button-stub appearance="filled" class="oc-modal-body-actions-confirm oc-ml-s" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="primary">Confirm</oc-button-stub>
<oc-button-stub appearance="filled" class="oc-modal-body-actions-confirm oc-ml-s" disabled="false" gapsize="medium" justifycontent="center" size="medium" submit="button" type="button" variation="primary">Confirm</oc-button-stub>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe('OcSearchBar', () => {
})
it('should enable search button', async () => {
await wrapper.find(selectors.searchInput).setValue('a') // search query should also be not null
expect(wrapper.find(selectors.searchButton).attributes('disabled')).toBe(undefined)
expect(wrapper.find(selectors.searchButton).attributes('disabled')).toBe('false')
})
})
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports[`OcTile component renders default space correctly 1`] = `
<div class="oc-card-body oc-p-s">
<div class="oc-flex oc-flex-between oc-flex-middle">
<div class="oc-flex oc-flex-middle oc-text-truncate">
<oc-resource-stub isextensiondisplayed="true" isresourceclickable="true" isthumbnaildisplayed="true" parentfoldernamedefault="" resource="[object Object]"></oc-resource-stub>
<oc-resource-stub isextensiondisplayed="true" ispathdisplayed="false" isresourceclickable="true" isthumbnaildisplayed="true" parentfoldernamedefault="" resource="[object Object]"></oc-resource-stub>
</div>
<div class="oc-flex oc-flex-middle">
<!-- Slot for individual actions -->
Expand All @@ -24,15 +24,15 @@ exports[`OcTile component renders default space correctly 1`] = `
exports[`OcTile component renders disabled space correctly 1`] = `
<div class="oc-tile-card oc-card oc-card-default oc-rounded state-trashed">
<oc-resource-link-stub class="oc-card-media-top oc-border-b oc-flex oc-flex-center oc-flex-middle" isresourceclickable="true" resource="[object Object]">
<oc-tag-stub class="resource-disabled-indicator oc-position-absolute" size="medium" type="span">
<oc-tag-stub class="resource-disabled-indicator oc-position-absolute" rounded="false" size="medium" type="span">
<span>Disabled</span>
</oc-tag-stub> <!-- Slot for resource image, renders resource type icon by default -->
<oc-resource-icon-stub class="tile-default-image oc-p-m" resource="[object Object]" size="xxlarge"></oc-resource-icon-stub>
</oc-resource-link-stub>
<div class="oc-card-body oc-p-s">
<div class="oc-flex oc-flex-between oc-flex-middle">
<div class="oc-flex oc-flex-middle oc-text-truncate">
<oc-resource-stub isextensiondisplayed="true" isresourceclickable="true" isthumbnaildisplayed="true" parentfoldernamedefault="" resource="[object Object]"></oc-resource-stub>
<oc-resource-stub isextensiondisplayed="true" ispathdisplayed="false" isresourceclickable="true" isthumbnaildisplayed="true" parentfoldernamedefault="" resource="[object Object]"></oc-resource-stub>
</div>
<div class="oc-flex oc-flex-middle">
<!-- Slot for individual actions -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`MembersPanel should display an empty result if no matching members found 1`] = `
<div class="oc-ml-s">
<oc-text-input-stub class="oc-text-truncate oc-mr-s oc-mt-m" clearbuttonaccessiblelabel="" id="oc-textinput-3" label="Filter members" modelvalue="no-match" type="text"></oc-text-input-stub>
<oc-text-input-stub class="oc-text-truncate oc-mr-s oc-mt-m" clearbuttonaccessiblelabel="" clearbuttonenabled="false" disabled="false" fixmessageline="false" id="oc-textinput-3" label="Filter members" modelvalue="no-match" type="text"></oc-text-input-stub>
<div>
<div>
<h3 class="oc-text-bold oc-text-medium">No members found</h3>
Expand All @@ -16,7 +16,7 @@ exports[`MembersPanel should display an empty result if no matching members foun

exports[`MembersPanel should render all members accordingly to their role assignments 1`] = `
<div class="oc-ml-s">
<oc-text-input-stub class="oc-text-truncate oc-mr-s oc-mt-m" clearbuttonaccessiblelabel="" id="oc-textinput-1" label="Filter members" modelvalue="" type="text"></oc-text-input-stub>
<oc-text-input-stub class="oc-text-truncate oc-mr-s oc-mt-m" clearbuttonaccessiblelabel="" clearbuttonenabled="false" disabled="false" fixmessageline="false" id="oc-textinput-1" label="Filter members" modelvalue="" type="text"></oc-text-input-stub>
<div>
<!--v-if-->
<div class="oc-mb-m">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports[`SpacesList should render all spaces in a table 1`] = `
<tr class="oc-table-header-row" tabindex="-1">
<th class="oc-table-cell oc-table-cell-align-left oc-table-cell-align-middle oc-table-cell-width-shrink oc-text-nowrap oc-th oc-table-header-cell oc-table-header-cell-select oc-pl-s" style="top: 0px;">
<span class="oc-table-thead-content">
<oc-checkbox-stub class="oc-ml-s" hidelabel="true" id="oc-checkbox-1" label="Select all spaces" size="large"></oc-checkbox-stub>
<oc-checkbox-stub class="oc-ml-s" disabled="false" hidelabel="true" id="oc-checkbox-1" label="Select all spaces" modelvalue="false" outline="false" size="large"></oc-checkbox-stub>
</span>
<!--v-if-->
</th>
Expand Down Expand Up @@ -99,7 +99,7 @@ exports[`SpacesList should render all spaces in a table 1`] = `
<tbody>
<tr class="oc-tbody-tr oc-tbody-tr-1" data-item-id="1" draggable="false" tabindex="-1">
<td class="oc-table-cell oc-table-cell-align-left oc-table-cell-align-middle oc-table-cell-width-shrink oc-td oc-table-data-cell oc-table-data-cell-select oc-pl-s">
<oc-checkbox-stub class="oc-ml-s" hidelabel="true" id="oc-checkbox-2" label="Select 1 Some space" option="[object Object]" size="large"></oc-checkbox-stub>
<oc-checkbox-stub class="oc-ml-s" disabled="false" hidelabel="true" id="oc-checkbox-2" label="Select 1 Some space" modelvalue="false" option="[object Object]" outline="false" size="large"></oc-checkbox-stub>
</td>
<td class="oc-table-cell oc-table-cell-align-left oc-table-cell-align-middle oc-table-cell-width-shrink oc-td oc-table-data-cell oc-table-data-cell-icon">
<span class="oc-icon oc-icon-m oc-icon-passive">
Expand Down
Loading

0 comments on commit 27b6630

Please sign in to comment.