diff --git a/CHANGELOG.md b/CHANGELOG.md index cc88741..4623619 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,4 +18,7 @@ First Release for Vs Code Extension. - Added support for Menu commands for updating keploy, viewing keploy version, viewing docs, viewing latest version and viewing changelog ## [1.0.2] -- UI improvements and Bug fixes: Commands and Signin was visible in other extension views \ No newline at end of file +- UI improvements and Bug fixes: Commands and Signin was visible in other extension views + +## [1.0.6] +- Releasing a stable version for UTG and fix terminal conection of e2e tests diff --git a/package.json b/package.json index cd7de48..9075408 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "keployio", "displayName": "Keploy", "description": "Streamline testing with the power of Keploy, directly in your favorite IDE.", - "version": "1.0.6", + "version": "1.0.7", "publisher": "Keploy", "icon": "media/logo.png", diff --git a/scripts/logs/record_mode.log b/scripts/logs/record_mode.log index 096f127..527c0a4 100644 --- a/scripts/logs/record_mode.log +++ b/scripts/logs/record_mode.log @@ -1 +1 @@ -sudo: 2 incorrect password attempts +sudo: a password is required diff --git a/sidebar/sidebar.js b/sidebar/sidebar.js index 4588372..bfb6142 100644 --- a/sidebar/sidebar.js +++ b/sidebar/sidebar.js @@ -36,7 +36,7 @@ const viewRecordLogsButton = document.getElementById('viewRecordLogsButton'); // const selectRecordFolderButton = document.getElementById('selectRecordFolderButton'); // const selectTestFolderButton = document.getElementById('selectTestFolderButton'); const navigateToConfigButton = document.getElementById('backtoHome'); -const navigateToConfigButton2 = document.getElementById('backtoHome2'); +const backtoHome = document.getElementById('backArrow'); let FilePath = ""; //cleanup required @@ -133,6 +133,15 @@ if (navigateToConfigButton) { ); } +if (backtoHome) { + backtoHome.addEventListener('click', async () => { + vscode.postMessage({ + type: "navigate", + value: "Config" + }); + } + ); +} // if (selectRecordFolderButton) { // selectRecordFolderButton.addEventListener('click', async () => { diff --git a/webviews/components/IntegrationTest.svelte b/webviews/components/IntegrationTest.svelte index 6fb5b5d..f79480b 100644 --- a/webviews/components/IntegrationTest.svelte +++ b/webviews/components/IntegrationTest.svelte @@ -4,7 +4,6 @@ let path = "./"; let passThroughPorts = ""; let navigateToConfig = false; - let navigateToConfig2 = false; function handleSetupConfig() { showSettings = true; @@ -13,10 +12,6 @@ navigateToConfig = true; } - function NavigateToConfig2() { - console.log("NavigateToConfig2"); - navigateToConfig2 = true; - } @@ -59,9 +54,6 @@ - diff --git a/webviews/components/KeployHome.svelte b/webviews/components/KeployHome.svelte index f553e87..3503ed7 100644 --- a/webviews/components/KeployHome.svelte +++ b/webviews/components/KeployHome.svelte @@ -1,61 +1,55 @@ +
+ + + + +
+ + + +
+
+
+ {#if selectedIconButton === 3} +

Make changes to keploy config

+ {:else if selectedIconButton === 2} +

View Previous Test Results

+ {:else} +

+ {isRecording + ? "Recording Started" + : isTesting + ? "Testing Started" + : "Running Keploy"} +

+ {/if} + e.key === "Enter" && stop()} + id="stopRecordingButton" + bind:this={stopRecordingButton} + role="button" + tabindex="0" + > + + + e.key === "Enter" && stop()} + id="stopTestingButton" + bind:this={stopTestingButton} + role="button" + tabindex="0" + > + + +
+
+

+
+

+
+ + + +
+
+
+ {#if selectedIconButton === 2} +
+

+
+ {/if} + +
+
e.key === "Enter" && toggleRecording()} + tabindex="0" + role="button" + id="startRecordingButton" + bind:this={startRecordingButton} + > +
+ +
+
Record Test Cases
+
+
+
e.key === "Enter" && toggleTesting()} + tabindex="0" + role="button" + id="startTestingButton" + bind:this={startTestingButton} + > +
+
Replay Test Cases
+
+
+
+ + {#if showSteps} +
+ {#if isRecording} + {#each recordingSteps as step} +
{step}
+ {/each} + {:else if isTesting} + {#each replayingSteps as step} +
{step}
+ {/each} + {/if} +
+ {/if} +
+
+ - -
- - - - -
- - -
-
-
- {#if selectedIconButton === 3} -

Make changes to keploy config

- {:else if selectedIconButton === 2} -

View Previous Test Results

- {:else} -

{isRecording ? "Recording Started" : isTesting ? "Testing Started" : "Running Keploy"}

- {/if} - e.key === 'Enter' && stop()} id="stopRecordingButton" bind:this={stopRecordingButton} role="button" tabindex="0"> - - - - e.key === 'Enter' && stop()} id="stopTestingButton" bind:this={stopTestingButton} role="button" tabindex="0"> - - -
-
-

-
-

-
- - - -
-
-
- {#if selectedIconButton === 2} -
-

-
- {/if} - -
-
e.key === 'Enter' && toggleRecording()} tabindex="0" role="button" id="startRecordingButton" bind:this={startRecordingButton}> -
- -
-
Record Test Cases
-
-
-
e.key === 'Enter' && toggleTesting()} tabindex="0" role="button" id="startTestingButton" bind:this={startTestingButton}> -
-
Replay Test Cases
-
-
-
- - {#if showSteps} -
- {#if isRecording} - {#each recordingSteps as step} -
{step}
- {/each} - {:else if isTesting} - {#each replayingSteps as step} -
{step}
- {/each} - {/if} -
- {/if} -
-