ever-co / ever-gauzy

Ever® Gauzy™ - Open Business Management Platform (ERP/CRM/HRM/ATS/PM) - https://gauzy.co
https://gauzy.co
GNU Affero General Public License v3.0
2.29k stars 540 forks source link

Feature: Tests and QA #1601

Open evereq opened 4 years ago

evereq commented 4 years ago

We need to have automated (e2e, integration) tests and do QA on all features.

As of today, we already have started that process, see code in the https://github.com/ever-co/gauzy/tree/develop/apps/gauzy-e2e and specifically in the https://github.com/ever-co/gauzy/tree/develop/apps/gauzy-e2e/src/integration folder.

We have a Wiki which describes how to run such tests: https://github.com/ever-co/gauzy/wiki/Automated-Testing

Our goal is to cover all functionality with such integration tests, starting of course with stable features first and moving to features that are in active development.

The following pages design is stable, so we can start from them:

Dreemsuncho commented 4 years ago

Report: There was a bug with the existed Logout and Register tests, because of that I started fixing it before writing any new tests. These are the results after the fix: The actual bugs Logout test failed Register test failed Logout: https://www.screencast.com/t/Avj7fjsPLNF Register: https://www.screencast.com/t/JEVKL0pvVz

After the bugs were fixed Register test success Logout test success Logout: https://www.screencast.com/t/nBD8QPVOi Register: https://www.screencast.com/t/JZXB600qWUK

After that, I started implementing the organizations, the create organization test is almost done, remains to verify the created record, but tomorrow I'll finish that because I was not able to select row element inside the smart-table. After finish with that, I'll jump to the organization delete and show the progress tomorrow.

evereq commented 4 years ago

@YavorGrancharov great work on first integration tests, please continue on:

Also, skip pages that you think too complicated. No need to create separate Github issues for that, let's keep tracking here in the comments.

YavorGrancharov commented 4 years ago

Yes I started on auth already!

На сб, 5.09.2020 г., 9:54 ч. Ruslan Konviser notifications@github.com написа:

@YavorGrancharov https://github.com/YavorGrancharov great work on first integration tests, please continue on:

(skip pages which you think too complicated etc)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ever-co/gauzy/issues/1601#issuecomment-687562642, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG5HNOEBER6PHN6GIW6GDWLSEHODVANCNFSM4OQQIF2Q .

evereq commented 4 years ago

For the record, this is what I got running tests today locally

image

YavorGrancharov commented 4 years ago

For the record, this is what I got running tests today locally

image

After today's refactoring 7SmOR2aQlY

YavorGrancharov commented 3 years ago

image (2)