Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

How protractor can detect javascript errors ? #749

Closed
@iwoogy

Description

Hello,

I start doing my first tests and I was wondering how protractor can make the test failed if an error is raised in the javascript console.

I start my tests by just loading the page, and tests results where successfull.
image

But when I'm loading the page manually and check the console, I got those errors :
image

Can anyone help me to understand how to make the test fail in this case ?

Thanks

Bobby

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