Skip to content

Commit

Permalink
Update Coding Standard
Browse files Browse the repository at this point in the history
  • Loading branch information
NarendraCodeHub committed Jan 14, 2025
1 parent 66980ee commit 93e2ff9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Forms/RecoverPassword.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ test.describe('Recover Password with user data', () => {
await recoverPassword.navigate();
});

test('should require mandatory fields (empty form)', async () => {
test('should require mandatory fields (empty form)', async ({ page }) => {
// Submit the form without filling any fields
await recoverPassword.submitdata();

// Validate error message for empty fields
const validationMessage = await recoverPassword.emailInput.evaluate(input => input.validationMessage);
const browserName = test.info().project.name;
const browserName = page.context().browser().browserType().name();

// Browser-specific validation message check
if (browserName === 'chromium' || browserName === 'firefox') {
Expand All @@ -29,7 +29,7 @@ test.describe('Recover Password with user data', () => {
});

test('should successfully recover password with entered data', async () => {
//user to enter email
// User to enter email
const email = '[email protected]';

// Fill the email field with the entered data
Expand Down

0 comments on commit 93e2ff9

Please sign in to comment.