FormStateCases Class — react Architecture
Architecture documentation for the FormStateCases class in index.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD fa8442a3_d40e_2c08_a922_3db3faaa8976["FormStateCases"] 86f24308_7a2e_fd8e_db30_3806304dcca0["index.js"] fa8442a3_d40e_2c08_a922_3db3faaa8976 -->|defined in| 86f24308_7a2e_fd8e_db30_3806304dcca0 bc128845_01a3_a8e8_861d_a3a1d1fe35a6["render()"] fa8442a3_d40e_2c08_a922_3db3faaa8976 -->|method| bc128845_01a3_a8e8_861d_a3a1d1fe35a6
Relationship Graph
Source Code
fixtures/dom/src/components/fixtures/form-state/index.js lines 6–52
export default class FormStateCases extends React.Component {
render() {
return (
<FixtureSet title="Form State">
<TestCase
title="Form state autofills from browser"
description="Form start should autofill/autocomplete if user has autocomplete/autofill information saved. The user may need to set-up autofill or autocomplete with their specific browser.">
<TestCase.Steps>
<li>
Set up autofill/autocomplete for your browser.
<br />
Instructions:
<ul>
<li>
<SafeLink
href="https://support.google.com/chrome/answer/142893?co=GENIE.Platform%3DDesktop&hl=en"
text="Google Chrome"
/>
</li>
<li>
<SafeLink
href="https://support.mozilla.org/en-US/kb/autofill-logins-firefox"
text="Mozilla FireFox"
/>
</li>
<li>
<SafeLink
href="https://support.microsoft.com/en-us/help/4027718/microsoft-edge-automatically-fill-info"
text="Microsoft Edge"
/>
</li>
</ul>
</li>
<li>Click into any input.</li>
<li>Select any autofill option.</li>
</TestCase.Steps>
<TestCase.ExpectedResult>
Autofill options should appear when clicking into fields. Selected
autofill options should change state (shown underneath, under
"States").
</TestCase.ExpectedResult>
<ControlledFormFixture />
</TestCase>
</FixtureSet>
);
}
}
Domain
Source
Frequently Asked Questions
What is the FormStateCases class?
FormStateCases is a class in the react codebase, defined in fixtures/dom/src/components/fixtures/form-state/index.js.
Where is FormStateCases defined?
FormStateCases is defined in fixtures/dom/src/components/fixtures/form-state/index.js at line 6.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free