Closed cz8s closed 8 years ago
one argument for the importance of this is that today, the useragent on wazokazi is failing (black screen after login), and nagios was still all green.
you can run locally, but you can't register user with invite:
$ TESTHOST=staging.pixelated-project.org behave --tags ~@wip --tags @staging
to run in the server (and QA register user with invite):
$ INVITE_CODE_ENABLED=true /usr/local/bin/behave --tags @staging --tags ~@wip --no-capture -k /srv/leap/tests_custom/functional-tests/
(you may need to deploy first)
It would be good to actually QA this running regulary by nagios. Is it deployed somewhere?
cool, i just saw it's actually deployed everywhere. And the nice thing is that we even have graphs from the metrics of the check, i.e.: https://unstable.pixelated-project.org/pnp4nagios/index.php/graph?host=dev1.dev.pixelated-project.i&srv=Job%20pixelated-functional-tests
Hey @varac the functionals tests were failing last week on unstable. I've seen that functionals on unstable was trying to register users on staging (hard coded). Did you do anything to fix that?
the functional tests in the puppet-pixelated repo try to register an account. this fails if invite codes are enabled. We should add a functionality that the tests generate an invite code if needed. This should be possible because the tests run on the host itself.