Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E тесты #106

Closed
qertis opened this issue Apr 2, 2019 · 8 comments
Closed

E2E тесты #106

qertis opened this issue Apr 2, 2019 · 8 comments
Labels

Comments

@qertis
Copy link
Member

qertis commented Apr 2, 2019

похоже ava не найдена, из-за этого не работает

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
INFO
02/04/2019 05:00:21.622 am4
npm ERR!
INFO
02/04/2019 05:00:21.622 am5
npm ERR! syscall spawn
INFO
02/04/2019 05:00:21.621 am6
npm ERR! code ELIFECYCLE
INFO
02/04/2019 05:00:21.620 am7
npm ERR! errno ENOENT
INFO
02/04/2019 05:00:21.620 am8
npm ERR! file sh
INFO
02/04/2019 05:00:21.620 am9
sh: 1: ava: not found
INFO
02/04/2019 05:00:21.616 am10

ProstoDiary_bot@1.0.0 e2e /app
INFO
02/04/2019 05:00:21.612 am11
ava tests/e2e/index.js tests/e2e/**/*.test.js
INFO
02/04/2019 05:00:21.612 am12
Starting process with command npm run e2e
INFO
02/04/2019 05:00:19.644 am13

@qertis qertis added the bug label Apr 2, 2019
@qertis
Copy link
Member Author

qertis commented Apr 2, 2019

вероятно что так нельзя из-за одного инстанса ноды. Heroku не может распараллелить.

@qertis
Copy link
Member Author

qertis commented Apr 2, 2019

поставить полноценные e2e тесты вместе с юнит тестами на Travis CI? только не надо показывать свои env

@qertis
Copy link
Member Author

qertis commented Apr 2, 2019

может тогда еще настроить кэш на Travis? https://docs.travis-ci.com/user/caching/

@qertis
Copy link
Member Author

qertis commented Apr 3, 2019

настроил кэш и прочее на Travis - fff1425

@qertis
Copy link
Member Author

qertis commented Apr 3, 2019

удалил e2e тесты из heroku

@qertis
Copy link
Member Author

qertis commented Apr 3, 2019

нужно добавить креды по google, nalog.ru, тогда можно удалять skipTestForFastOrTravis

@qertis
Copy link
Member Author

qertis commented Apr 4, 2019

еще E2E тесты в окружении CI нужно настроить так, чтобы хранилась сессия и если что, делался автоматический логин

@qertis qertis changed the title E2E тесты не работают в окружении Heroku E2E тесты Apr 4, 2019
@qertis
Copy link
Member Author

qertis commented Jul 7, 2019

Добавлять E2E тесты на CI буду аккуратнее и когда действительно они потребуются. По автоматическому логину мне уже кажется это не самой хорошей идеей

@qertis qertis closed this as completed Jul 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant