act-rules.github.io icon indicating copy to clipboard operation
act-rules.github.io copied to clipboard

[bc659a] Meta element has no refresh delay testcases generated incorrectly

Open tombrunet opened this issue 2 years ago • 2 comments

Testcases are being injected into the body element rather than the HTML element. For example:

<head>
	<meta http-equiv="refresh" content="30" />
</head>
<body>
	<p>This page refreshes after 30 seconds.</p>
</body>

is generated as

<!DOCTYPE html>
<html lang="en">
<head>
	<title>Failed Example 1</title>
</head>
<body>
	<head>
		<meta http-equiv="refresh" content="30" />
	</head>
	<body>
		<p>This page refreshes after 30 seconds.</p>
	</body>
</body>
</html>

The resulting html doesn't seem to be the intent of the testcase.

tombrunet avatar Mar 13 '23 15:03 tombrunet

IIRC, that should be solved if we include the html element in the test case, then it won't be added incorrectly. We'll need to also keep the lang attribute and the title element, so that the case don't fail other SC 🙈

Jym77 avatar Mar 14 '23 08:03 Jym77

Noticed that the same is happening for bisz58

tombrunet avatar Mar 22 '23 19:03 tombrunet