QA Docs

icon picker
Common set of passing criteria for FE field components.

Onethread

Button

Save button should rename as update while editing something.
Save, update, cancel button should appears in a sticky modal always.
Save button should be disable in edit. It will be enabled if user changes something.
Save button should have a loading animation.
Always show a message in tooltip when max limit reached:
Every toggle button should have a background shade in off state.
Good Practice:
Always show a tooltip when you are making a button disable.

Form

Error message convention for required field: “fieldName” field is required. Example:
Error message convention for max char reached: “fieldName” can have at most 32 characters long.
Required field should have red asterisk symbol (*).
If user missed any required field in create and edit, that field should appears with red border and error message. Example:
Every single field should have a placeholder text. placeholder must show example
Don’t show clear button in dropdown when dropdown is already empty:
Currency and country should never select with default value by default.
Unless there’s a cropping mechanism required, file upload should allow multiple file selection and upload.
If user try to save a form and he missed a required field, save button should be enabled. Upon clicking on save button user should scroll to that required field.
Always show client email with client name in dropdown. Example:
Always show orderId with Service name in dropdown
Accepted File type should show everywhere in a tooltip in every option of file upload
Form will always autosave.

Filter (sort)

Every implemented filter and sort should have an option to save state. (Need to call custom hook which handles user settings API and connect filter component. See already implemented component for reference.)

Import / Export

While exporting anything, file name convention is: “workspaceName-moduleName-exportDate”. Example:
Assignee will never have an option to import, export.
Import and Export flow will be same for all upcoming features. Check section teams export functionality.

Table / Board / Card View

Those who don’t have edit and delete access and access to view only, they shouldn’t get checkbox and three dot in row and also should have a margin in left. Example of expected margin:
Should show boring avatar everywhere if there is no DP added by user. Expected: Bad Practice:
Modal design should be like this: Bad Design: Good Design:
New created thing should at the top of the list, card, board
Always remove this extra space from footer:
Never use dashboard in any breadcrumb:
Header must be sticky - cross reference with OT UI
Large text should show with 12 Char after that ... Example:
9. Always ask for empty states from UX

Global

Whatever text is getting rendered, make sure the translation setup is done.
Import color from theme instead of hardcoding, so that color changes when theme is changed. There’s a custom hook for importing the color.
There should be a unique ID in the components, so that QA can target those elements in automation
Some create/edit in modal but some in page, needs to be consistent.


Performance

Make sure to test and improve feature branch with lighthouse or GTMetrix
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.