unexpected alert open in chrome

Open
#47 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
testing

Research direction

Start with the provided PHP SeleniumTester scenario and the WebDriver YAML configuration, then reproduce the alert using the listed Codeception, Chrome, ChromeDriver, and Ubuntu versions. Done means the cause of the unexpected alert is identified and the expected behavior of seeInPopup is documented or covered by a regression test.

Written by the indexing model from the issue text.

Description

  unexpected alert open: {Alert text : Vyplňte pole Heslo}                                                                      
    (Session info: chrome=64.0.3282.186)                                                                                        
    (Driver info: chromedriver=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 4.13.0-36-generic x86_64```
> Provide test source code if related

```php
<?php
$I = new SeleniumTester($scenario);
$I->wantTo('Nezadat heslo');
$I->amOnPage('/prihlaseni/');
$I->fillField('login', 'webmaster');
$I->click('_submit');
$I->wait(4);
$I->seeInPopup('Vyplňte pole Heslo');```
### Details

* Codeception version: 2.4.0
* PHP Version: 7.2
* Operating System: VirtualBox Ubuntu
* Installation type: Composer


```yml
actor: SeleniumTester
modules:
    enabled:
      - WebDriver:
          url: http://webserver
          browser: chrome
          host: zalenium
          port: 4444
      - \Helper\Selenium

Some tips?

Dominant language
PHP
Stars
39
Forks
23
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from Codeception/module-webdriver

All issues in Codeception/module-webdriver

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.