sillsdev / sillsdev/languageforge-lexbox

Playwright tests don't cover PasswordStrengthMeter component

Open
#1,646 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📦 Lexbox Svelte testing
Dominant language
C#
Stars
9
Forks
8
Avg merge
2d 13h
Merged PRs (30d)
49

Description

Describe the bug
While working on #1634, I ended up breaking the PasswordStrengthMeter component as part of my attempt to fix an infinite $effect loop. This caused all the Playwright tests to go green, because we don't have any tests verifying that the PasswordStrengthMeter component is actually in working condition.

To Reproduce
Steps to reproduce the behavior:

  1. Go to PR #1634
  2. See that the PR status is green, all tests passing
  3. Check out the #1634 branch and load http://localhost/register
  4. Type random letters into the password field and notice that it's not updating

Expected behavior
At least one Playwright test should be failing because I broke the PasswordStrengthMeter component.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the existing Playwright tests and loading the /register entry point described in the issue. Locate the PasswordStrengthMeter component and the registration test coverage, then add a test that exercises password input and verifies the meter updates. Done means the test detects the broken behavior described in PR #1634.

Written by the indexing model from the issue text.

Assessment

Tech stack
playwright
Domain
frontend, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.