* Testing API added to server:
- registered only if `enableTestingAPI` is set to `true` in the config file
- has only one route `test/reset`
- reset clears the tables in db for blocks, users, sessions
- functions `DeleteAllBlocks` and `DeleteAllUsers` added to `Store` interface
- new functions implemented for `SQLStore`
* Cypress tests (initial version) for login actions added:
- redirect to login page,
- register user,
- test for loading home page deleted,
- allow js in `tsconfig.json` for cypress tests.
* Cypress tests for login actions:
- check that main page with workspace is visible after registration,
- initial version of test for login of register user.
* Cypress tests for login actions:
- function for checking that workspace is available added,
- functions for login and logout added,
- test for password change added,
- session parameters added to server config for cypress testing.
* Switch Cypress tests to typescript.
* Use ids for inputs instead of placeholder text.
* Use cypress request for login without loading login page.
* Cypress custom command for login added.
* Cypress tests fixed:
- new cypress commands for server reset, register/login user
- single test for "create and delete board/card"
- fixes for `BoardPage` component useEffect callbacks
- npm script `runserver-test` doesn't use single user mode
* Deletion of all blocks changed:
- also deletes blocks from history
- public function renamed to DeleteAllBlocksPermanently
- code for mocks and public methods generated
* Server tests for files fixed on windows.
* Cypress tests for the registration of second user via invite link added.
* Added `baseUrl` in main `tsconfig.json` (required by cypress configuration).
* Cypress test fixed. Comments as well as log messages added.
* Log a message if testing API is enabled.
* Single cypress test for register/login actions.
* Revert changes to server.
* More convenient cypress commands:
- all API calls made as separate commands
- declarations for commands moved to separate global.d.ts file
- utility functions moved after test actions in 'Login actions' test
* Made confirmationDialogBox from existing dialog component
* Used ConfirmationDialogBox to raise warning before deletion of card property
* fixes as ci checks did not pass
* fixes to pass ci tests
* Flash Message now visible (changed its z-index)
* Confirmation Dialog shows the property name.
* fixes for eslint test failure
* fixes for eslint test fail
* fixes for eslint test failure
* fix for eslint test failure
* fixed a wrong subtext string
* fixed eslint issues in scss
* i18n en.json for localisation updated
* `en.json;`-wrong file generated by `npm run i18n-extract ` command removed
* On Property Type or Name Change raises warning
* On Property Type or Name Change raises Confirmation dialog
Confirmation dialog box generalized for use
* The affected num of cards calculation added.
* If prop value not filled change after confirmation
* fixes after ci eslint failure
* fixes after ci eslint failure
* In cardDetailProperty test considered dialog box confirmation
* Added test for confirmationDialogBox
* npm run fix and fixed test failure
* snapshot files updated : `npm run updatesnapshot`
* ran i18n-extract script
* Added memo to Confirm dialog component
* reverted the addition of React.memo() as the feature breaks
* added confirmation for card delete
* default export of Confirmation Dialog Component
* improved cardDialog test considering dialog box opening
* Added memo and useCallback for cnfrm dialog component
* eslint formating
* eslint formatting
* added confirm dialog for kanban and dialog card .
* updated snapshot . cardDetailProperty test failing
* updated snapshot
* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655
* eslint formatting
* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655
* removed unwanted comments
* imported library for failing test
* Updating card modal scss
* Addressed @sbishel comments
* fixed duplicate width in css
* updated comment in kanbanCard
* fixed failing snapshot test
* updated kanbanCard unit test
* npm run fix
* removed useState hook for confirmDialogProps
* removed useState hook from cardDialog and kanbanCard for confirmDialogProps.
* npm run fix
* removed duplicate declaration
Co-authored-by: Prakhar <>
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>