From e4b357721f33e2059493b3cbca316467ac3b70ef Mon Sep 17 00:00:00 2001 From: Himani Pathak Date: Fri, 23 Aug 2024 00:56:58 +0530 Subject: [PATCH] minor change Signed-off-by: Himani Pathak --- playwright_test/Tests/Stcs.spec.ts | 3 --- playwright_test/Tests/Vsam.spec.ts | 5 ----- 2 files changed, 8 deletions(-) diff --git a/playwright_test/Tests/Stcs.spec.ts b/playwright_test/Tests/Stcs.spec.ts index 98642ae..b150003 100644 --- a/playwright_test/Tests/Stcs.spec.ts +++ b/playwright_test/Tests/Stcs.spec.ts @@ -114,8 +114,6 @@ test.describe('StcsTab', () => { try { const yaml = await runSSHCommand(command); - console.log('Command Output:', yaml); - console.log('Command Output:', yaml); expect(yaml).toContain(SECURITY_AUX); expect(yaml).toContain(SECURITY_STC_ZOWE); expect(yaml).toContain(SECURITY_STC_ZIS); @@ -193,7 +191,6 @@ test.describe('StcsTab', () => { try { const yaml = await runSSHCommand(command); - console.log('Command Output:', yaml); expect(yaml).toContain(SECURITY_AUX); expect(yaml).toContain(SECURITY_STC_ZOWE); expect(yaml).toContain(SECURITY_STC_ZIS); diff --git a/playwright_test/Tests/Vsam.spec.ts b/playwright_test/Tests/Vsam.spec.ts index 8845881..95cedc2 100644 --- a/playwright_test/Tests/Vsam.spec.ts +++ b/playwright_test/Tests/Vsam.spec.ts @@ -86,7 +86,6 @@ test.describe('VsamPage', () => { test('test title of page', async ({ page }) => { - await page.waitForTimeout(5000); const title = await vsamPage.returnTitleOfVsamPage(); expect(title).toBe(VSAM_TITLE); }) @@ -126,7 +125,6 @@ test.describe('VsamPage', () => { test('Test previous button is enabled', async ({ page }) => { const is_prevButtonEnable = await vsamPage.isPreviousButtonEnable(); expect(is_prevButtonEnable).toBe(true); - await page.waitForTimeout(2000); }) test('Test Skip Vsam button is enable', async ({ page }) => { @@ -142,7 +140,6 @@ test.describe('VsamPage', () => { test('Test continue to lauch button is disable', async ({ page }) => { const is_ContinueButtonDisable = await vsamPage.isContinueButtonDisable(); expect(is_ContinueButtonDisable).toBe(true); - await page.waitForTimeout(2000); }) test('Test fill vsam details NONRLS mode', async ({ page }) => { @@ -177,7 +174,6 @@ test.describe('VsamPage', () => { const command = `cat ${process.env.ZOWE_ROOT_DIR}/zowe.yaml`; try { const yaml = await runSSHCommand(command); - console.log('Command Output:', yaml); expect(yaml).toContain(config.mode); expect(yaml).toContain(config.volume); expect(yaml).toContain(config.vsamDatasetName); @@ -193,7 +189,6 @@ test.describe('VsamPage', () => { try { const yaml = await runSSHCommand(command); - console.log('Command Output:', yaml); expect(yaml).toContain(config.vsamDatasetName); } catch (error) { console.error('Error executing command:', error.message);