Skip to content

Failed require statement #1

@brodkin

Description

@brodkin

Line 4 of SaucelabsMetadata.php references the Composer autoloader, but no such reference should be present or else the code will fail once deployed, generating an error similar to this:
`Warning: require_once(/Volumes/Development/PHP/bca-website/vendor/neam/codeception-saucelabs-metadata/src/Codeception/Extension/../../../vendor/autoload.php): failed to open stream: No such file or directory in /Volumes/Development/PHP/bca-website/vendor/neam/codeception-saucelabs-metadata/src/Codeception/Extension/SaucelabsMetadata.php on line 4``

The Composer autoloader should be referenced from the parent project or test bootstrap only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions