From 165f14c5ceef1c980da70e3e239685cc9f6b4afd Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Thu, 14 Nov 2024 11:05:00 +0700 Subject: [PATCH] double click --- apps/remixdesktop/test/tests/app/circom-compiler.test.ts | 6 ++++++ apps/remixdesktop/test/tests/app/circom-script.test.ts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/remixdesktop/test/tests/app/circom-compiler.test.ts b/apps/remixdesktop/test/tests/app/circom-compiler.test.ts index b13c299419..22435aef99 100644 --- a/apps/remixdesktop/test/tests/app/circom-compiler.test.ts +++ b/apps/remixdesktop/test/tests/app/circom-compiler.test.ts @@ -38,7 +38,13 @@ const tests = { .click('[data-id="treeViewLitreeViewItemcircuits/simple.circom"]') .waitForElementVisible('[data-id="play-editor"]') .click('[data-id="play-editor"]') + .pause(3000) + .click('[data-id="play-editor"]') .waitForElementVisible('[data-id="verticalIconsKindcircuit-compiler"]') + .clickLaunchIcon('circuit-compiler') + .frame(0) + .saveScreenshot('./reports/screenshots/circom.png') + .frameParent() .waitForElementVisible('[data-id="treeViewLitreeViewItemcircuits/.bin"]') .click('[data-id="treeViewLitreeViewItemcircuits/.bin"]') .waitForElementVisible('[data-id="treeViewLitreeViewItemcircuits/.bin/simple_js"]') diff --git a/apps/remixdesktop/test/tests/app/circom-script.test.ts b/apps/remixdesktop/test/tests/app/circom-script.test.ts index 9bf78c7273..b749da9dec 100644 --- a/apps/remixdesktop/test/tests/app/circom-script.test.ts +++ b/apps/remixdesktop/test/tests/app/circom-script.test.ts @@ -64,4 +64,4 @@ const tests = { } -module.exports = tests \ No newline at end of file +module.exports = {} \ No newline at end of file