Show message and links to unverified users #745
sveltekit.yml
on: pull_request
unit-test
1m 41s
check
1m 20s
Annotations
3 errors
src/lib/components/forms/tests/DocumentUpload.test.ts > DocumentUpload form > lists files selected for upload:
node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L332
TestingLibraryElementError: Unable to find an accessible element with the role "listitem"
Here are the accessible roles:
button:
Name "Before you can upload documents, you need to be verify your account. You can do this by joining a verified news organization or by requesting verification for yourself. Search organizations Request verification Until you're verified, you can search through the public repository, organize documents you're interested in into projects, leave private notes, and collaborate on editing and annotating documents other users invite you to. Read more about verification in our FAQ Get started by selecting, pasting or dragging-and-dropping files Select files Select, paste or drag-and-drop files to upload Begin Upload Access Level Private Documents will only be visible to you Organization Documents will only be visible to your organization Public Documents will be publicly visible to everyone Projects Language English OCR Engine Tesseract Tesseract is an open source OCR engine available free to all DocumentCloud accounts. Force OCR Revision Control Premium Premium All previous versions to the document will be preserved and available for download.":
<div
aria-dropeffect="execute"
class="svelte-cisly"
role="button"
tabindex="0"
/>
Name "Select files":
<button
class="primary normal minW svelte-12ugz1l"
disabled=""
title=""
type="button"
/>
Name "Begin Upload":
<button
class="primary normal full minW svelte-12ugz1l"
disabled=""
title=""
type="submit"
/>
--------------------------------------------------
banner:
Name "":
<header
class="svelte-kd7mvt"
/>
--------------------------------------------------
complementary:
Name "":
<aside
class="tip normal svelte-1qnds73"
/>
--------------------------------------------------
link:
Name "Search organizations":
<a
class="standard normal minW svelte-12ugz1l"
href="https://accounts.muckrock.com/organizations/"
rel="noopener noreferrer"
target="_blank"
title=""
/>
Name "Request verification":
<a
class="standard normal minW svelte-12ugz1l"
href="https://airtable.com/app93Yt5cwdVWTnqn/pagogIhgB1jZTzq00/form"
rel="noopener noreferrer"
target="_blank"
title=""
/>
Name "Read more about verification in our FAQ":
<a
href="https://www.documentcloud.org/help/faq#verification"
target="_blank"
/>
Name "Tesseract":
<a
href="https://tesseract-ocr.github.io/tessdoc/"
rel="noopener noreferrer"
target="_blank"
/>
--------------------------------------------------
radio:
Name "Private Documents will only be visible to you":
<input
class="sr-only svelte-ct79hs"
id="private"
name="access"
type="radio"
value="private"
/>
Name "Organization Documents will only be visible to your organization":
<input
class="sr-only svelte-ct79hs"
id="organization"
name="access"
type="radio"
value="organization"
/>
Name "Public Documents will be publicly visible to everyone":
<input
class="sr-only svelte-ct79hs"
id="public"
name="access"
type="radio"
value="public"
/>
--------------------------------------------------
none:
Name "":
<div
class="svelte-select select elevated sourceCodePro gray-4 svelte-pqu2zo multi show-chevron"
role="none"
style=""
/>
Name "":
<div
class="svelte-select select elevated sourceCodePro gray-4 svelte-pqu2zo show-chevron"
role="none"
style=""
/>
Name "":
<div
class="svelte-select select elevated sourceCodePro gray-4 svelte-pqu2zo show-chevron"
role="none"
style=""
/>
--------------------------------------------------
textbox:
Name "":
<input
aria-autocomplete="list"
autocapitalize="none"
autocomplete="off"
autocorrect="off"
class="svelte-pqu2zo"
placeholder="Select multiple"
spellcheck="false"
style=""
tabindex="0"
type="text"
/>
Name "":
<input
aria-autocomplete="list"
aut
|
src/lib/components/forms/tests/DocumentUpload.test.ts > DocumentUpload form > provides feedback when a file is too large:
node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L332
TestingLibraryElementError: Unable to find an accessible element with the role "listitem"
Here are the accessible roles:
button:
Name "Before you can upload documents, you need to be verify your account. You can do this by joining a verified news organization or by requesting verification for yourself. Search organizations Request verification Until you're verified, you can search through the public repository, organize documents you're interested in into projects, leave private notes, and collaborate on editing and annotating documents other users invite you to. Read more about verification in our FAQ Get started by selecting, pasting or dragging-and-dropping files Select files Select, paste or drag-and-drop files to upload Begin Upload Access Level Private Documents will only be visible to you Organization Documents will only be visible to your organization Public Documents will be publicly visible to everyone Projects Language English OCR Engine Tesseract Tesseract is an open source OCR engine available free to all DocumentCloud accounts. Force OCR Revision Control Premium Premium All previous versions to the document will be preserved and available for download.":
<div
aria-dropeffect="execute"
class="svelte-cisly"
role="button"
tabindex="0"
/>
Name "Select files":
<button
class="primary normal minW svelte-12ugz1l"
disabled=""
title=""
type="button"
/>
Name "Begin Upload":
<button
class="primary normal full minW svelte-12ugz1l"
disabled=""
title=""
type="submit"
/>
--------------------------------------------------
banner:
Name "":
<header
class="svelte-kd7mvt"
/>
--------------------------------------------------
complementary:
Name "":
<aside
class="tip normal svelte-1qnds73"
/>
--------------------------------------------------
link:
Name "Search organizations":
<a
class="standard normal minW svelte-12ugz1l"
href="https://accounts.muckrock.com/organizations/"
rel="noopener noreferrer"
target="_blank"
title=""
/>
Name "Request verification":
<a
class="standard normal minW svelte-12ugz1l"
href="https://airtable.com/app93Yt5cwdVWTnqn/pagogIhgB1jZTzq00/form"
rel="noopener noreferrer"
target="_blank"
title=""
/>
Name "Read more about verification in our FAQ":
<a
href="https://www.documentcloud.org/help/faq#verification"
target="_blank"
/>
Name "Tesseract":
<a
href="https://tesseract-ocr.github.io/tessdoc/"
rel="noopener noreferrer"
target="_blank"
/>
--------------------------------------------------
radio:
Name "Private Documents will only be visible to you":
<input
class="sr-only svelte-ct79hs"
id="private"
name="access"
type="radio"
value="private"
/>
Name "Organization Documents will only be visible to your organization":
<input
class="sr-only svelte-ct79hs"
id="organization"
name="access"
type="radio"
value="organization"
/>
Name "Public Documents will be publicly visible to everyone":
<input
class="sr-only svelte-ct79hs"
id="public"
name="access"
type="radio"
value="public"
/>
--------------------------------------------------
none:
Name "":
<div
class="svelte-select select elevated sourceCodePro gray-4 svelte-pqu2zo multi show-chevron"
role="none"
style=""
/>
Name "":
<div
class="svelte-select select elevated sourceCodePro gray-4 svelte-pqu2zo show-chevron"
role="none"
style=""
/>
Name "":
<div
class="svelte-select select elevated sourceCodePro gray-4 svelte-pqu2zo show-chevron"
role="none"
style=""
/>
--------------------------------------------------
textbox:
Name "":
<input
aria-autocomplete="list"
autocapitalize="none"
autocomplete="off"
autocorrect="off"
class="svelte-pqu2zo"
placeholder="Select multiple"
spellcheck="false"
style=""
tabindex="0"
type="text"
/>
Name "":
<input
aria-autocomplete="list"
aut
|
unit-test
Process completed with exit code 1.
|