Skip to content

wdcss-assert | Assertion always passing in webdriverIO v4+ #1

@SimitTomar

Description

@SimitTomar

I am using V4.0.7 of webdriverIO along with version 2.0.0-beta-rc1 and my assertShots function is always passing even if the Actual Screenshot is different then the Expected Screenshot.

Here is my code:

var webdrivercss = require("webdrivercss");
var assertShots = require("wdcss-assert");

webdrivercss.init(this.client);

    var browsername = 'firefox';
    var pageIdentifier = PageName;

    return this.client
        .pause(10000)
        .webdrivercss(browsername,{
            name: 'UnderstandYourNeeds_Page'
        }, assertShots);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions