Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Node, flake8, syrupy, and poetry. * Fix erroneous fieldset snapshot tests * Remove TBXFORMS_ALLOW_HTML_LABEL, TBXFORMS_ALLOW_HTML_HELP_TEXT, and TBXFORMS_ALLOW_HTML_BUTTON and associated conditional escaping of values.
- Loading branch information
Showing
50 changed files
with
804 additions
and
706 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
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 |
---|---|---|
@@ -1 +1 @@ | ||
16 | ||
20 |
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
tests/layout/__snapshots__/test_buttons/TestButtons.test_css_class[secondary].html
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,3 @@ | ||
<button name="name" | ||
class="extra-css-class tbxforms-button tbxforms-button--secondary" | ||
id="button-id-name">Title</button> |
3 changes: 3 additions & 0 deletions
3
tests/layout/__snapshots__/test_buttons/TestButtons.test_css_class[warning].html
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,3 @@ | ||
<button name="name" | ||
class="extra-css-class tbxforms-button tbxforms-button--warning" | ||
id="button-id-name">Title</button> |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
tests/layout/__snapshots__/test_buttons/TestButtons.test_css_id[secondary].html
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,3 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--secondary" | ||
id="new_id">Title</button> |
3 changes: 3 additions & 0 deletions
3
tests/layout/__snapshots__/test_buttons/TestButtons.test_css_id[warning].html
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,3 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--warning" | ||
id="new_id">Title</button> |
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
tests/layout/__snapshots__/test_buttons/TestButtons.test_disabled_button[secondary].html
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,5 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--secondary" | ||
id="button-id-name" | ||
aria-disabled="true" | ||
disabled="disabled">Title</button> |
5 changes: 5 additions & 0 deletions
5
tests/layout/__snapshots__/test_buttons/TestButtons.test_disabled_button[warning].html
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,5 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--warning" | ||
id="button-id-name" | ||
aria-disabled="true" | ||
disabled="disabled">Title</button> |
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
tests/layout/__snapshots__/test_buttons/TestButtons.test_extra_attributes[secondary].html
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,4 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--secondary" | ||
id="button-id-name" | ||
key="value">Title</button> |
4 changes: 4 additions & 0 deletions
4
tests/layout/__snapshots__/test_buttons/TestButtons.test_extra_attributes[warning].html
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,4 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--warning" | ||
id="button-id-name" | ||
key="value">Title</button> |
5 changes: 5 additions & 0 deletions
5
...ut/__snapshots__/test_escaping/TestButtonEscaping.test_safe_markup_rendered[primary].html
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,5 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--primary" | ||
id="button-id-name"> | ||
<strong>Value</strong> | ||
</button> |
5 changes: 5 additions & 0 deletions
5
.../__snapshots__/test_escaping/TestButtonEscaping.test_safe_markup_rendered[secondary].html
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,5 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--secondary" | ||
id="button-id-name"> | ||
<strong>Value</strong> | ||
</button> |
5 changes: 5 additions & 0 deletions
5
...ut/__snapshots__/test_escaping/TestButtonEscaping.test_safe_markup_rendered[warning].html
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,5 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--warning" | ||
id="button-id-name"> | ||
<strong>Value</strong> | ||
</button> |
3 changes: 3 additions & 0 deletions
3
...t/__snapshots__/test_escaping/TestButtonEscaping.test_unsafe_markup_escaped[primary].html
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,3 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--primary" | ||
id="button-id-name"><strong>Value</strong></button> |
3 changes: 3 additions & 0 deletions
3
...__snapshots__/test_escaping/TestButtonEscaping.test_unsafe_markup_escaped[secondary].html
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,3 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--secondary" | ||
id="button-id-name"><strong>Value</strong></button> |
3 changes: 3 additions & 0 deletions
3
...t/__snapshots__/test_escaping/TestButtonEscaping.test_unsafe_markup_escaped[warning].html
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,3 @@ | ||
<button name="name" | ||
class=" tbxforms-button tbxforms-button--warning" | ||
id="button-id-name"><strong>Value</strong></button> |
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
2 changes: 1 addition & 1 deletion
2
tests/layout/__snapshots__/test_fieldset/test_change_legend_size.html
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
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
Oops, something went wrong.