fixed screenshot alignment

fixed screenshot showing test config
This commit is contained in:
Miodec 2022-08-25 13:25:59 +02:00
parent 17e7413c76
commit 0e25e39dc3

View file

@ -248,6 +248,7 @@ export async function screenshot(): Promise<void> {
}
function revertScreenshot(): void {
$("#testConfig").removeClass("invisible");
$("#ad-result-wrapper").removeClass("hidden");
$("#ad-result-small-wrapper").removeClass("hidden");
$("#notificationCenter").removeClass("hidden");
@ -292,6 +293,7 @@ export async function screenshot(): Promise<void> {
const sourceHeight = <number>(
src.outerHeight(true)
); /*clientHeight/offsetHeight from div#target*/
$("#testConfig").addClass("invisible");
$("#notificationCenter").addClass("hidden");
$("#commandLineMobileButton").addClass("hidden");
$(".pageTest .loginTip").addClass("hidden");