refactor: add id for test

This commit is contained in:
somnetsak123 2023-12-04 09:28:40 +07:00
parent fce11a9a9b
commit d2ff5c81ba
10 changed files with 31 additions and 5 deletions

View file

@ -199,6 +199,7 @@ async function submitFileForm(
;(folderFormState = false), getFolder(value.pathname)
}
"
:id="`getFolderFileItem${index}`"
>
<div class="q-px-md flex items-center justify-center">
<q-icon
@ -243,6 +244,7 @@ async function submitFileForm(
padding: currentDept > 2 ? '.5rem 0' : '.5rem',
}"
@click="() => triggerFolderCreate()"
id="triggerFolderCreateFileItem"
>
<div
class="q-px-md flex items-center justify-center"
@ -286,7 +288,7 @@ async function submitFileForm(
เอกสาร
</div>
<div class="grid q-mt-md">
<div v-for="value in currentFile">
<div v-for="value,index in currentFile">
<div
:style="{
position: 'relative',
@ -299,6 +301,7 @@ async function submitFileForm(
}"
class="box"
@click="() => getFileInfo(value)"
:id="`getFileInfoFileItem${index}`"
>
<div class="q-px-md flex items-center justify-center">
<file-icon
@ -347,6 +350,7 @@ async function submitFileForm(
}"
class="dashed"
@click="() => triggerFileCreate()"
id="triggerFileCreateFileItem"
>
<div
class="q-px-md flex items-center justify-center"