react/packages/react-devtools-shared/src/devtools/views/Components
Luna Ruan 1328ff70cd
[DevTools] Regression-proof e2e Tests (#24620)
This PR:

* Increases test retry count to 2 so that flaky tests have more of a chance to pass
* Ideally most e2e tests will run for all React versions (and ensure DevTools elegantly fails if React doesn't support its features). However, some features aren't supported in older React versions at all (ex. Profiling) Add runOnlyForReactRange function in these cases to skip tests that don't satisfy the correct React semver range
* Fix should allow searching for component by name test, which was flaky because sometimes the Searchbox would be unfocused the second time we try to type in it
* Edited test Should allow elements to be inspected to check that element inspect gracefully fails in older React versions
* Updated config to add a config.use.url field and a config.use.react_version field, which change depending on the React Version (and whether it's specified)
2022-05-25 20:53:44 -04:00
..
NativeStyleEditor Use ReactDOM Test Selector API in DevTools e2e tests (#22978) 2021-12-21 11:58:04 -05:00
reach-ui fix(devtools): expose css vars to reach-ui portal components (#22716) 2021-11-08 15:17:22 -05:00
Badge.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
Badge.js DevTools: Show hook names based on variable usage (#21641) 2021-07-01 14:39:18 -04:00
CannotSuspendWarningMessage.js Improve DevTools editing interface (#19774) 2020-09-18 11:07:18 -04:00
ComponentSearchInput.js Use ReactDOM Test Selector API in DevTools e2e tests (#22978) 2021-12-21 11:58:04 -05:00
Components.css DevTools: Show hook names based on variable usage (#21641) 2021-07-01 14:39:18 -04:00
Components.js Update DevTools to use getCacheForType API (#20548) 2021-01-19 09:51:32 -05:00
EditableName.css Improve DevTools editing interface (#19774) 2020-09-18 11:07:18 -04:00
EditableName.js Use ReactDOM Test Selector API in DevTools e2e tests (#22978) 2021-12-21 11:58:04 -05:00
EditableValue.css Add checkbox toggle for boolean values (#19714) 2020-09-03 08:57:12 -04:00
EditableValue.js Use ReactDOM Test Selector API in DevTools e2e tests (#22978) 2021-12-21 11:58:04 -05:00
Element.css Advocate for StrictMode usage within Components tree (#22886) 2021-12-10 11:05:18 -05:00
Element.js DevTools: Only show StrictMode badge on root elements (#23012) 2021-12-21 15:26:42 -05:00
ExpandCollapseToggle.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
ExpandCollapseToggle.js Update DevTools to use getCacheForType API (#20548) 2021-01-19 09:51:32 -05:00
FetchFileWithCachingContext.js Add named hooks support to react-devtools-inline (#22263) 2021-09-09 15:25:26 -04:00
HocBadges.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
HocBadges.js [DevTools] Improve HOC search UX (#18802) 2020-05-15 10:37:34 -07:00
HookNamesModuleLoaderContext.js Add named hooks support to react-devtools-inline (#22263) 2021-09-09 15:25:26 -04:00
InspectHostNodesToggle.js Codemod to import * as React from "react"; (#18102) 2020-02-21 19:45:20 -08:00
InspectedElement.css Advocate for StrictMode usage within Components tree (#22886) 2021-12-10 11:05:18 -05:00
InspectedElement.js Use ReactDOM Test Selector API in DevTools e2e tests (#22978) 2021-12-21 11:58:04 -05:00
InspectedElementContext.js Add named hooks support to react-devtools-inline (#22263) 2021-09-09 15:25:26 -04:00
InspectedElementContextTree.js Update DevTools to use getCacheForType API (#20548) 2021-01-19 09:51:32 -05:00
InspectedElementErrorBoundary.css DevTools: Show hook names based on variable usage (#21641) 2021-07-01 14:39:18 -04:00
InspectedElementErrorBoundary.js Reset inspected element cache in the event of an error (#21821) 2021-07-08 14:07:15 -04:00
InspectedElementErrorsAndWarningsTree.css Expose DEV-mode warnings in devtools UI (#20463) 2020-12-22 11:09:29 -05:00
InspectedElementErrorsAndWarningsTree.js Update entry point exports (#21488) 2021-05-12 11:28:14 -04:00
InspectedElementHooksTree.css DevTools show error icon when hook name parsing fails (#21820) 2021-07-07 16:27:39 -04:00
InspectedElementHooksTree.js styles: replace Array.isArray with module isArray (#23154) 2022-01-21 09:33:00 -05:00
InspectedElementPropsTree.js Use ReactDOM Test Selector API in DevTools e2e tests (#22978) 2021-12-21 11:58:04 -05:00
InspectedElementSharedStyles.css Expose DEV-mode warnings in devtools UI (#20463) 2020-12-22 11:09:29 -05:00
InspectedElementStateTree.js Update DevTools to use getCacheForType API (#20548) 2021-01-19 09:51:32 -05:00
InspectedElementStyleXPlugin.css StyleX plug-in for resolving atomic styles to values for props.xstyle (#22808) 2021-12-07 20:04:12 -05:00
InspectedElementStyleXPlugin.js StyleX plug-in for resolving atomic styles to values for props.xstyle (#22808) 2021-12-07 20:04:12 -05:00
InspectedElementSuspenseToggle.js [DevTools] Add options for disabling some features (#22136) 2021-08-20 12:55:50 -04:00
InspectedElementView.css Improve DevTools editing interface (#19774) 2020-09-18 11:07:18 -04:00
InspectedElementView.js Use ReactDOM Test Selector API in DevTools e2e tests (#22978) 2021-12-21 11:58:04 -05:00
KeyValue.css Devtools: Display as link if value is in specified protocols (#21964) 2021-07-28 09:29:13 -04:00
KeyValue.js [DevTools] Regression-proof e2e Tests (#24620) 2022-05-25 20:53:44 -04:00
LoadingAnimation.css Update DevTools to use getCacheForType API (#20548) 2021-01-19 09:51:32 -05:00
LoadingAnimation.js Update DevTools to use getCacheForType API (#20548) 2021-01-19 09:51:32 -05:00
NewArrayValue.css Improve DevTools editing interface (#19774) 2020-09-18 11:07:18 -04:00
NewArrayValue.js Improve DevTools editing interface (#19774) 2020-09-18 11:07:18 -04:00
NewKeyValue.css Improve DevTools editing interface (#19774) 2020-09-18 11:07:18 -04:00
NewKeyValue.js Improve DevTools editing interface (#19774) 2020-09-18 11:07:18 -04:00
OwnersListContext.js DevTools shows which fibers scheduled the current update (#21171) 2021-04-09 10:35:06 -04:00
OwnersStack.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
OwnersStack.js fix(devtools): expose css vars to reach-ui portal components (#22716) 2021-11-08 15:17:22 -05:00
SelectedTreeHighlight.css Reorganized things again into packages 2019-08-13 11:37:25 -07:00
SelectedTreeHighlight.js Codemod to import * as React from "react"; (#18102) 2020-02-21 19:45:20 -08:00
Tree.css Expose DEV-mode warnings in devtools UI (#20463) 2020-12-22 11:09:29 -05:00
Tree.js Attach DevTools Tree keyboard events to the Tree container (not the document) (#24164) 2022-03-25 12:41:13 -04:00
TreeContext.js Fixed possible undefined error in TreeContext reducer (#24501) 2022-05-05 08:46:57 -07:00
TreeFocusedContext.js Added FB copyright header 2019-08-27 10:54:01 -07:00
ViewElementSourceContext.js Added FB copyright header 2019-08-27 10:54:01 -07:00
constants.js Devtools: Display as link if value is in specified protocols (#21964) 2021-07-28 09:29:13 -04:00
types.js Advocate for StrictMode usage within Components tree (#22886) 2021-12-10 11:05:18 -05:00
utils.js Improve DevTools editing interface (#19774) 2020-09-18 11:07:18 -04:00