-
-
Notifications
You must be signed in to change notification settings - Fork 752
Closed
Labels
Description
What are you trying to achieve?
I'm trying to do an assertion in a test Scenario with 2 values taken from two different pages on a website
What do you get instead?
Even forcing the assertion to fail, test keeps outputting that it PASSED.
A snippet of the assertion part:
let assert = require('assert');
I.say('Assertion...');
assert.true(value1 == (value2 + value3));I need like a I.assertThat(expression) in order for the test to fail when values don't match.
Right now I'm researching about assertions on codecept and trying to figure out a solution for that.
Details
- CodeceptJS version: 1.1.1
- NodeJS Version: 9.4.0
- Operating System: Linux Mint
- WebDriverIO