Commit Graph

26 Commits

Author SHA1 Message Date
Arthur Lu
7b7abad2e6 fix error in test syntax
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-20 15:33:31 -08:00
Arthur Lu
70c863c378
Merge branch 'add-multiple-testing' into sprint-2 2022-11-20 15:29:16 -08:00
Arthur Lu
e73a544ab2 fix js linting
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-20 14:07:01 -08:00
Marc
f2edc4dc6a added for loops for multiple tests 2022-11-20 14:01:48 -08:00
Marc
5d331c3800 added for loops to tests 2022-11-20 13:56:27 -08:00
Arthur Lu
3b1b0cfd57 quick async fix
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-20 13:39:52 -08:00
Arthur Lu
e7d8eaea59 fix issue with tag checking,
modularize frequent app opperations in appTestHelpers.js,
fix isue with tage count checking

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-20 13:39:21 -08:00
Arthur Lu
1c1ac64c58 change e2e tests to use default images
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-19 12:34:29 -08:00
Arthur Lu
8338156cb8 fix delete test issue with alert handling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-19 12:16:03 -08:00
Arthur Lu
20e9842aea fix expected values for ratings and src tests
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-19 12:00:59 -08:00
Arthur Lu
7035fa46ee fixes to tag-add-btn,
fixes to tests with rating selection

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-19 11:42:30 -08:00
Arthur Lu
20afab9b1f remove create test review card reference
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-19 10:21:43 -08:00
Arthur Lu
2e95147336 Merge branch 'add-crud-e2e-testing' of https://github.com/cse110-fa22-group29/cse110-fa22-group29 into add-crud-e2e-testing 2022-11-18 23:26:54 -08:00
Arthur Lu
ef5dccfd1a temp fix issue with root user 2022-11-18 23:26:51 -08:00
Marc
d5be6a2e4d Check details & homepage for create & read 2022-11-18 23:08:54 -08:00
Arthur Lu
274a05fdc2 convert page.click() to button.click() 2022-11-18 20:43:55 -08:00
Arthur Lu
65815998e9 fix create new review star selection 2022-11-18 20:37:33 -08:00
Arthur Lu
cac2b0bf07 populate part of add review,
various bug fixes,
TODO: resolve issue with star selectors
2022-11-18 20:36:10 -08:00
Arthur Lu
82be561bfe add wait for page navigation to applicable tests 2022-11-18 19:21:53 -08:00
Arthur Lu
5f84e700d1 update e2e test layout 2022-11-18 12:34:59 -08:00
Arthur Lu
6c00246e2d fix linting issues
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-17 15:33:12 -08:00
Arthur Lu
c45aec116b fix e2e test for create,
split create test into two parts,
split other test templates into two parts

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-17 15:32:37 -08:00
Arthur Lu
1518fda766 add e2e tests for update and delete,
fix package.json commadns for lint and fix-style

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-17 13:54:58 -08:00
Arthur Lu
c66f43f6e9 add empty crud e2e tests
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-17 12:32:38 -08:00
Arthur Lu
7abc995ffe fix linting errors
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-16 16:46:02 -08:00
Arthur Lu
dd7d876f29 add dependencies to package.json,
add http-server script to package.json,
add simple e2e test in main.e2e.test.js

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-16 16:10:31 -08:00