-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: Add e2e tests #273
feat: Add e2e tests #273
Conversation
90826ae
to
432d10f
Compare
FL-520 Write front-end tests v1
Context and user need: Functional spec: Start with a very clear and narrow scope, like the General or User test, that are part of the https://app.asana.com/0/project-templates/1202906784456224/list. Acceptance criteria: |
/e2e -h |
|
ab89484
to
606f012
Compare
/e2e --tests frontend[mnist] --refs substra-ci=refactor/frontend-tests |
End to end tests: ❌ FAILURE What a surprise... 🙄 |
e8fbc41
to
46a5b07
Compare
/e2e --tests frontend[mnist] --refs substra-ci=refactor/frontend-tests |
End to end tests: ✔️ SUCCESS |
Great job! 🥳 Please wait for the companion PR to be created on substra-ci 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
niiiiiiiiice
E2E frontend tests appear to be successful but they are not. See build logs: Traceback (most recent call last):
File "/home/runner/work/substra-ci/substra-ci/ci/tests.py", line 236, in _run_or_pass
duration = test_runner(cfg, *test_runner_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/substra-ci/substra-ci/ci/tests.py", line 98, in run_frontend
raise FrontendTestsException("Frontend tests failed")
ci.tests.FrontendTestsException: Frontend tests failed There should be an issue with the implementation suggested in substra-ci:refactor/frontend-tests that will be investigated, but there is still something wrong with the frontend tests. |
/e2e --tests frontend[mnist] --refs substra-ci=refactor/frontend-tests |
/e2e --tests frontend[mnist] --refs substra-ci=refactor/frontend-tests |
/e2e --tests frontend[mnist] --refs substra-ci=refactor/frontend-tests |
End to end tests: ⚙️ RUNNING “Patience et longueur de temps. Font plus que force ni que rage.” ― Jean de La Fontaine (Le Lion et le Rat) |
/e2e --tests frontend[mnist] --refs substra-ci=refactor/frontend-tests |
End to end tests: ✔️ SUCCESS |
/e2e --tests frontend[mnist] --refs substra-ci=refactor/frontend-tests |
1037dd5
to
4a3e1fa
Compare
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Thibault Camalon <[email protected]>
Signed-off-by: Milouu <[email protected]>
Signed-off-by: Milouu <[email protected]>
/e2e --tests mnist,camelyon,substrafl,frontend --refs substra-ci=refactor/frontend-tests-on-all-tests |
End to end tests: ✔️ SUCCESS |
Description
Adds a first batch of automated tests for the frontend to minimize the manual testing needed on it when releasing a new version of Substra.
Important: Needs a companion PR on substra-ci to change the default test to frontend[mnist] instead of sdk
Closes FL-520