-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test vsam stcs tabs #247
Test vsam stcs tabs #247
Conversation
Signed-off-by: Himani Pathak <[email protected]>
Signed-off-by: Himani Pathak <[email protected]>
playwright_test/Tests/Stcs.spec.ts
Outdated
await electronApp.close() | ||
}) | ||
|
||
test('test title of page', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this test and "test all required fields' Should be one test. Not necessary to constantly run this every time.
playwright_test/Tests/Stcs.spec.ts
Outdated
await expect(stcsPage.dataset_proclib).toBeTruthy() | ||
}) | ||
|
||
test('verify yaml on zos', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the purpose of this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It checks whether yaml also updated on zos or not
playwright_test/Tests/Stcs.spec.ts
Outdated
}) | ||
|
||
test('test all required fields', async ({ page }) => { | ||
await expect(stcsPage.zis).toBeTruthy() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should also check if the value match what we have passed from previous steps....
playwright_test/Tests/Stcs.spec.ts
Outdated
await stcsPage.closeButton() | ||
}) | ||
|
||
test('click Previous step button', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this test and 'Test previous button is enabled' should be one test
expect(is_prevButtonEnable).toBe(true); | ||
}) | ||
|
||
test('Test Skip Stcs button is enable', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this test and 'test click skip STCS button' should be one test
playwright_test/Tests/Stcs.spec.ts
Outdated
|
||
test('verify stcs applied successfully on zos', async ({ page }) => { | ||
await stcsPage.initializeSTC() | ||
const command = `tsocmd "LISTDS '${config.PROC_LIB}' MEMBERS"`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well this test might pass for now, but you might need to delete them first then do this to actually ensure it worked..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, for that I will create a separate ticket for cleanup code.
playwright_test/Tests/Stcs.spec.ts
Outdated
} | ||
}); | ||
|
||
test('Test initialize stcs', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the previous test does all of this....
playwright_test/Tests/Stcs.spec.ts
Outdated
expect(is_GreenCheck_Visible).toBe(false); | ||
}) | ||
|
||
test('Test continue Button enabled after init stcs', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be tested with the top two test...
Signed-off-by: Himani Pathak <[email protected]>
Signed-off-by: Himani1519 <[email protected]>
Signed-off-by: Himani1519 <[email protected]>
Signed-off-by: hpathak <[email protected]>
Signed-off-by: hpathak <[email protected]>
…vsam-stcs-tabs Merge latest changes of v2.x/staging
The new code changes pushed in this PR break existing test, this PR is not ready for merge and needs to be fixed.
|
Signed-off-by: hpathak <[email protected]>
…o test-vsam-stcs-tabs pull the changes
Signed-off-by: hpathak <[email protected]>
Signed-off-by: hpathak <[email protected]>
Signed-off-by: hpathak <[email protected]>
Signed-off-by: hpathak <[email protected]>
Signed-off-by: hpathak <[email protected]>
Signed-off-by: hpathak <[email protected]>
Proposed changes
This PR addresses Issue: [Link to Github issue within https://github.com/zowe/zen/issues if any]
This PR depends upon the following PRs:
Type of change
Please delete options that are not relevant.
PR Checklist
Please delete options that are not relevant.
Testing
Further comments