Support for alert(), confirm() and prompt() boxes?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.6k
- Forks
- 286
- PR merge metrics
- No merged PRs in 30d
Description
Is there any way using the Mink API to, for example, click on the OK or Cancel buttons on a Javascript-generated confirm dialog box or fill in text in a dialog generated from prompt()? We're having trouble testing steps that require the user to confirm certain actions such as deleting objects, since the confirmation doesn't seem to succeed. FWIW we're using Mink 1.3.2 with the ZombieDriver.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Mink API and the ZombieDriver integration mentioned in the issue to see how JavaScript dialogs are currently handled. Done should provide a defined way to accept or dismiss alert and confirm dialogs and supply prompt text, with tests covering those interactions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100