Closed paulo-rossy closed 1 month ago
Hi, thanks for reporting the problems with the tests 🙏
To start InviteNewOrganizationEmployeeService.test.js
now you need to put CALLCENTER_DOMAIN
in your .env
.
We have this done automatically with prepare.js
, but I didn't take into account that prepare.js
doesn't see all applications when run from the OSS version. I have corrected that in this PR:
https://github.com/open-condo-software/condo/pull/5013
Once it gets into the master, you can rerun prepare.js
and the tests with InviteNewOrganizationEmployeeService.test.js
should run.
The tests from ConvertFileToTable.spec.js
are crashing locally because one of our developers moved the tests from the application to packages and didn't move the assets.
We'll fix that too in one of the next PRs, thanks again for the information 🙌
Fixed part for @registry/domains/format/lib/mock-files/check.csv now all mock files are in the same directory (in packages)
I'll close it for new. If you still have any problem feel free to reopen
After updating the project to the latest version, some tests started failing. Please take a look at them; I couldn't find any issues on my side.
Errors in GitHub Actions are found in the following tests:
ConvertFileToTable.spec.js
andInviteNewOrganizationEmployeeService.test.js
.It seems to me that the error in
ConvertFileToTable.spec.js
is on the OpenCondo side, because this script was added recently. There might be a missing private module:Error from
InviteNewOrganizationEmployeeService.test.js
: