Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

Test doesn't fail if looking for invalid css , if the previous test in scenario passed #280

@pranavparikh

Description

@pranavparikh

If a test executes before a locator controller, even if we have an invalid locator, the test passes if the previous test passed

[
{
"settings": [ "master" ],

    "name": "controllers",

    "config": {
        "baseUrl": "http://finance.yahoo.com"
    },
    "comment":"Tests for finance",
    "dataprovider" : {

        "Test YHOO Ticker" : {
            "group" : "func",
            "comment":"Ticker test",
            "params" :{

                "scenario": [
                    {
                        "comment":"Load finance page",
                        "page": "$$config.baseUrl$$",
                        "test":"test-dummy.js"
                    },
                    {
                        "comment":"Type yhoo in #txtquotes",
                        "controller": "locator",
                        "params": {
                            "value": "#invalid",
                            "text": "yhoo\n"
                        }
                    },
                    {
                        "comment":"Verify if the quote symbol matches",
                        "test": "test-quote.js",
                        "quote": "Yahoo! Inc. (YHOO)"
                    }
                ]
            }

        }
    }
},
{
    "settings": [ "environment:development" ]
}

]

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