👷 Add e2e test to profile area

This commit is contained in:
Eva 2022-01-25 16:56:46 +01:00
parent bc2a0432b9
commit f185836fd4
31 changed files with 412 additions and 206 deletions

View file

@ -12,7 +12,7 @@
(mf/defc file-uploader
{::mf/forward-ref true}
[{:keys [accept multi label-text label-class input-id on-selected] :as props} input-ref]
[{:keys [accept multi label-text label-class input-id on-selected data-test] :as props} input-ref]
(let [opt-pick-one #(if multi % (first %))
on-files-selected
@ -37,5 +37,6 @@
:accept accept
:type "file"
:ref input-ref
:on-change on-files-selected}]]))
:on-change on-files-selected
:data-test data-test}]]))