Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-57b committed Jul 16, 2024
1 parent 77e9e5c commit bf322f3
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions l1-test-report.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,13 @@
var day = currentDate.getDate().toString().padStart(2, '0');
var dateFolder = year + month + day;

document.write("dateFolder: " + dateFolder);
document.write("SDK E2E Test Report " + dateFolder);

window.onload = function() {
document.getElementById("rpcTest").src = dateFolder + "/pass_07-16-2024_115159_sdk-test-report.html";
document.getElementById("stakeTest").src = dateFolder + "/pass_07-16-2024_115159_sdk-test-report.html";
document.getElementById("rewardsTest").src = dateFolder + "/pass_07-16-2024_115159_sdk-test-report.html";
document.getElementById("stressTest1").src = dateFolder + "/output_EOA.json";
document.getElementById("stressTest2").src = dateFolder + "/stress_test.log"; // Updated to .txt
fetch(dateFolder + "/stress_test.txt") // Updated to .txt
.then(response => response.text())
.then(data => {
document.getElementById("stressTest").textContent = data;
})
.catch(error => {
console.error('Error fetching the log file:', error);
document.getElementById("stressTest").textContent = "Error loading log file.";
});
document.getElementById("stressTest").src = dateFolder + "/stress_test.log";
};
</script>

Expand All @@ -49,14 +39,8 @@ <h1>Stake Test</h1>
<h1>Rewards Test</h1>
<iframe id="rewardsTest" width="100%" height="600px"></iframe>

<h1>Stress1 Test</h1>
<iframe id="stressTest1" width="100%" height="600px"></iframe>

<h1>Stress2 Test</h1>
<iframe id="stressTest2" width="100%" height="600px"></iframe>

<h1>Stress Test</h1>
<pre id="stressTest">Loading...</pre>
<iframe id="stressTest" width="100%" height="600px"></iframe>

<!-- Add more report sections as needed -->
</body>
Expand Down

0 comments on commit bf322f3

Please sign in to comment.