Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
1.4k views
by

I am new to Codeception. I am getting below error while running my code.

 

 
  [Codeception\Exception\ConfigurationException]
  Module WebHelper could not be found and loaded
 
by The go-to Tester (181 points)
can you paste your acceptance.suite.yml content?
by
# Codeception Test Suite Configuration
#
# Suite for acceptance tests.
# Perform tests in browser using the WebDriver or PhpBrowser.
# If you need both WebDriver and PHPBrowser tests - create a separate suite.

class_name: AcceptanceTester
modules:
    enabled:
        - WebDriver
        - WebHelper
        
    config:
        WebDriver:
            url: 'http://github.com'
            browser: 'firefox'

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)

Replace WebHelper with \Helper\Acceptance 

 

class_name: AcceptanceTester
modules:
    enabled:
        - WebDriver
        - \Helper\Acceptance 
    config:
        WebDriver:
            url: 'http://github.com'
            browser: 'firefox'
 
Hope that helps.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...