Skip to content
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

Add POM and Update Tests Name #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add POM and Update Tests Name #27

wants to merge 1 commit into from

Conversation

alvitazwar
Copy link
Contributor

@alvitazwar alvitazwar commented Aug 10, 2023

  • Added Proper POM
  • Refactor All the test cases
  • Reduce the Time of Code Execution
  • Enhanced Scenarios with assertions.
  • Update the Tests name on the yml File (We can close this PR in this case)

expect(await this.page.locator(selectors.pageCheckbox).isChecked()).toBeTruthy();
}
// this function is used to Save settings and verify
async saveSettings(){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alvitazwar Add assertion here and validate whether the settings are saved.

await this.page.locator(selectors.backendPopover).click();
}
// this fucntion is used to Publish and verify page/post
async publishPagePost(){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add assertion here as well to validate if the page is published.

Copy link
Contributor

@pooja-muchandikar pooja-muchandikar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alvitazwar Along with POM implementation, need to update the playwright version as well. Do update the playwright version in package.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants