-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test(web-twig): Add snapshot to not disabled button
- Loading branch information
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...estShouldSnapshotComponents with data set buttonWithDisabledFalsePropDefault.twig__1.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 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> | ||
<html><body> | ||
<button class="Button Button--primary" type="button">Not Disabled button with boolean false prop value</button> | ||
<button class="Button Button--primary" type="button">Not Disabled button with string false prop value</button> | ||
</body></html> |
2 changes: 2 additions & 0 deletions
2
packages/web-twig/tests/components-fixtures/buttonWithDisabledFalsePropDefault.twig
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,2 @@ | ||
<Button color="primary" isDisabled=false>Not Disabled button with boolean false prop value</Button> | ||
<Button color="primary" isDisabled="false">Not Disabled button with string false prop value</Button> |