File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed
test/integration/image-component/default Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,7 @@ const Page = () => {
55 return (
66 < div >
77 < p > Hello World</ p >
8- < Image id = "basic-image" src = "/test.jpg" width = { 400 } height = { 400 } > </ Image >
9- < Image
10- id = "width-height-string"
11- src = "/test.jpg"
12- width = "400"
13- height = "400"
14- > </ Image >
8+ < Image id = "basic-image" src = "/test.jpg" width = "400" height = "400" > </ Image >
159 < Image id = "unsized-image" src = "/test.png" unsized > </ Image >
1610 < p id = "stubtext" > This is the index page</ p >
1711 </ div >
Original file line number Diff line number Diff line change @@ -36,17 +36,6 @@ function runTests() {
3636 return 'result-correct'
3737 } , / r e s u l t - c o r r e c t / )
3838
39- await check ( async ( ) => {
40- const result = await browser . eval (
41- `document.getElementById('width-height-string').naturalWidth`
42- )
43- if ( result === 0 ) {
44- throw new Error ( 'Incorrectly loaded image' )
45- }
46-
47- return 'result-correct'
48- } , / r e s u l t - c o r r e c t / )
49-
5039 await check ( async ( ) => {
5140 const result = await browser . eval (
5241 `document.getElementById('unsized-image').naturalWidth`
You can’t perform that action at this time.
0 commit comments