Skip to content

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

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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