Kian-Meng Ang
1e321a6fca
Fix typos ( #1143 )
...
Found via `codespell -S .mypy_cache,yarn.lock,*.json,*.ipynb -L
rouge,nam,vie`
2023-02-05 20:18:03 +01:00
AbdBarho
e6fe477308
Show ToS on all pages ( #1111 )
...
Closes #1047
2023-02-05 19:58:20 +09:00
notmd
599d70962e
Merge branch 'main' into 911_sigin_captcha
2023-01-29 23:34:04 +07:00
Adrian Cowan
e0e398fa8b
website: Improve reliability of e2e tests
2023-01-29 03:17:44 +11:00
Adrian Cowan
ab4dce3f60
website: Support new widget types for labelling ( #966 )
...
* website: Support new widget types for labelling
Adds proper support for yes/no spam style questions as well as a simple interface for flag style labels.
Also cleaned up the Task component to fix some rerender issues.
* website: Fix some UI text, adjust yes/no button alignment
* website: Remove left over console.log
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com >
---------
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com >
2023-01-28 17:07:43 +01:00
rjmacarthy
24f4c08796
Refactor task page routes and repetition
...
Remove blank line
Lint add blank line
Link pre-commit
2023-01-27 10:16:02 +00:00
Keith Stevens
1e88166401
Merge pull request #936 from othrayte/simple-spam-task
...
website: Make the spam question simple again
2023-01-26 17:13:48 +09:00
Adrian Cowan
58a07dd05d
website: Make the spam question simple again
...
This is an initial quick fix to get back simple buttons. This should be followed up with some refactoring or maybe a real spam task.
2023-01-26 18:11:41 +11:00
notmd
d456cffc4a
support json content-type
2023-01-26 02:49:22 +07:00
notmd
0d629c19cd
fix test
2023-01-26 02:13:30 +07:00
notmd
97cd57a300
fix test
2023-01-25 16:02:20 +07:00
notmd
31630be319
fix test & build
2023-01-25 15:48:53 +07:00
Adrian Cowan
25cf9eb953
website: Switch to radio buttons for likert style labeling
2023-01-23 21:51:19 +11:00
Adrian Cowan
007773a3f5
website: Switch to likert style labelling
2023-01-23 21:51:17 +11:00
Keith Stevens
581f31203c
Fixing the contract tests to use the new user type
2023-01-19 17:32:05 +09:00
Keith Stevens
5fa1155deb
Deleting a decayed cypress auth check
2023-01-18 14:51:06 +09:00
klotske
224223ddde
Update components and Cypress test
2023-01-14 02:47:47 +03:00
Adrian Cowan
19e58c04a5
website: make e2e tests actually test the tasks work
...
Prior to this change the tests didn't handle any task types as the detection of the task type was failing.
2023-01-14 02:16:30 +11:00
Adrian Cowan
eb43c8b4f8
website: Add a review step before submitting
...
to hint to the user that they should reread and check what they have written.
Also show numbers for ranked items rather than drag handles in the review step as the items can't be moved in that step.
2023-01-14 02:16:27 +11:00
Adrian Cowan
5054e19e93
website: Remove next task button and load new task immediately
...
Also disable the task inputs while the task is submitted and before the new task is ready in case the users network is slow or something.
2023-01-13 23:40:16 +11:00
Keith Stevens
5cc9a1e1d1
Adding the random end2end test file
2023-01-12 12:42:04 +09:00
Keith Stevens
7b6ffdb9bb
Semi-comprehensive fix to the web end to end tests
2023-01-12 12:40:08 +09:00
Keith Stevens
be7f933033
Merge pull request #609 from ericv105/main
...
85: Unit-testing nextjs & react code
2023-01-12 11:46:18 +09:00
ericv105
995c75de99
updated cypress tsconfig to avoid relative imports
2023-01-11 20:36:41 -05:00
Keith Stevens
268cd7d7b5
Forwarding the real task id in backend interactions and ensure the labeling task works
2023-01-11 19:32:52 +09:00
ericv105
66e55b4c65
apply precommit and add relative path contract test
2023-01-10 19:23:03 -05:00
ericv105
d11d81891c
Merge branch 'unit-testing-jest-rtl'
2023-01-10 19:14:40 -05:00
ericv105
13883b9ed1
apply pre-commit
2023-01-10 19:07:45 -05:00
Keith Stevens
54cc88bb1f
Ensure FlaggableElement always has the set of labels
2023-01-10 14:08:43 +09:00
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
ericv105
bf2a5e4a46
jest setup, cypress type conflict fix
2023-01-06 01:07:27 -05: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