minkphp / minkphp/Mink

problem with input type url?

Open
#299 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.6k
Forks
286
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have a test in my scenario like this:

Then the "Website:" field should contain "http://www.wenigersh.com"

when I run the test I get an error:

  1. The field "Website:" value is "http://www.wenigersh.com", but "http://www.wenigersh.com" expected.

and html in object is:

<input type="url" id="weniger_gms_model_profile_website" name="weniger_gms_model_profile[website]" class=" not-removable" value="http://www.wenigersh.com">

so the value is exacly as expected but behat returns an error there.
Im using provided mink context class.

Contributor guide

Open the contributing guide

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 with the provided Mink context and the field-value assertion for the input type="url" shown in the issue. Reproduce the scenario using the supplied HTML and compare the value-handling path; done means the exact matching URL passes without an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, php
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.