-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Josh Pollock
committed
Apr 9, 2019
1 parent
d92f059
commit 7cbad98
Showing
3 changed files
with
302 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
282 changes: 282 additions & 0 deletions
282
packages/forms/src/CF2Form/__snapshots__/CF2Form.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,282 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`CF2Form Matches snapshot 1`] = ` | ||
Object { | ||
"asFragment": [Function], | ||
"baseElement": <body> | ||
<div | ||
aria-atomic="true" | ||
aria-live="polite" | ||
aria-relevant="additions text" | ||
class="a11y-speak-region" | ||
id="a11y-speak-polite" | ||
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;" | ||
/> | ||
<div | ||
aria-atomic="true" | ||
aria-live="assertive" | ||
aria-relevant="additions text" | ||
class="a11y-speak-region" | ||
id="a11y-speak-assertive" | ||
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;" | ||
/> | ||
<div> | ||
<div> | ||
Loading Spinner | ||
</div> | ||
</div> | ||
</body>, | ||
"container": <div> | ||
<div> | ||
Loading Spinner | ||
</div> | ||
</div>, | ||
"debug": [Function], | ||
"findAllByAltText": [Function], | ||
"findAllByDisplayValue": [Function], | ||
"findAllByLabelText": [Function], | ||
"findAllByPlaceholderText": [Function], | ||
"findAllByRole": [Function], | ||
"findAllByTestId": [Function], | ||
"findAllByText": [Function], | ||
"findAllByTitle": [Function], | ||
"findByAltText": [Function], | ||
"findByDisplayValue": [Function], | ||
"findByLabelText": [Function], | ||
"findByPlaceholderText": [Function], | ||
"findByRole": [Function], | ||
"findByTestId": [Function], | ||
"findByText": [Function], | ||
"findByTitle": [Function], | ||
"getAllByAltText": [Function], | ||
"getAllByDisplayValue": [Function], | ||
"getAllByLabelText": [Function], | ||
"getAllByPlaceholderText": [Function], | ||
"getAllByRole": [Function], | ||
"getAllBySelectText": [Function], | ||
"getAllByTestId": [Function], | ||
"getAllByText": [Function], | ||
"getAllByTitle": [Function], | ||
"getAllByValue": [Function], | ||
"getByAltText": [Function], | ||
"getByDisplayValue": [Function], | ||
"getByLabelText": [Function], | ||
"getByPlaceholderText": [Function], | ||
"getByRole": [Function], | ||
"getBySelectText": [Function], | ||
"getByTestId": [Function], | ||
"getByText": [Function], | ||
"getByTitle": [Function], | ||
"getByValue": [Function], | ||
"queryAllByAltText": [Function], | ||
"queryAllByDisplayValue": [Function], | ||
"queryAllByLabelText": [Function], | ||
"queryAllByPlaceholderText": [Function], | ||
"queryAllByRole": [Function], | ||
"queryAllBySelectText": [Function], | ||
"queryAllByTestId": [Function], | ||
"queryAllByText": [Function], | ||
"queryAllByTitle": [Function], | ||
"queryAllByValue": [Function], | ||
"queryByAltText": [Function], | ||
"queryByDisplayValue": [Function], | ||
"queryByLabelText": [Function], | ||
"queryByPlaceholderText": [Function], | ||
"queryByRole": [Function], | ||
"queryBySelectText": [Function], | ||
"queryByTestId": [Function], | ||
"queryByText": [Function], | ||
"queryByTitle": [Function], | ||
"queryByValue": [Function], | ||
"rerender": [Function], | ||
"unmount": [Function], | ||
} | ||
`; | ||
|
||
exports[`CF2Form Snapshot with tokens 1`] = ` | ||
Object { | ||
"asFragment": [Function], | ||
"baseElement": <body> | ||
<div | ||
aria-atomic="true" | ||
aria-live="polite" | ||
aria-relevant="additions text" | ||
class="a11y-speak-region" | ||
id="a11y-speak-polite" | ||
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;" | ||
/> | ||
<div | ||
aria-atomic="true" | ||
aria-live="assertive" | ||
aria-relevant="additions text" | ||
class="a11y-speak-region" | ||
id="a11y-speak-assertive" | ||
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;" | ||
/> | ||
<div> | ||
<div | ||
class="caldera" | ||
> | ||
<form | ||
class="cf222 caldera-form" | ||
> | ||
<div | ||
class="sc-bdVaJa caldera-form-row caldera-row sc-bwzfXH pjOvZ" | ||
> | ||
<div | ||
class="caldera-column sc-bdVaJa iHZvIS" | ||
> | ||
<div | ||
class="caldera-field-wrapper caldera-field-wrapper-text" | ||
> | ||
<div | ||
class="components-base-control" | ||
> | ||
<div | ||
class="components-base-control__field" | ||
> | ||
<input | ||
id="fld_7908577" | ||
type="submit" | ||
value="Click Me" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
<div> | ||
<div | ||
class="caldera" | ||
> | ||
<form | ||
class="cf222 caldera-form" | ||
> | ||
<div | ||
class="sc-bdVaJa caldera-form-row caldera-row sc-bwzfXH pjOvZ" | ||
> | ||
<div | ||
class="caldera-column sc-bdVaJa iHZvIS" | ||
> | ||
<div | ||
class="caldera-field-wrapper caldera-field-wrapper-text" | ||
> | ||
<div | ||
class="components-base-control" | ||
> | ||
<div | ||
class="components-base-control__field" | ||
> | ||
<input | ||
id="fld_7908577" | ||
type="submit" | ||
value="Click Me" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</body>, | ||
"container": <div> | ||
<div | ||
class="caldera" | ||
> | ||
<form | ||
class="cf222 caldera-form" | ||
> | ||
<div | ||
class="sc-bdVaJa caldera-form-row caldera-row sc-bwzfXH pjOvZ" | ||
> | ||
<div | ||
class="caldera-column sc-bdVaJa iHZvIS" | ||
> | ||
<div | ||
class="caldera-field-wrapper caldera-field-wrapper-text" | ||
> | ||
<div | ||
class="components-base-control" | ||
> | ||
<div | ||
class="components-base-control__field" | ||
> | ||
<input | ||
id="fld_7908577" | ||
type="submit" | ||
value="Click Me" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div>, | ||
"debug": [Function], | ||
"findAllByAltText": [Function], | ||
"findAllByDisplayValue": [Function], | ||
"findAllByLabelText": [Function], | ||
"findAllByPlaceholderText": [Function], | ||
"findAllByRole": [Function], | ||
"findAllByTestId": [Function], | ||
"findAllByText": [Function], | ||
"findAllByTitle": [Function], | ||
"findByAltText": [Function], | ||
"findByDisplayValue": [Function], | ||
"findByLabelText": [Function], | ||
"findByPlaceholderText": [Function], | ||
"findByRole": [Function], | ||
"findByTestId": [Function], | ||
"findByText": [Function], | ||
"findByTitle": [Function], | ||
"getAllByAltText": [Function], | ||
"getAllByDisplayValue": [Function], | ||
"getAllByLabelText": [Function], | ||
"getAllByPlaceholderText": [Function], | ||
"getAllByRole": [Function], | ||
"getAllBySelectText": [Function], | ||
"getAllByTestId": [Function], | ||
"getAllByText": [Function], | ||
"getAllByTitle": [Function], | ||
"getAllByValue": [Function], | ||
"getByAltText": [Function], | ||
"getByDisplayValue": [Function], | ||
"getByLabelText": [Function], | ||
"getByPlaceholderText": [Function], | ||
"getByRole": [Function], | ||
"getBySelectText": [Function], | ||
"getByTestId": [Function], | ||
"getByText": [Function], | ||
"getByTitle": [Function], | ||
"getByValue": [Function], | ||
"queryAllByAltText": [Function], | ||
"queryAllByDisplayValue": [Function], | ||
"queryAllByLabelText": [Function], | ||
"queryAllByPlaceholderText": [Function], | ||
"queryAllByRole": [Function], | ||
"queryAllBySelectText": [Function], | ||
"queryAllByTestId": [Function], | ||
"queryAllByText": [Function], | ||
"queryAllByTitle": [Function], | ||
"queryAllByValue": [Function], | ||
"queryByAltText": [Function], | ||
"queryByDisplayValue": [Function], | ||
"queryByLabelText": [Function], | ||
"queryByPlaceholderText": [Function], | ||
"queryByRole": [Function], | ||
"queryBySelectText": [Function], | ||
"queryByTestId": [Function], | ||
"queryByText": [Function], | ||
"queryByTitle": [Function], | ||
"queryByValue": [Function], | ||
"rerender": [Function], | ||
"unmount": [Function], | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters