Result printer outputs 'I can don't see [element]' when using dontSee() #3860

Open
CABellamy opened this Issue Dec 21, 2016 · 1 comment

Projects

None yet

2 participants

@CABellamy

What are you trying to achieve?

Result output looks bad when the steps that are asserting that an element is not present is displaying 'I can don't see' which makes little grammatical sense.

What do you get instead?

'I can not see' or 'I don't see'

Details

  • Codeception version: 2.2.0
  • PHP Version: 7.1
  • Operating System: OS X
  • Installation type: Composer
  • List of installed packages:
behat/gherkin                     v4.4.5     Gherkin DSL parser for PHP 5.3
codeception/base                  2.2.7      BDD-style testing framework
codeception/codeception           2.2.6      BDD-style testing framework
doctrine/instantiator             1.0.5      A small, lightweight utility t...
facebook/webdriver                1.2.0      A PHP client for WebDriver
gaming/codeception                v2.0.0     A series of common testing fun...
gaming/testrailception            dev-master Extension for TestRail Reporting
guzzlehttp/guzzle                 6.2.2      Guzzle is a PHP HTTP client li...
guzzlehttp/promises               1.3.0      Guzzle promises library
guzzlehttp/psr7                   1.3.1      PSR-7 message implementation
phpdocumentor/reflection-docblock 2.0.4
phpspec/prophecy                  v1.6.2     Highly opinionated mocking fra...
phpunit/php-code-coverage         2.2.4      Library that provides collecti...
phpunit/php-file-iterator         1.4.2      FilterIterator implementation ...
phpunit/php-text-template         1.2.1      Simple template engine.
phpunit/php-timer                 1.0.8      Utility class for timing
phpunit/php-token-stream          1.4.8      Wrapper around PHP's tokenizer...
phpunit/phpunit                   4.8.31     The PHP Unit Testing framework.
phpunit/phpunit-mock-objects      2.3.8      Mock Object library for PHPUnit
psr/http-message                  1.0.1      Common interface for HTTP mess...
psr/log                           1.0.0      Common interface for logging l...
sebastian/comparator              1.2.2      Provides the functionality to ...
sebastian/diff                    1.4.1      Diff implementation
sebastian/environment             1.3.8      Provides functionality to hand...
sebastian/exporter                1.2.2      Provides the functionality to ...
sebastian/global-state            1.1.1      Snapshotting of global state
sebastian/recursion-context       1.0.2      Provides functionality to recu...
sebastian/version                 1.0.6      Library that helps with managi...
sky/aapi                          1.0.6      Sky Betting & Gaming Automatio...
sky/util                          1.0.11     Sky Betting & Gaming Automatio...
symfony/browser-kit               v3.2.1     Symfony BrowserKit Component
symfony/console                   v3.2.1     Symfony Console Component
symfony/css-selector              v3.2.1     Symfony CssSelector Component
symfony/debug                     v3.2.1     Symfony Debug Component
symfony/dom-crawler               v3.2.1     Symfony DomCrawler Component
symfony/event-dispatcher          v3.2.1     Symfony EventDispatcher Component
symfony/finder                    v3.2.1     Symfony Finder Component
symfony/polyfill-mbstring         v1.3.0     Symfony polyfill for the Mbstr...
symfony/yaml                      v2.8.15    Symfony Yaml Component
@Naktibalda
Contributor

@CABellamy I can't reproduce your issue, please provide an example of test code and exact output produced by Codeception.

What module are you using? (PhpBrowser, WebDriver or framework module)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment