Skip to content

Bugfix/fix failing tests #157

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

Open
wants to merge 531 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
531 commits
Select commit Hold shift + click to select a range
c1c01b4
Merge pull request #10 from oslabs-beta/ts-convert-gary
hawkinsd May 2, 2023
ab9ca07
Merge pull request #11 from oslabs-beta/Carter/mockdata
GaryB93 May 2, 2023
a01fec1
Merge pull request #12 from oslabs-beta/luke/ReactDescribeRendererFix
Suigin1 May 2, 2023
63a5da0
up to line 106 on type checking for reactTestCaseReducer
Cartlong7 May 2, 2023
afe45da
working on reactTestCaseReducer, trying to identify state types
Cartlong7 May 2, 2023
d75e01f
Fix whitescreen error by removing reference to InnerProvided
hawkinsd May 2, 2023
a0bbf0b
Merge pull request #13 from oslabs-beta/Vue-DescribeRenderer
lukelauther May 2, 2023
a535875
modified reactTestCaseReducer to update the type of state on the reducer
Cartlong7 May 2, 2023
67bc60f
attempted to break deleteChildren function into two functions to prev…
Cartlong7 May 2, 2023
8841e69
modified reactypes
Cartlong7 May 2, 2023
cb1bf78
Convert components/AutoComplete to TS & refactor code slightly
hawkinsd May 2, 2023
3ca9629
Merge branch 'dev' into AutoComplete-TS-Convert
hawkinsd May 2, 2023
7414703
ts conversion for UploadTestModal
Cartlong7 May 2, 2023
2cd63d7
mostly finished components/ReactTestStatements to ts
lukelauther May 2, 2023
6af4ed4
Merge branch 'dev' into luke/ReactTestCaseStatements-ts
lukelauther May 2, 2023
9f56c1f
ExportFileModal and UploadTestModal converted to TS. Updated globalAc…
Cartlong7 May 2, 2023
27b5228
Merge pull request #14 from oslabs-beta/AutoComplete-TS-Convert
GaryB93 May 2, 2023
a0f8a0a
Merge pull request #16 from oslabs-beta/Carter/modals
GaryB93 May 2, 2023
b307069
Convert Hook components to typescript
GaryB93 May 2, 2023
9af41bb
finished navbar to ts
lukelauther May 2, 2023
17cb538
Merge branch 'dev' into luke/NavBar-ts
lukelauther May 2, 2023
77f8dca
updated the deleteChildren function
Cartlong7 May 2, 2023
be801f8
Merge pull request #17 from oslabs-beta/HooksFiles/TSconversion
Cartlong7 May 2, 2023
917f238
Merge branch 'dev' into luke/NavBar-ts
lukelauther May 3, 2023
b762d6f
TS conversion for Modal.tsx. Updated ExportFileModal and global types
Cartlong7 May 3, 2023
263ef1b
Merge branch 'dev' into Carter/modals
Cartlong7 May 3, 2023
daae9f6
Merge pull request #18 from oslabs-beta/luke/NavBar-ts
GaryB93 May 3, 2023
ab110d8
Merge pull request #19 from oslabs-beta/Carter/modals
lukelauther May 3, 2023
5fc43a3
modified reactTypes to remove unnecessary reducer types. updated type…
Cartlong7 May 3, 2023
d26a9ac
added comment explaining deleteChildren function fix
Cartlong7 May 3, 2023
3920b96
updated interface for SearchInput props
Cartlong7 May 3, 2023
59ca032
Conversion of modalHooks to TS. Updated DispatchMock interface, chang…
Cartlong7 May 3, 2023
49a65cb
Merge pull request #20 from oslabs-beta/Carter/searchInput
GaryB93 May 3, 2023
c75a3b4
Merge pull request #21 from oslabs-beta/Carter/modalHooks
GaryB93 May 3, 2023
ee27b3e
Convert OpenFolderButton to typescript
GaryB93 May 3, 2023
5b90185
Merge branch 'dev' into OpenFolder/tsConversion
GaryB93 May 3, 2023
a5eb7ca
Merge pull request #22 from oslabs-beta/OpenFolder/tsConversion
Cartlong7 May 3, 2023
b25ac5e
Convert components/FileDirectory to TS
hawkinsd May 3, 2023
c4f3d65
added ReactReducerAction so that action typing is strictly defined
Cartlong7 May 3, 2023
61dd6b2
Co-authored-by: Gary Balogh <[email protected]>
Cartlong7 May 3, 2023
1babfa1
Merge pull request #24 from oslabs-beta/Carter/reducers
Suigin1 May 3, 2023
7ca0d39
Merge pull request #23 from oslabs-beta/FileDirectory-TS-Convert
Cartlong7 May 3, 2023
49eaf69
converted Thunk Redux to typescript and resolved types in redux types…
Suigin1 May 3, 2023
ca2ed36
Merge pull request #25 from oslabs-beta/justin/typescript
GaryB93 May 3, 2023
4f455d6
Created toolTipTypes file, and converted ToolTipMatcher to TS.
Cartlong7 May 4, 2023
86d4fb9
ToolTipAsync converted to TS. this component is not in use?
Cartlong7 May 4, 2023
5a72512
Merge branch 'dev' into Carter/tooltip
Cartlong7 May 4, 2023
4db9432
Merge branch 'dev' into luke/ReactTestCaseStatements-ts
lukelauther May 4, 2023
2340e86
Merge pull request #26 from oslabs-beta/Carter/tooltip
Suigin1 May 4, 2023
89841fe
Merge pull request #27 from oslabs-beta/luke/ReactTestCaseStatements-ts
Cartlong7 May 4, 2023
5ee9999
TS conversion for eventTypesList
Cartlong7 May 4, 2023
827b84b
matcherTypesList to TS
Cartlong7 May 4, 2023
bd28e6b
UploadTest is not currently used. Commented out.
Cartlong7 May 4, 2023
28383b1
added comments
lukelauther May 5, 2023
cdc1c68
Merge pull request #28 from oslabs-beta/Carter/typeslist
lukelauther May 5, 2023
ac7d442
Merge pull request #29 from oslabs-beta/Carter/uploadTest
GaryB93 May 5, 2023
94345e4
Merge pull request #30 from oslabs-beta/luke/comments
Suigin1 May 5, 2023
27dbbf8
Updated to add typing and pull the TOOLTIP_MAP outside the function t…
Suigin1 May 6, 2023
57c1013
Merge branch 'dev' into justin/tooltip
Suigin1 May 6, 2023
dd4a65a
Document findings and suggest changes in regards to the React Test Su…
hawkinsd May 6, 2023
b0b4257
Document findings and suggest changes in regards to the React Test Su…
hawkinsd May 6, 2023
8d93564
Merge pull request #32 from oslabs-beta/justin/tooltip
Cartlong7 May 6, 2023
beb93e8
Merge pull request #31 from oslabs-beta/reactTestCaseReducer-Document…
Cartlong7 May 6, 2023
7b587b2
Added test file for TestFile component
GaryB93 May 6, 2023
0e36c60
Setting up testing coverage report and gitignore for the resulting di…
Suigin1 May 8, 2023
a5e0ca8
Merge pull request #33 from oslabs-beta/justin/coverage
lukelauther May 8, 2023
cb49c9b
updated reactReducer test to remedy failing unit tests
Cartlong7 May 8, 2023
5fa1cd8
Merge branch 'dev' into Carter/reactTesting
Cartlong7 May 8, 2023
7c260f8
Merge pull request #34 from oslabs-beta/Carter/reactTesting
Suigin1 May 8, 2023
24ae603
fixed test
lukelauther May 8, 2023
06d82cc
Merge pull request #35 from oslabs-beta/luke/puppeteerTesting
Cartlong7 May 8, 2023
3cba616
added test for displaying test name on page
Cartlong7 May 8, 2023
b50d25c
fixed testing
lukelauther May 8, 2023
22ecc05
Merge pull request #36 from oslabs-beta/luke/globalReducerTesting
hawkinsd May 8, 2023
8e01fe6
added testing for ReduxTestMenu and TestMenuButton components
Cartlong7 May 8, 2023
7607279
Fix reduxTestCaseReducer.test.ts & clean up reduxTestCaseReducer stat…
hawkinsd May 8, 2023
a82d25a
removed ReduxTestMenu. Incorporated button testing
Cartlong7 May 8, 2023
d381a97
Removed ReduxTestMenu, updated tests for ReduxTestMenu
Cartlong7 May 8, 2023
879701f
Merge pull request #37 from oslabs-beta/reduxTestCaseReducer-Test-Fixes
Cartlong7 May 9, 2023
0cc8f9a
updated tests for ReduxTestCase describe block and others
Cartlong7 May 9, 2023
3320cf9
Converted light/dark mode switch to a component
GaryB93 May 10, 2023
c41189a
Merge branch 'dev' into code/cleanup
GaryB93 May 10, 2023
7eb6e9e
Merge pull request #38 from oslabs-beta/code/cleanup
hawkinsd May 11, 2023
04bb437
Merge branch 'dev' into TestFileComponent/test
GaryB93 May 11, 2023
6615f03
Merge pull request #39 from oslabs-beta/TestFileComponent/test
Cartlong7 May 11, 2023
121f771
updated jest config to cover all JS file locations for full testing v…
Suigin1 May 11, 2023
57ef9a7
Merge branch 'dev' into justin/fullcoverage
Suigin1 May 11, 2023
b220bb1
Merge pull request #40 from oslabs-beta/justin/fullcoverage
lukelauther May 11, 2023
569826d
passing test for openDocs function
Cartlong7 May 11, 2023
c679dbb
fixed a pathing issue in jest config
Suigin1 May 11, 2023
6fa750c
Merge branch 'dev' into justin/fullcoverage
Suigin1 May 11, 2023
72ca4fa
Merge pull request #41 from oslabs-beta/justin/fullcoverage
GaryB93 May 11, 2023
c5760e6
continued removal of draggable instances
lukelauther May 11, 2023
520a4bd
install of userEvent dependency, removed unused dependencies, added u…
Cartlong7 May 11, 2023
784df65
Update TestFile.test and add user-event dependency
GaryB93 May 11, 2023
17f8a75
modified existing tests, and added independent file for buttons
Cartlong7 May 11, 2023
9503512
added tests for reduxTestCase buttons
Cartlong7 May 11, 2023
494ddf5
finished removal of most draggable components
lukelauther May 12, 2023
8b95ef6
Merge branch 'dev' into luke/draggable-removal
lukelauther May 12, 2023
cfa213c
Merge pull request #42 from oslabs-beta/TestFileComponent/testing
lukelauther May 12, 2023
04bebe2
Merge pull request #43 from oslabs-beta/luke/draggable-removal
Suigin1 May 12, 2023
5568ac2
Add testing for ModeSwitch component
GaryB93 May 12, 2023
37a5a65
Finished ModeSwitch testing
GaryB93 May 12, 2023
0348366
Merge branch 'dev' into modeSwitchTesting
GaryB93 May 12, 2023
c32fffe
Merge pull request #44 from oslabs-beta/modeSwitchTesting
Cartlong7 May 12, 2023
0dd387a
removed tests that were broken by MUI
Cartlong7 May 12, 2023
4e6af75
updated render display test and removed console log from modal
Cartlong7 May 12, 2023
244fdd8
Merge branch 'dev' into Carter/reduxTestCase
Cartlong7 May 12, 2023
4889fb5
Merge pull request #45 from oslabs-beta/Carter/reduxTestCase
Suigin1 May 12, 2023
5f5cad1
removed extraneous imports from redux tests. added new test file for …
Cartlong7 May 12, 2023
6a97a98
almost complete testing for accReducer
lukelauther May 12, 2023
299d7a0
Expand test coverage of Action.tsx
hawkinsd May 12, 2023
ac47887
Merge branch 'dev' into luke/accReducer-test
lukelauther May 12, 2023
4fd9355
Merge pull request #46 from oslabs-beta/Action-Test-Expand-Coverage
lukelauther May 12, 2023
f97fb2a
Merge pull request #47 from oslabs-beta/luke/accReducer-test
Cartlong7 May 12, 2023
6697831
Finished testing for TestFile and TestCard
GaryB93 May 13, 2023
8c6674f
Merge branch 'dev' into TestFileComponent/testing
GaryB93 May 13, 2023
f00d689
Merge pull request #48 from oslabs-beta/TestFileComponent/testing
Cartlong7 May 13, 2023
99569a6
added test for Action Creator text
Cartlong7 May 13, 2023
b976c79
NavBar Testing
GaryB93 May 13, 2023
366c00f
Merge pull request #49 from oslabs-beta/NavBar/test
lukelauther May 13, 2023
e4fa191
Added type for react-modal
GaryB93 May 13, 2023
2790929
Add testing for EditorView
GaryB93 May 13, 2023
ed3a1a0
server.ts converted to Typescript. Begun conversion on router.ts and…
Suigin1 May 13, 2023
e68bdad
finished graphQL testing
lukelauther May 13, 2023
9c9915c
Merge branch 'dev' into luke/graphQL-testing
lukelauther May 13, 2023
75c09a6
Merge pull request #50 from oslabs-beta/addDependency
lukelauther May 13, 2023
2058a6e
Merge pull request #51 from oslabs-beta/luke/graphQL-testing
Suigin1 May 13, 2023
2024b25
Payload Key test is now passing.
Cartlong7 May 13, 2023
f994114
passing test created for Payload type
Cartlong7 May 13, 2023
289c659
Additional testing for TestFile
GaryB93 May 13, 2023
273a6c1
test passing for Action type input
Cartlong7 May 13, 2023
a60f1e9
updated test suite to reflect best practices. All tests now passing
Cartlong7 May 13, 2023
930150e
removed unused imports
Cartlong7 May 13, 2023
ad1a7fc
Merge branch 'dev' into Carter/actionCreatorTest
Cartlong7 May 13, 2023
9bc0031
Merge pull request #52 from oslabs-beta/addDependency
Cartlong7 May 13, 2023
2f41457
Merge pull request #53 from oslabs-beta/Carter/actionCreatorTest
GaryB93 May 13, 2023
d245367
added file for redux middleware testing
Cartlong7 May 14, 2023
a5fb3fd
added accessible elements to labels. Passed tests for displaying labe…
Cartlong7 May 14, 2023
d3eda8b
added test for QueryValue
Cartlong7 May 14, 2023
e202b60
cookieController.ts converted to Typescript
Suigin1 May 14, 2023
7d8e111
added linewrapping to code editor
GaryB93 May 14, 2023
3c71caf
testStateController.ts converted to Typescript
Suigin1 May 14, 2023
cd4083a
sessionController.ts converted to Typescript
Suigin1 May 14, 2023
cd02853
userController.ts converted to Typescript
Suigin1 May 14, 2023
c71d219
user testState and session Model files mostly converted to Typescript
Suigin1 May 14, 2023
7b1a637
router mostly converted to Typescript some cleanup remaining
Suigin1 May 14, 2023
c3bb78d
Merge pull request #54 from oslabs-beta/editor/linewrap
Suigin1 May 15, 2023
9b61d54
added tests for select element options, and updated placeholder text
Cartlong7 May 15, 2023
a544ade
passport.ts converted to Typescript
Suigin1 May 15, 2023
0bbca01
added user event tests for middleware and updated actionCreator test …
Cartlong7 May 15, 2023
7362281
added test for Query Selector dropdown user input
Cartlong7 May 15, 2023
e3b8e46
added testing for user input on middleware function input element
Cartlong7 May 15, 2023
343d897
Merge branch 'dev' into Carter/ReduxMiddlewareTest
Cartlong7 May 15, 2023
d7fd1dc
Merge pull request #55 from oslabs-beta/Carter/ReduxMiddlewareTest
lukelauther May 15, 2023
3a32402
added test file for reduxReducer component
Cartlong7 May 15, 2023
3383dd3
renamed test file for clarity
Cartlong7 May 15, 2023
3137cb2
added props for test
Cartlong7 May 15, 2023
4edc4db
first test, displaying the reducer heading passed
Cartlong7 May 15, 2023
1c0a7ea
updated accesibility roles in reduxActionCreator test and Reducer Com…
Cartlong7 May 15, 2023
41a3a9a
finished solid/svelte/vue/endpoint reducer testing
lukelauther May 15, 2023
3bf2333
Merge branch 'dev' into luke/frontEndFramework-testing
lukelauther May 15, 2023
d34d99e
Merge pull request #56 from oslabs-beta/luke/frontEndFramework-testing
GaryB93 May 15, 2023
28dc695
added labels to make testing more accesible for input. added payload …
Cartlong7 May 15, 2023
afeb978
updated labels. Added testing for Expected state input
Cartlong7 May 15, 2023
3fc322d
backend typescript conversion complete - some residual type errors in…
Suigin1 May 15, 2023
6c63154
Merge branch 'dev' into justin/backendts
Suigin1 May 15, 2023
326b06c
added testing for user events on input fields
Cartlong7 May 15, 2023
e60023d
Merge branch 'dev' into Carter/ReduxReducerTest
Cartlong7 May 15, 2023
85a53af
Merge pull request #57 from oslabs-beta/justin/backendts
GaryB93 May 15, 2023
8091baa
Remove unused imports and variables
hawkinsd May 15, 2023
2c91c31
Remove last react-beautiful-dnd instances
hawkinsd May 15, 2023
a05f5e6
Removed title for code editor
GaryB93 May 15, 2023
df6b458
Merge pull request #60 from oslabs-beta/fixStyles
Cartlong7 May 15, 2023
28e121e
Merge pull request #58 from oslabs-beta/Carter/ReduxReducerTest
GaryB93 May 15, 2023
62b15a6
Merge branch 'dev' into Remove-Unused-Imports
hawkinsd May 15, 2023
1b9005f
Merge pull request #62 from oslabs-beta/Remove-Unused-Imports
lukelauther May 15, 2023
47a261a
added test file for redux Thunk component
Cartlong7 May 15, 2023
ec736e6
added accessible names to Thunk labels. added tests for labels
Cartlong7 May 15, 2023
de23034
added tests for displaying dropdown options. updated labels in Thunk.tsx
Cartlong7 May 15, 2023
4da5718
added testing for user events in Thunk
Cartlong7 May 15, 2023
830fe79
some progress on reactTestCase
Suigin1 May 15, 2023
101d998
added tests for method and route
Cartlong7 May 15, 2023
7f08bbf
Merge pull request #63 from oslabs-beta/Carter/ThunkTest
hawkinsd May 15, 2023
b607728
reactTestCase testing complete
Suigin1 May 15, 2023
a417270
Merge branch 'dev' into justin/reactTestCase
Suigin1 May 15, 2023
760eda2
update spec test to skip
Cartlong7 May 15, 2023
7895613
Merge pull request #65 from oslabs-beta/Carter/specTest
Suigin1 May 15, 2023
2e4364a
Merge pull request #64 from oslabs-beta/justin/reactTestCase
Cartlong7 May 15, 2023
ecef2d8
Revert "Justin/backendts"
hawkinsd May 16, 2023
8531d80
Merge pull request #66 from oslabs-beta/revert-57-justin/backendts
Cartlong7 May 16, 2023
0db7e6d
reverted server TS files to JS and commented out type annotations
Cartlong7 May 16, 2023
7955b40
Co-authored-by: Gary Balogh <[email protected]>
Cartlong7 May 16, 2023
2b4109c
testStateModel update
Cartlong7 May 16, 2023
240c528
testState object
Cartlong7 May 16, 2023
152bc98
Merge pull request #67 from oslabs-beta/Carter/specTest
Suigin1 May 16, 2023
296211f
Rework package.json to fix building deb
hawkinsd May 16, 2023
04414e7
Merge pull request #68 from oslabs-beta/build-deb
Cartlong7 May 16, 2023
15274f2
Re-add electron to dev dependencies
hawkinsd May 16, 2023
595620e
updated electron dependencies for electron forge make
Cartlong7 May 16, 2023
810fdf7
Merge pull request #69 from oslabs-beta/build-deb
GaryB93 May 16, 2023
44fef68
Remove electron-devtools-vendor
hawkinsd May 16, 2023
53810d5
Merge pull request #70 from oslabs-beta/remove-electron-devtools-vendor
Suigin1 May 16, 2023
7dd1285
updated dev dependencies added electron and electron forge maker for dmg
Cartlong7 May 16, 2023
55f9565
Merge branch 'dev' into Carter/macBuild
Cartlong7 May 16, 2023
6c11435
Merge pull request #71 from oslabs-beta/Carter/macBuild
GaryB93 May 16, 2023
52e064a
Merge pull request #72 from oslabs-beta/dev
Cartlong7 May 17, 2023
47db31e
Merge pull request #144 from oslabs-beta/main
hawkinsd May 17, 2023
c649fd3
v.14 mac launch
Cartlong7 May 17, 2023
3131184
Merge pull request #73 from oslabs-beta/Carter/macUpdate
lukelauther May 17, 2023
f3f18cd
Merge pull request #74 from oslabs-beta/dev
GaryB93 May 17, 2023
96ba4b2
Update README-dev.md
Suigin1 May 17, 2023
11717c7
demos added
Cartlong7 May 17, 2023
3c04df2
Merge pull request #145 from oslabs-beta/main
hawkinsd May 17, 2023
b40d127
Delete openFolder.mov
Cartlong7 May 17, 2023
5ac5921
Delete saveTest.mov
Cartlong7 May 17, 2023
8dc5919
demos for readme
Cartlong7 May 17, 2023
a589e5b
Merge pull request #75 from open-source-labs/main
GaryB93 May 17, 2023
8076eb0
final demos for ReadMe
Cartlong7 May 17, 2023
f2fbf10
Update README.md
Suigin1 May 17, 2023
f70efbc
Merge pull request #76 from open-source-labs/main
Suigin1 May 17, 2023
af0b642
Update README.md
Cartlong7 May 17, 2023
4e203cb
Merge pull request #146 from oslabs-beta/main
hawkinsd May 17, 2023
475494a
Updated the 'userGuide's listed installs, configuration files, and th…
DonoCodePeriod Aug 28, 2023
a3a4327
Dev tools enabled
LisCMF Aug 29, 2023
e6e6104
Updated Modal Hook for axe-core installation
LisCMF Aug 29, 2023
68a9310
Accessibility useGenerate legacy code
LisCMF Sep 11, 2023
151757b
Accessibility switch statement comments
LisCMF Sep 11, 2023
4cd2977
Use Generate Test Accessibility Comments for debugging
LisCMF Sep 11, 2023
308cbc1
Accessibility addAccPrint disable
LisCMF Sep 11, 2023
72c8acd
Accessibility POC Rendering
LisCMF Sep 11, 2023
2d61bfb
Acc. Auto-populate File Name
LisCMF Sep 11, 2023
7d325e9
Restructured the state management, created generic modularized add up…
DonoCodePeriod Sep 12, 2023
016b6dc
modalHooks updated with accessibility testing React Dependencies
LisCMF Sep 13, 2023
e379a09
testType state Cycle
LisCMF Sep 14, 2023
31be8cd
Updated RTFsContext Provider to include Functions for mapping renders…
DonoCodePeriod Sep 14, 2023
6b6e913
Merge pull request #1 from oslabs-beta/reactUIUpdate
LisCMF Sep 14, 2023
63c7c51
Update Acc It parameters
LisCMF Sep 14, 2023
cfbae7d
Merge branch 'dev' into liscmf/accTextAlt
LisCMF Sep 14, 2023
fcc8f7a
Reverted changes to React Test Tools default Imports to include FireE…
LisCMF Sep 14, 2023
8e54523
Dependencies
LisCMF Sep 15, 2023
abd949b
Merge pull request #2 from oslabs-beta/liscmf/accTextAlt
DonoCodePeriod Sep 15, 2023
fde1045
Merge pull request #3 from oslabs-beta/dev
LisCMF Sep 16, 2023
eaeef46
Merge pull request #150 from oslabs-beta/main
tevansbuilds Sep 16, 2023
bef985e
Updated Statement components to render properly. Need to continue deb…
DonoCodePeriod Oct 5, 2023
583e54b
updated notes on spearmint v15
DonoCodePeriod Oct 5, 2023
ca2fc76
merging the main from source-labs with this clone from a different re…
DonoCodePeriod Oct 5, 2023
c065c7d
Merge pull request #151 from open-source-labs/reactUIUpdate
LisCMF Oct 5, 2023
26e4d12
bug fixes v21
tevansbuilds Dec 15, 2023
ae0e571
fix test suite in accReducer.test.js
KristinHooper Apr 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APP_DEV=true
BROWSER=non
SKIP_PREFLIGHT_CHECK=true
MONGO_LINK=mongodb://localhost:27017
MONGO_LINK=mongodb+srv://username:[email protected]/?retryWrites=true&w=majority
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@ bower_components
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Test coverage directory
coverage/

# Dependency directories
node_modules/
jspm_packages/
package-lock.json

# TypeScript v1 declaration files
typings/
Expand Down Expand Up @@ -108,3 +112,5 @@ dist
/build
.DS_Store
.dccache

.env
9 changes: 0 additions & 9 deletions MyLibrary/.gitignore

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions MyLibrary/Package.swift

This file was deleted.

3 changes: 0 additions & 3 deletions MyLibrary/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions MyLibrary/Sources/MyLibrary/MyLibrary.swift

This file was deleted.

11 changes: 0 additions & 11 deletions MyLibrary/Tests/MyLibraryTests/MyLibraryTests.swift

This file was deleted.

55 changes: 55 additions & 0 deletions Notes On Spearmintv15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
The Spearmint Project(ver. XV)
**_These notes are incomplete, but should give some context to what exists_**
This is a brief writeup of Spearmint's initial "Weakpoints", Additions&Changes brought about by Iteration 15, and Additional Fixes/Considerations required

Spearmint Problems

Notorious B.U.G., launchers of v15, had 3 Goals
1.Documenting how Spearmint worked
2.Upgrading the Accessibility testing tool
3.Providing a POC that gave an alternative way to structure and handle the testing tools' state, because previous groups found the original too inflexible to expand on to include more Jest capabilities. React(Beta) being the playground for working out
the POC.

Existed Since We've Started:
-Some Accessibility Test existed only in name, not in functionality
-Debugging. Error messages point to bundle. Also, unable to get Electrons "devtools" to
run react DevTools
-No Error Handler for Components
-No Confirmation Dialogue before X'ing out of blocks

Changes Implemented:
For Accessibility Tool
-Dependencies updated
-A Accessibility Test

For React Testing Tool:
-new State Structure for UI to work with(found in 'updatedTestCaseReducer' file)
-abstracted add, update, delete methods and workflow(Can be traced from the component, to 'RTFsContextsProvider' file, to the
'updatedFrontendFrameworkTestCaseActions' file, to the 'updatedTestCaseReducer' file)
-functions already created for deep copying, adding, changing, and deleting (from)the state object

-Jest Abilities Not Fully Fleshed Out
-Old testing workflow(look into FireEvent, vs Screen for jest testing)
-UI not intuitive
-UI isn't organized in a way to optimize space usage(look into accordions and tabs for consolidating children to describe blocks,test blocks, etc)
-mock data implementation not intuitive. likely not implemented correctly for potential jest workflows
-a convoluted way to representing relationships between components, which represented available logic of a jest test (e.g. describes, tests/its, statements). Caused restrictions in app's capability to fully reflect what is possible with Jest testing.(e.g.implementing)
-Typescript not fully implemented(should be left last until you're feeling sure about how your central state's structure
should look)

Additinoal fixes/considerations needed needed
For the React(Beta)
-Decide for yourself which state structure makes the the most sense for you, and lends itself to implementing full jest testing capabilities
-AutoFill for options of Action and Assert Components needs to be updated wot work with
new state structure and re-enabled
-debug the Props Component so it will render properly
-Setup Teardowns need to be quanitfied in a way that can be represented
by a form like setup(e.g. user either fills out inputs or uses drags and drops
to create the setups and teardowns)
-add more jest testing capabilities that don't exist yet
-Props and Statements are not handled correctly yet by "useGenerateTest.jsx"
-in 'useGenerateTest', use visual Studios 'search' tool to find the code snippets related to 'Updated React'. there should be at least 2, 1 being 'import', the other being 'switch'. There is no need for 2 versions of 'useGenerateTest', but there exists two because of our creating a playground to be safe. the second is called 'updatedUseGenerateTest. decide how u best want to merge them, or if every Tool should have its own 'useGenerateTest' for just its switchcase.
-for the switch case 'updatedReact' found in 'useGenerateTest'(or more specifically 'updatedUseGenerateTest' if you haven't moved),
-complete the test file generating needed for the 'updated react' switch case. Needs support for statements.

-lastly,typescript
158 changes: 116 additions & 42 deletions README-dev.md
Original file line number Diff line number Diff line change
@@ -1,75 +1,149 @@
# How to use in development mode

**Mac Developers**: Install Xcode
**Mac Developers**: Install Xcode command line tools if you don't already have them.

**Windows Developers**: Install Node.js globally, may also have to run Spearmint in admin mode.
**Windows Developers**: Install Node.js globally, may also have to run Spearmint in admin mode.

## Procedure for working on the project as a Windows user.

1. Download VcXsrv or a similar program in order to run an X environment on Windows. [VcXsrv](https://sourceforge.net/projects/vcxsrv/)
2. Configure XLaunch properly:
3. On the first settings screen on launch, select the following settings:
- Multiple windows
- Display number: -1
4. On the second page select the “Start no client” option
5. On the third setting screen select the following options:
- Clipboard
- Primary Selection
- Native opengl
- Under “Additional Parameters” textbox write ‘-ac’ (no quotes)

Completing these steps after installing will launch XLaunch and enable you to run Spearmint in the Windows desktop environment.

# Initial Setup

As of January 2023, spearmint works with node version 20.1.0.
React must be version 17 due to a dependency for mui. Fix-path must be version 3.0.0 due to 4.0.0 only being usable with an import statement, which is not supported in electron.jsx.

1. Fork and clone this repository.
2. Use node version 16.13: ```nvm use 16.13``` (make sure that you already installed v 16.13, ```nvm install 16.13```)
3. ```npm install```
4. Create a .env file in the root directory of the project
5. Insert the following lines of code into the .env file
```
APP_DEV=true
BROWSER=non
SKIP_PREFLIGHT_CHECK=true
MONGO_LINK=
```
6. Set MONGO_LINK to your MongoDB URI (ex: mongodb://localhost:27017)
7. Make sure your MongoDB is running if it's hosted locally.
8. ```npm run rebuild```
9. ```npm run watch``` on one terminal
10. ```npm run start-dev``` on another terminal, make sure you also use node version 16.13 in this terminal.

2. `npm install`

3. Create a .env file in the root directory of the project

4. Insert the following lines of code into the .env file

```
APP_DEV=true
BROWSER=non
SKIP_PREFLIGHT_CHECK=true
MONGO_LINK=mongodb+srv://username:[email protected]/?retryWrites=true&w=majority
```

5. Set MONGO_LINK to your MongoDB URI or use the URI we provided (ex: mongodb://localhost:27017)

6. Make sure your MongoDB is running if it's hosted locally.

7. `npm run rebuild` (different from `npm rebuild` so please pay attention to that)

8. `npm run dev`

# Tips for development mode

- To enable hot-module reloading, uncomment line 22 in the electron.jsx file.

// require('electron-reloader')(module);

- To enable Chrome Dev Tools, uncomment line 70 in the electron.jsx file:

// mainWindow.webContents.openDevTools();

# Suggestions if you would like contriubute:

1. Exporting test files in TypeScript: the tests currently export in JS.

2. Convert codebase to TypeScript: currently, there are some files in TS, and others in JS. It would be great to convert all to TS.

3. Dry refactoring of codebase: A lot of the folders and files for the frontend frameworks testing are the same, and the codebase would GREATLY benefit from refactoring and modularizing those.

4. Persist user data: there is currently sign up and login functionality. V0.13.0 commented out the login functionality because there is currently no user data being persisted. A great feature would be to save tests to work on them later, or create templates for each user.

5. GitHub OAuth is functional, but Google OAuth is currently broken. If you are planning to persist user data, this is an excellent feature to resolve.

6. Add more customization to the tests themselves such as chaining expects, add the ability to use siblings and children, etc., or having the ability to test more than one component in one test file.

7. Some of test cases needs improvement on UI as they do not have any styling or optimal user experience

8. Continue to improve internal testing coverage – while it has been greatly expanded there are many parts of the internals of the application that are still not being tested, and especially with regards to integration and end to end testing, more could be done.

9. Consider removing MUI framework as it is incompatible with React v18+ and no longer being actively updated - either replacing with another frontend framework or styling via CSS.

10. Consider implementing React Dev Tools in the app.

**_Please feel free to add any other features or fixes that you would like or are interested in._**

# Build and Run image on Docker

## Pre-requisites
- Mongo: Mongodb is used for authentication functionality. If you didn't use locally hosted mongodb URI in .env file, you may skip to the X server section.
## Pre-requisites

1. Add `172.17.0.1` and `0.0.0.0` to the network interfaces of mongo config file.
- Mongo: Mongodb is used for authentication functionality. If you didn't use locally hosted mongodb URI in .env file, you may skip to the X server section.

a. Open `mongod.cfg` (Usually located in C:\Program Files\MongoDB\Server\4.4\bin)
1. Add `172.17.0.1` and `0.0.0.0` to the network interfaces of mongo config file.

# network interfaces
net:
port: 27017
bindIp: 127.0.0.1, 172.17.0.1, 0.0.0.0
a. Open `mongod.cfg` (Usually located in C:\Program Files\MongoDB\Server\4.4\bin)

2. Run mongo on port 27017
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1, 172.17.0.1, 0.0.0.0

2. Run mongo on port 27017

- X server

1. Download and run either [X410](https://x410.dev/) or [VcXsrv](https://sourceforge.net/projects/vcxsrv/)
1. Download and run either [X410](https://x410.dev/) or [VcXsrv](https://sourceforge.net/projects/vcxsrv/)

* For X410, use the following configuration
- For X410, use the following configuration

![x410 with display = 0](/public/x410.png)
![x410 with display = 0](/public/x410.png)

* For VcXsrv: change the display number to 0, for other settings, use default.
- For VcXsrv: change the display number to 0, for other settings, use default.

![VcXsrv with display = 0](/public/VcXsrv.png)
![VcXsrv with display = 0](/public/VcXsrv.png)

## Running the image

## Running the image
After running the mongo on port 27017 and running the x server with display number of 0, follow the steps below.
After running the mongo on port 27017 and running the x server with display number of 0, follow the steps below.

1. Build the docker image by running the following command
1. Build the docker image by running the following command

`docker build -t [image name] .`

2. Run the docker image by using the following command:
2. Run the docker image by using the following command:

`docker run -e DISPLAY='host.docker.internal:0.0' -it -v [directory of project to be tested]:/[directory to create volume] [image name]`

- `-e DISPLAY='host.docker.internal:0.0'`: Set environment variable ‘display’ to host.docker.internal:0.0

`docker run -e DISPLAY='host.docker.internal:0.0' -it -v [directory of project to be tested]:/[directory to create volume] [image name]`
- `-it`: Run container as interactive

- `-e DISPLAY='host.docker.internal:0.0'`: Set environment variable ‘display’ to host.docker.internal:0.0
- `-v`: Creates a volume and mounts the testing application into the container. (ex: `-v [testing files]:[created volume]`)

- `-it`: Run container as interactive
*Please note that once the spearmint container is running, you can only access the folders that you mounted here.`

- `-v`: Creates a volume and mounts the testing application into the container. (ex: `-v [testing files]:[created volume]`)
**_Please note that the image uses root user, as shown in the Dockerfile._**

*Please note that once the spearmint container is running, you can only access the folders that you mounted here.
# Resources for onboarding developers

*Please note that the image uses root user, as shown in the Dockerfile.

<div align="center" style="display:flex;flex-direction:column;"}>
<div align>
<a href="https://excalidraw.com/#room=9abc890c35d8e7d3f149,htwzR9k0SUhZzhwB3zjJ8A">
<img width="300" height="72" alt="Connect to the Dev Excalidraw" src="https://img.shields.io/badge/Excalidraw-181717?style=for-the-badge&logo"/>
</a>
<a href="https://discord.gg/5FNPTvZSTq">
<img width="300" height="72" src="https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white"/>
</a>
<h3>Virtual whiteboard for sketching the structure/data flow of spearmint. Also inside the /public/spearmint.svg file</h3>
<h3>Let's stay up to date, ask/answer questions, and connect with one another!</h3>
<h3>Join the spearmint developer community Discord!</h3>
</div>
Loading