Skip to content

Conversation

@alvitazwar
Copy link

  • Added Assertions
  • Implemented POM structure
  • Enhanced Test execution time
  • Reduce Test Flakiness

@github-actions
Copy link

expect(this.page.locator(selectors.validateOption)).not.toBe(null);
}
// this function is used to add Login with google block after validate Block
async addLoginGoogleBlock(){
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 the assertions for this function. Validate whether the block is added successfully.

buttonSaveSetting: "role=button[name='Save Changes'i]",
messageSaveSetting: "#setting-error-settings_updated",
clientIdInput: '#client-id',
clientIdValue: '278082871881-qp9srgor0iqvl1aq200ctf1sdb49bli1.apps.googleusercontent.com',
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 this client ID and secret in .env or repo secret. This should not be publicly visible.

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 In specs/09_logout-login-button.js - Why this test case has been removed? This test should be present in order to validate login functionality.

Along with POM implementation, need to update the playwright package 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants