mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
Tests: Don't print full error messages in imported WPT tests
...when running in test mode. This cuts down on the time it takes to run the imported WPT tests, and you can still get the full error by opening tests in the browser.
This commit is contained in:
parent
53d5c7084e
commit
0ebdac0b35
Notes:
github-actions[bot]
2024-10-30 09:18:28 +00:00
Author: https://github.com/awesomekling
Commit: 0ebdac0b35
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2039
20 changed files with 181 additions and 175 deletions
|
@ -15,4 +15,4 @@ Pass e.style['box-sizing'] = "fill-box" should not set the property value
|
|||
Pass e.style['box-sizing'] = "stroke-box" should not set the property value
|
||||
Pass e.style['box-sizing'] = "view-box" should not set the property value
|
||||
Pass e.style['box-sizing'] = "content-box border-box" should not set the property value
|
||||
Fail e.style['box-sizing'] = "content-box, border-box" should not set the property value assert_equals: expected "" but got "content-box"
|
||||
Fail e.style['box-sizing'] = "content-box, border-box" should not set the property value
|
|
@ -15,7 +15,7 @@ Pass e.style['height'] = "max-content" should set the property value
|
|||
Pass e.style['height'] = "0" should set the property value
|
||||
Pass e.style['height'] = "10%" should set the property value
|
||||
Pass e.style['height'] = "0.5em" should set the property value
|
||||
Fail e.style['height'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))"
|
||||
Fail e.style['height'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['height'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['height'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['height'] = "calc(10% - 0.5em)" should set the property value
|
||||
Fail e.style['height'] = "fit-content(10%)" should set the property value
|
||||
Fail e.style['height'] = "fit-content(0.5em)" should set the property value
|
||||
Fail e.style['height'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -15,9 +15,9 @@ Pass Property max-height value 'max-content'
|
|||
Pass Property max-height value '10px'
|
||||
Pass Property max-height value '20%'
|
||||
Pass Property max-height value 'calc(10% + 40px)'
|
||||
Fail Property max-height value 'calc(10px - 0.5em)' assert_equals: expected "0px" but got "calc(10px + (0 - 0.5em))"
|
||||
Fail Property max-height value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)"
|
||||
Fail Property max-height value 'fit-content(10px)' assert_true: 'fit-content(10px)' is a supported value for max-height. expected true got false
|
||||
Fail Property max-height value 'fit-content(20%)' assert_true: 'fit-content(20%)' is a supported value for max-height. expected true got false
|
||||
Fail Property max-height value 'fit-content(calc(10% + 40px))' assert_true: 'fit-content(calc(10% + 40px))' is a supported value for max-height. expected true got false
|
||||
Fail Property max-height value 'fit-content(calc(10px + 0.5em))' assert_true: 'fit-content(calc(10px + 0.5em))' is a supported value for max-height. expected true got false
|
||||
Fail Property max-height value 'calc(10px - 0.5em)'
|
||||
Fail Property max-height value 'calc(10px + 0.5em)'
|
||||
Fail Property max-height value 'fit-content(10px)'
|
||||
Fail Property max-height value 'fit-content(20%)'
|
||||
Fail Property max-height value 'fit-content(calc(10% + 40px))'
|
||||
Fail Property max-height value 'fit-content(calc(10px + 0.5em))'
|
|
@ -15,7 +15,7 @@ Pass e.style['max-height'] = "max-content" should set the property value
|
|||
Pass e.style['max-height'] = "0" should set the property value
|
||||
Pass e.style['max-height'] = "10%" should set the property value
|
||||
Pass e.style['max-height'] = "0.5em" should set the property value
|
||||
Fail e.style['max-height'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))"
|
||||
Fail e.style['max-height'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['max-height'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['max-height'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['max-height'] = "calc(10% - 0.5em)" should set the property value
|
||||
Fail e.style['max-height'] = "fit-content(10%)" should set the property value
|
||||
Fail e.style['max-height'] = "fit-content(0.5em)" should set the property value
|
||||
Fail e.style['max-height'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -15,9 +15,9 @@ Pass Property max-width value 'max-content'
|
|||
Pass Property max-width value '10px'
|
||||
Pass Property max-width value '20%'
|
||||
Pass Property max-width value 'calc(10% + 40px)'
|
||||
Fail Property max-width value 'calc(10px - 0.5em)' assert_equals: expected "0px" but got "calc(10px + (0 - 0.5em))"
|
||||
Fail Property max-width value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)"
|
||||
Fail Property max-width value 'fit-content(10px)' assert_true: 'fit-content(10px)' is a supported value for max-width. expected true got false
|
||||
Fail Property max-width value 'fit-content(20%)' assert_true: 'fit-content(20%)' is a supported value for max-width. expected true got false
|
||||
Fail Property max-width value 'fit-content(calc(10% + 40px))' assert_true: 'fit-content(calc(10% + 40px))' is a supported value for max-width. expected true got false
|
||||
Fail Property max-width value 'fit-content(calc(10px + 0.5em))' assert_true: 'fit-content(calc(10px + 0.5em))' is a supported value for max-width. expected true got false
|
||||
Fail Property max-width value 'calc(10px - 0.5em)'
|
||||
Fail Property max-width value 'calc(10px + 0.5em)'
|
||||
Fail Property max-width value 'fit-content(10px)'
|
||||
Fail Property max-width value 'fit-content(20%)'
|
||||
Fail Property max-width value 'fit-content(calc(10% + 40px))'
|
||||
Fail Property max-width value 'fit-content(calc(10px + 0.5em))'
|
|
@ -15,7 +15,7 @@ Pass e.style['max-width'] = "max-content" should set the property value
|
|||
Pass e.style['max-width'] = "0" should set the property value
|
||||
Pass e.style['max-width'] = "10%" should set the property value
|
||||
Pass e.style['max-width'] = "0.5em" should set the property value
|
||||
Fail e.style['max-width'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))"
|
||||
Fail e.style['max-width'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['max-width'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['max-width'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['max-width'] = "calc(10% - 0.5em)" should set the property value
|
||||
Fail e.style['max-width'] = "fit-content(10%)" should set the property value
|
||||
Fail e.style['max-width'] = "fit-content(0.5em)" should set the property value
|
||||
Fail e.style['max-width'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -14,9 +14,9 @@ Pass Property min-height value 'max-content'
|
|||
Pass Property min-height value '10px'
|
||||
Pass Property min-height value '20%'
|
||||
Pass Property min-height value 'calc(10% + 40px)'
|
||||
Fail Property min-height value 'calc(10px - 0.5em)' assert_equals: expected "0px" but got "calc(10px + (0 - 0.5em))"
|
||||
Fail Property min-height value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)"
|
||||
Fail Property min-height value 'fit-content(10px)' assert_true: 'fit-content(10px)' is a supported value for min-height. expected true got false
|
||||
Fail Property min-height value 'fit-content(20%)' assert_true: 'fit-content(20%)' is a supported value for min-height. expected true got false
|
||||
Fail Property min-height value 'fit-content(calc(10% + 40px))' assert_true: 'fit-content(calc(10% + 40px))' is a supported value for min-height. expected true got false
|
||||
Fail Property min-height value 'fit-content(calc(10px + 0.5em))' assert_true: 'fit-content(calc(10px + 0.5em))' is a supported value for min-height. expected true got false
|
||||
Fail Property min-height value 'calc(10px - 0.5em)'
|
||||
Fail Property min-height value 'calc(10px + 0.5em)'
|
||||
Fail Property min-height value 'fit-content(10px)'
|
||||
Fail Property min-height value 'fit-content(20%)'
|
||||
Fail Property min-height value 'fit-content(calc(10% + 40px))'
|
||||
Fail Property min-height value 'fit-content(calc(10px + 0.5em))'
|
|
@ -18,5 +18,5 @@ Pass e.style['min-height'] = "10px 20%" should not set the property value
|
|||
Pass e.style['min-height'] = "max-content 10px" should not set the property value
|
||||
Pass e.style['min-height'] = "min-content max-content" should not set the property value
|
||||
Pass e.style['min-height'] = "available" should not set the property value
|
||||
Fail e.style['min-height'] = "10px border-box" should not set the property value assert_equals: expected "" but got "10px"
|
||||
Fail e.style['min-height'] = "10px border-box" should not set the property value
|
||||
Pass e.style['min-height'] = "content-box 20%" should not set the property value
|
|
@ -15,7 +15,7 @@ Pass e.style['min-height'] = "max-content" should set the property value
|
|||
Pass e.style['min-height'] = "0" should set the property value
|
||||
Pass e.style['min-height'] = "10%" should set the property value
|
||||
Pass e.style['min-height'] = "0.5em" should set the property value
|
||||
Fail e.style['min-height'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))"
|
||||
Fail e.style['min-height'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['min-height'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['min-height'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['min-height'] = "calc(10% - 0.5em)" should set the property value
|
||||
Fail e.style['min-height'] = "fit-content(10%)" should set the property value
|
||||
Fail e.style['min-height'] = "fit-content(0.5em)" should set the property value
|
||||
Fail e.style['min-height'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -14,9 +14,9 @@ Pass Property min-width value 'max-content'
|
|||
Pass Property min-width value '10px'
|
||||
Pass Property min-width value '20%'
|
||||
Pass Property min-width value 'calc(10% + 40px)'
|
||||
Fail Property min-width value 'calc(10px - 0.5em)' assert_equals: expected "0px" but got "calc(10px + (0 - 0.5em))"
|
||||
Fail Property min-width value 'calc(10px + 0.5em)' assert_equals: expected "30px" but got "calc(10px + 0.5em)"
|
||||
Fail Property min-width value 'fit-content(10px)' assert_true: 'fit-content(10px)' is a supported value for min-width. expected true got false
|
||||
Fail Property min-width value 'fit-content(20%)' assert_true: 'fit-content(20%)' is a supported value for min-width. expected true got false
|
||||
Fail Property min-width value 'fit-content(calc(10% + 40px))' assert_true: 'fit-content(calc(10% + 40px))' is a supported value for min-width. expected true got false
|
||||
Fail Property min-width value 'fit-content(calc(10px + 0.5em))' assert_true: 'fit-content(calc(10px + 0.5em))' is a supported value for min-width. expected true got false
|
||||
Fail Property min-width value 'calc(10px - 0.5em)'
|
||||
Fail Property min-width value 'calc(10px + 0.5em)'
|
||||
Fail Property min-width value 'fit-content(10px)'
|
||||
Fail Property min-width value 'fit-content(20%)'
|
||||
Fail Property min-width value 'fit-content(calc(10% + 40px))'
|
||||
Fail Property min-width value 'fit-content(calc(10px + 0.5em))'
|
|
@ -18,5 +18,5 @@ Pass e.style['min-width'] = "10px 20%" should not set the property value
|
|||
Pass e.style['min-width'] = "max-content 10px" should not set the property value
|
||||
Pass e.style['min-width'] = "min-content max-content" should not set the property value
|
||||
Pass e.style['min-width'] = "available" should not set the property value
|
||||
Fail e.style['min-width'] = "10px border-box" should not set the property value assert_equals: expected "" but got "10px"
|
||||
Fail e.style['min-width'] = "10px border-box" should not set the property value
|
||||
Pass e.style['min-width'] = "content-box 20%" should not set the property value
|
|
@ -15,7 +15,7 @@ Pass e.style['min-width'] = "max-content" should set the property value
|
|||
Pass e.style['min-width'] = "0" should set the property value
|
||||
Pass e.style['min-width'] = "10%" should set the property value
|
||||
Pass e.style['min-width'] = "0.5em" should set the property value
|
||||
Fail e.style['min-width'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))"
|
||||
Fail e.style['min-width'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['min-width'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['min-width'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['min-width'] = "calc(10% - 0.5em)" should set the property value
|
||||
Fail e.style['min-width'] = "fit-content(10%)" should set the property value
|
||||
Fail e.style['min-width'] = "fit-content(0.5em)" should set the property value
|
||||
Fail e.style['min-width'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
|
@ -15,7 +15,7 @@ Pass e.style['width'] = "max-content" should set the property value
|
|||
Pass e.style['width'] = "0" should set the property value
|
||||
Pass e.style['width'] = "10%" should set the property value
|
||||
Pass e.style['width'] = "0.5em" should set the property value
|
||||
Fail e.style['width'] = "calc(10% - 0.5em)" should set the property value assert_equals: serialization should be canonical expected "calc(10% - 0.5em)" but got "calc(10% + (0 - 0.5em))"
|
||||
Fail e.style['width'] = "fit-content(10%)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['width'] = "fit-content(0.5em)" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['width'] = "fit-content(calc(10% - 0.5em))" should set the property value assert_not_equals: property should be set got disallowed value ""
|
||||
Fail e.style['width'] = "calc(10% - 0.5em)" should set the property value
|
||||
Fail e.style['width'] = "fit-content(10%)" should set the property value
|
||||
Fail e.style['width'] = "fit-content(0.5em)" should set the property value
|
||||
Fail e.style['width'] = "fit-content(calc(10% - 0.5em))" should set the property value
|
Loading…
Add table
Add a link
Reference in a new issue