Commit Graph

23 Commits

Author SHA1 Message Date
Jack Michaud 239c10c2dc fix: export OasstError 2023-01-06 10:21:23 -05:00
Jack Michaud 6eca350826 Merge branch 'main' of github.com:LAION-AI/Open-Assistant into jm/tests-for-javascript-oasst-api-client 2023-01-06 10:17:47 -05:00
Jack Michaud 083e8a869b test: add unittest tests for edge cases in OasstApiClient
Fixes #354
2023-01-06 10:14:37 -05:00
klotske 3c330dcd13 Added the oasstApiClient global var and init 2023-01-06 13:44:46 +03:00
klotske f5b49a952e Add the taskInteraction contract test 2023-01-05 23:46:39 +03:00
Jack Michaud bdcfae54fc docs: update TODOs to include issue numbers 2023-01-04 08:04:27 -05:00
Jack Michaud 7b5f702a00 docs: add TODOs 2023-01-03 20:54:49 -05:00
Jack Michaud 5ed4131720 ci: run contract tests through separate cypress command and add into CI 2023-01-03 20:51:11 -05:00
Jack Michaud b7fb1325b2 test: add contract tests for fetchTask and ackTask 2023-01-03 17:12:02 -05:00
Adrian Cowan 81e354dec5 website: Implement page for creating initial prompts 2023-01-04 00:13:15 +11:00
Adrian Cowan 447a3bce41 website: Add some new detail to the docs on e2e testing 2023-01-02 22:40:51 +11:00
Adrian Cowan dc1af6e2d8 website: Add e2e tests of ranking replies and prompts
Like the previous commit, these are intended to function as a minimal smoke test that the API interaction with the backend is functional.
2023-01-02 21:13:10 +11:00
Adrian Cowan 32e212b5a5 website: Add e2e tests of creating an assistant/prompter reply
These are intended to function as a minimal smoke test that the API interaction with the backend is functional.
2023-01-02 21:13:10 +11:00
Adrian Cowan 0df6d7fd31 website: more e2e tests for signin
Fixed issue where existing sign in test fails due to the existence of dev test login.

Added reusable cy.signInWithEmail() to login before testing rest of UI.
2023-01-02 21:13:10 +11:00
Gareth Davidson c3c7a1701a run prettier with new params 2023-01-01 20:57:35 +00:00
Martin H. Normark 592c75ddea Add exports to comply with module resolution 2022-12-31 00:11:32 +01:00
Martin H. Normark b03ad3ae92 Format code with Prettier 2022-12-31 00:11:32 +01:00
Martin H. Normark 8c478f5aaf Format file 2022-12-31 00:11:32 +01:00
Martin H. Normark 5d5ee33ed3 Move e2e test to comply with folder structure 2022-12-31 00:11:32 +01:00
Martin H. Normark 562ddd2e12 Describe how to use Cypress 2022-12-31 00:11:32 +01:00
Martin H. Normark 89c2be5760 Add cypress-image-diff for visual testing 2022-12-31 00:11:32 +01:00
Martin H. Normark 8c75c6645d Add signin e2e test 2022-12-31 00:11:32 +01:00
Martin H. Normark f9bb5b2bf1 Install cypress for e2e and component tests 2022-12-31 00:11:32 +01:00