-
Notifications
You must be signed in to change notification settings - Fork 1
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
test: [TERR-425] React Component Code Coverage and Error Validation #49
test: [TERR-425] React Component Code Coverage and Error Validation #49
Commits on Aug 23, 2024
-
- added VS code workspace extension to gitignore - added jest.config - updated yarn.lock - added dev dependencies for @testling-library/react and supporting libs - added setupTests (for Enzyme) - added export of CustomTextAreaSettings interface in CustomTextArea module - added CustomTextArea spec file
Configuration menu - View commit details
-
Copy full SHA for 82dc327 - Browse repository at this point
Copy the full SHA 82dc327View commit details
Commits on Sep 17, 2024
-
- added non default prop settings for .eslintrc - added transformIgnorePatterns for rxjs to jest.config - added test:react script for package.json - removed already extended include prop for tsconfig - updated yarn lock file - fixed bad path to jest-setup.js in setupFilesAfterEnv prop in jest.config - added missing props onPointerEnter/LeaveCapture on use of TextArea Grafana React component with onPointerCapture callback for CustomTextArea component - refactored import of render from @testing-library/react in CustomTextArea spec - refactored expect call on CustomTextArea spec test case to use jest expect.not.toBeUndefined
Configuration menu - View commit details
-
Copy full SHA for 8c8b9ba - Browse repository at this point
Copy the full SHA 8c8b9baView commit details -
- removed unneeded type for str unescape fn parameter in CustomTextArea
Configuration menu - View commit details
-
Copy full SHA for 3bb3e9f - Browse repository at this point
Copy the full SHA 3bb3e9fView commit details -
Merge branch 'main' of github.com:esnet/grafana-esnet-networkmap-pane…
…l into test/TERR-425-react-component-code-coverage
Configuration menu - View commit details
-
Copy full SHA for 0e2f65c - Browse repository at this point
Copy the full SHA 0e2f65cView commit details
Commits on Sep 20, 2024
-
- updated docker-compose for mitmproxy deployment - updated jest.config to better align with Grafana panel plugin jest.config scaffolding - updated Makefile for E2E testing, mitmproxy support and container spin up sleep timing - updated package.json to better align with Grafana panel plugin scaffolding, rollback to react 17, align types for react and react-dom, added RTL - updated yarn lock to reduce installed versions of react to one - reporting and worker count now dependent on CI in playwright.config - tsconfing updated to allow for import and module resolution when in ts-node context (for react testing) - updated testing in auth.setup to support versions 9 and 10 or later of Grafana - updated config.info to create URLs based on input e2econfig flow sheets - e2econfig updated to included flow sheets in google sheets - updated folderDashboardInit to fix dashboard setup and utilize mock panels and dashboard - updated mock panel json - networkMapPanel json updated to use infinity datasource - plugin-def added to include interfaces - plugin.spec added include test cases for end-to-end, including updates with changes in sidebar for remote URLs - interfaces added for DataSource, Fixtures, HostPost, PanelParams, Threshold, Toplogy, ToplogyNode, TopologyEdge - untyped waitForEvent HOC added - added basic color matcher object module - fix for MapPanel.resolveNodeThresholds to skip layerThreshold computation when nodeThresholds are not an array - added useConfigurationUrl boolean prop in MapOptions, along with IColumn and IFlowSheet interfaces - removed unneedede onPointer*Capture prop usage and callbacks for TextArea instance in CustomTextArea - removed setting of text attributes in esmap since D3.js strips non-SVG conforming attributes out - added removeRepeats fn in test/utils module - fixed imports for RTL screen and render in CustomTextArpea.spec
Configuration menu - View commit details
-
Copy full SHA for 48e151e - Browse repository at this point
Copy the full SHA 48e151eView commit details -
- update CI docks for E2E testing upon push and pull_request - updated development docs to specify Node 18.x as requirement for building
Configuration menu - View commit details
-
Copy full SHA for 71ea9df - Browse repository at this point
Copy the full SHA 71ea9dfView commit details
Commits on Sep 25, 2024
-
- removed watch mode from jest react test invocation from package.json - updated playwright.config to run split off of edge coloration tests in seperate module for speed up of parallel execution - split tests into main plugin.spec module and edgeColoration.spec module - renamed parent folder for untypedFn module to util - added fixtures module to avoid repeeated invocations of fixture instatiation code - moved common url related fn for tests into util/urlHelpers module - added check on thresholds in MapPanel to allow for non-array values like null or undefined to bypass forEach invocation - removed unused suffix input param prop in CustomTextArea component - added @ts-ignore flags to minimize TS type error noise from CustomTextArea components in tests due to bad React 17 FC and VFC signatures WRT to children.
Configuration menu - View commit details
-
Copy full SHA for 3732b20 - Browse repository at this point
Copy the full SHA 3732b20View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebf04d5 - Browse repository at this point
Copy the full SHA ebf04d5View commit details -
- removed parent entries to node and edges in index.html - added react testing to make test:component script
Configuration menu - View commit details
-
Copy full SHA for 3e1564f - Browse repository at this point
Copy the full SHA 3e1564fView commit details -
- readded parent entries to node and edges in index.html
Configuration menu - View commit details
-
Copy full SHA for 4c703ab - Browse repository at this point
Copy the full SHA 4c703abView commit details
Commits on Sep 26, 2024
-
- added react testing to make target teest - corrected check on options.layers[layer].nodeThresholds.steps prior to invoking forEach in MapPanel.resolveNodeThresholds - corrected code formatting in CustomTextArea component - added fireEvent.blur after firiing change event to trigger callback
Configuration menu - View commit details
-
Copy full SHA for 5d34191 - Browse repository at this point
Copy the full SHA 5d34191View commit details
Commits on Oct 3, 2024
-
- added sourceMap prop to tsconfig - added doInsert, doDelete fn to support fixing of direct edit issues - added test stub for "invokes the onChange callback without transforming the argument's symbols into HTML entities upon the keyDown event" into CustomTextArea.spec
Configuration menu - View commit details
-
Copy full SHA for 3148359 - Browse repository at this point
Copy the full SHA 3148359View commit details -
Merge branch 'main' of github.com:esnet/grafana-esnet-networkmap-pane…
…l into test/TERR-425-react-component-code-coverage
Configuration menu - View commit details
-
Copy full SHA for 21eb3f2 - Browse repository at this point
Copy the full SHA 21eb3f2View commit details
Commits on Oct 4, 2024
-
- updated @types/react and @types/react-dom packages to target latest release of ver 17 of each - updated lock file - remaining keyDown test WIP - updated CustomTextArea to be a controlled component, using state to define - initial validation logic added to CustomTextArea, but no reporting of result to UI at present.
Configuration menu - View commit details
-
Copy full SHA for 4d4eab5 - Browse repository at this point
Copy the full SHA 4d4eab5View commit details -
- type checks on validationFailedMsg in validateMapJsonStr fn.
Configuration menu - View commit details
-
Copy full SHA for d1708fb - Browse repository at this point
Copy the full SHA d1708fbView commit details
Commits on Oct 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2fbb4e1 - Browse repository at this point
Copy the full SHA 2fbb4e1View commit details
Commits on Oct 8, 2024
-
- removed unneeded userEvent import from CustomTextArea spec - added styling for JSON validation error messages for coloration and reduced size of error message text - added import of styling to CustomTextArea component - added wrapper to nested TextArea component in CustomTextArea render and error message div
Configuration menu - View commit details
-
Copy full SHA for 1a428f6 - Browse repository at this point
Copy the full SHA 1a428f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3546b48 - Browse repository at this point
Copy the full SHA 3546b48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 780a74e - Browse repository at this point
Copy the full SHA 780a74eView commit details
Commits on Oct 9, 2024
-
- updated development documentation - removed commented code in edgeColoration.spec and plugin.spec - fixed prop for INetworkMapPanel to be a Partial - added check on options.layers to confirm presence of array, creating one if not present in folderDashboardInit.getFolderDashboardTargets
Configuration menu - View commit details
-
Copy full SHA for 3bfa8af - Browse repository at this point
Copy the full SHA 3bfa8afView commit details -
- rennamed folderDashboardInit fn getFolderDashboardTargets to getFolderDashboardFixtures to agree with returned type - fixed references to above
Configuration menu - View commit details
-
Copy full SHA for a0556bf - Browse repository at this point
Copy the full SHA a0556bfView commit details
Commits on Oct 14, 2024
-
Merge branch 'end-to-end-tests' of github.com:esnet/grafana-esnet-net…
…workmap-panel into test/TERR-425-react-component-code-coverage
Configuration menu - View commit details
-
Copy full SHA for ccffeb1 - Browse repository at this point
Copy the full SHA ccffeb1View commit details -
- added jsdoc for edgeColoration.spec getThresholds helper fn
Configuration menu - View commit details
-
Copy full SHA for 3d2a422 - Browse repository at this point
Copy the full SHA 3d2a422View commit details
Commits on Oct 21, 2024
-
- updated README to use default value of "names" in place of "pops" for endpoint identifier - updated demonstration dashboard.json for above change - updated networkMapPanel.json to align endpointId changes in initial layers - updated module.spec commented test for alignment when the component test is fixed.
Configuration menu - View commit details
-
Copy full SHA for 20cd87f - Browse repository at this point
Copy the full SHA 20cd87fView commit details
Commits on Oct 24, 2024
-
- removed duplicate entry to git ignore .code-workspace - restored includes line in tsconfig.json - removed useConfigurationlUrl prop in MapOptions interface and usage in mock.panel.json
Configuration menu - View commit details
-
Copy full SHA for 1a80636 - Browse repository at this point
Copy the full SHA 1a80636View commit details -
- reverted package.json and yarn.lock to end-to-end-tests revision
Configuration menu - View commit details
-
Copy full SHA for 4d4a244 - Browse repository at this point
Copy the full SHA 4d4a244View commit details
Commits on Oct 25, 2024
-
- reverted following packages to versions in target branch for e2e: @types/react @types/react-dom @grafana/tsconfig
Configuration menu - View commit details
-
Copy full SHA for 80263d5 - Browse repository at this point
Copy the full SHA 80263d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for baeca0f - Browse repository at this point
Copy the full SHA baeca0fView commit details
Commits on Oct 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5bc7e9d - Browse repository at this point
Copy the full SHA 5bc7e9dView commit details
Commits on Nov 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3057b0e - Browse repository at this point
Copy the full SHA 3057b0eView commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 656b875 - Browse repository at this point
Copy the full SHA 656b875View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c9b974 - Browse repository at this point
Copy the full SHA 1c9b974View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1ea0c8 - Browse repository at this point
Copy the full SHA b1ea0c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f012b09 - Browse repository at this point
Copy the full SHA f012b09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2abb8c7 - Browse repository at this point
Copy the full SHA 2abb8c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e39fc4f - Browse repository at this point
Copy the full SHA e39fc4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc4368f - Browse repository at this point
Copy the full SHA cc4368fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64f8a8c - Browse repository at this point
Copy the full SHA 64f8a8cView commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e08d8fb - Browse repository at this point
Copy the full SHA e08d8fbView commit details -
finalize changes to shore up CustomTextArea and convert test harness …
…to karma/jasmine
Configuration menu - View commit details
-
Copy full SHA for 9eb183d - Browse repository at this point
Copy the full SHA 9eb183dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20e04b0 - Browse repository at this point
Copy the full SHA 20e04b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70f1a26 - Browse repository at this point
Copy the full SHA 70f1a26View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbc0792 - Browse repository at this point
Copy the full SHA cbc0792View commit details