-
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
Added tests for the Review page #156
Conversation
Signed-off-by: sagar-1310 <[email protected]>
Signed-off-by: sagar-1310 <[email protected]>
playwright_test/Tests/Review.spec.ts
Outdated
expect(is_Finish_Button_disable).toBe(true); | ||
}) | ||
|
||
test('Test Navigation to all pages', 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.
Instead doing Navigation test in one test function, keep them in separate function
playwright_test/Tests/Review.spec.ts
Outdated
await page.waitForTimeout(20000); | ||
planningPage.fillPlanningPageWithRequiredFields(RUNTIME_DIR, ZOWE_WORKSPACE_DIR,ZOWE_EXTENSION_DIR,ZOWE_LOG_DIR,'1',JOB_NAME,JOB_PREFIX,JAVA_HOME,NODE_HOME,ZOSMF_HOST,ZOSMF_PORT,ZOSMF_APP_ID) | ||
await page.waitForTimeout(20000); | ||
planningPage.clickValidateLocations() |
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 can also directly move to Review tab, instead going through skip button.
@@ -0,0 +1,254 @@ | |||
import { test, ElectronApplication, expect, _electron as electron } from '@playwright/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.
Also You need to add a test case where state of each page should be match with the state of Review page.
Signed-off-by: sagar-1310 <[email protected]>
Signed-off-by: sagar-1310 <[email protected]>
Signed-off-by: sagar-1310 <[email protected]>
New PR: #264 |
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