Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

how to stop script execution when rspecinclude matcher fails #779

@chandanaGollapudi

Description

@chandanaGollapudi

Hi,

Recently we have migrated from Rspec 2.X to rpsec 3.2. to verify few of checkpoints i am using rspec ' include' matches.i.e,

expect(page.getpagetitle()).to include("Customer Service Details")

I would like to break test execution when checkpoint fails. But with rspec 3.2 matches , i am not able to achieve this. I am able to do this by using Rspec 2.x by using "should" .

Could somebody help in doing this.

Thanks,
Chandana

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