Closed aabdullin closed 4 years ago
@aabdullin
First of all you don't need to write your tests like this
it('Navigate to create new environment', () => {
leftMenuPageComp.dblClick_mnuEnvs();
browser.saveFullPageScreen('_EnvScreen', { });
expect(browser.checkFullPageScreen('_EnvScreen', { })).toEqual(0);
leftSnackMenuPageComp.click_mnuCreateEnv();
The browser.saveFullPageScreen('_EnvScreen', { });
is not needed if you use the browser.checkFullPageScreen('_EnvScreen', { })
, check also the docs about that
Last but not least, the chai error is not related to this module, it depends on the testrunner you use. Please check the docs of your testrunner for the appropriate syntax for the expect library
Environment (please complete the following information):
Config of the automation framework + plugin WDIO, Docker, WDIO Image comparison
Describe the bug The baseline is created. While running test
To Reproduce
[Include code or an example repository that can easily be set up]
Expected behavior Test suppose to pass or show the difference
Log
Additional context