Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAndBear committed Jun 18, 2024
1 parent 0fb1630 commit 2d649d8
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`AppTopBar > if a resource is present > renders a resource and dropdownActions (if given) and a close button 1`] = `
"<portal to="app.runtime.header.left">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="true" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><!--v-if--> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Show context menu" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="oc-openfile-contextmenu-trigger" class="oc-p-xs"></oc-button-stub> <oc-drop-stub dropid="oc-openfile-contextmenu" popperoptions="[object Object]" toggle="#oc-openfile-contextmenu-trigger" position="bottom-start" mode="click" closeonclick="true" isnested="false" paddingsize="small"></oc-drop-stub> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
"<portal to="app.runtime.header.left" dropdownactions="undefined">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="true" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><!--v-if--> <!--v-if--> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
</portal>"
`;

exports[`AppTopBar > if a resource is present > renders a resource and dropdownActions as well as mainActions (if both are passed) and a close button 1`] = `
"<portal to="app.runtime.header.left">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="true" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><context-action-menu-stub menusections="[object Object]" actionoptions="[object Object]" appearance="raw-inverse" variation="brand"></context-action-menu-stub> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Show context menu" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="oc-openfile-contextmenu-trigger" class="oc-p-xs"></oc-button-stub> <oc-drop-stub dropid="oc-openfile-contextmenu" popperoptions="[object Object]" toggle="#oc-openfile-contextmenu-trigger" position="bottom-start" mode="click" closeonclick="true" isnested="false" paddingsize="small"></oc-drop-stub> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
"<portal to="app.runtime.header.left" dropdownactions="undefined">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="true" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><!--v-if--> <context-action-menu-stub menusections="[object Object]" actionoptions="[object Object]" appearance="raw-inverse" variation="brand"></context-action-menu-stub> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
</portal>"
`;

exports[`AppTopBar > if a resource is present > renders a resource and mainActions (if given) and a close button 1`] = `
"<portal to="app.runtime.header.left">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="true" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><context-action-menu-stub menusections="[object Object]" actionoptions="[object Object]" appearance="raw-inverse" variation="brand"></context-action-menu-stub> <!--v-if--> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
"<portal to="app.runtime.header.left" dropdownactions="">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="true" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><!--v-if--> <context-action-menu-stub menusections="[object Object]" actionoptions="[object Object]" appearance="raw-inverse" variation="brand"></context-action-menu-stub> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
</portal>"
`;

exports[`AppTopBar > if a resource is present > renders a resource and no actions (if none given) and a close button 1`] = `
"<portal to="app.runtime.header.left">
"<portal to="app.runtime.header.left" dropdownactions="">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="true" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><!--v-if--> <!--v-if--> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
</portal>"
`;

exports[`AppTopBar > if a resource is present > renders a resource without file extension if areFileExtensionsShown is set to false 1`] = `
"<portal to="app.runtime.header.left">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="false" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><context-action-menu-stub menusections="[object Object]" actionoptions="[object Object]" appearance="raw-inverse" variation="brand"></context-action-menu-stub> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Show context menu" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="oc-openfile-contextmenu-trigger" class="oc-p-xs"></oc-button-stub> <oc-drop-stub dropid="oc-openfile-contextmenu" popperoptions="[object Object]" toggle="#oc-openfile-contextmenu-trigger" position="bottom-start" mode="click" closeonclick="true" isnested="false" paddingsize="small"></oc-drop-stub> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
"<portal to="app.runtime.header.left" dropdownactions="undefined">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="false" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><!--v-if--> <context-action-menu-stub menusections="[object Object]" actionoptions="[object Object]" appearance="raw-inverse" variation="brand"></context-action-menu-stub> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
</portal>"
`;

exports[`AppTopBar > if no resource is present > renders only a close button 1`] = `
"<portal to="app.runtime.header.left">
"<portal to="app.runtime.header.left" dropdownactions="">
<div class="oc-app-top-bar oc-flex"><span class="oc-app-top-bar-inner oc-px-m oc-flex oc-flex-middle oc-flex-between"><div class="open-file-bar oc-flex"><resource-list-item-stub resource="undefined" pathprefix="Shares/test" ispathdisplayed="false" parentfoldername="test" parentfolderlinkiconadditionalattributes="[object Object]" isextensiondisplayed="true" isthumbnaildisplayed="false" isicondisplayed="true" isresourceclickable="true" id="app-top-bar-resource"></resource-list-item-stub></div> <div class="oc-flex main-actions"><!--v-if--> <!--v-if--> <oc-button-stub type="button" disabled="false" size="medium" arialabel="Close" submit="button" variation="brand" appearance="raw-inverse" justifycontent="center" gapsize="medium" showspinner="false" id="app-top-bar-close"></oc-button-stub></div></span></div>
</portal>"
`;

0 comments on commit 2d649d8

Please sign in to comment.