Skip to content

#89 is not fixed #93

@fabioel

Description

@fabioel

Hi @DavertMik!

The issue #89 is still not fixed. I tried it once again. I am currently using version 0.3.3 and the tests are not failing when they should!

I have a very simple test once again:

'use strict';
const config = require('../../config.js');
const expect = require('chai').expect;

Feature('Navigation');

Before((I) => {
  I.amOnPage(config.baseUrl);
});
Scenario.only( 'Test', (I) => {
    expect(true).to.be.eql(false);
});

Here is my terminal output:

fabio@fabio-XPS-15-9530:~/Documents/Project/git/core-feature-tests$ node ./node_modules/.bin/codeceptjs run --steps
CodeceptJS v0.3.3
Test root is assumed to be /home/fabio/Documents/Project/git/core-feature-tests

Navigation --
Test
 • I am on page "https://www.test.com"
fabio@fabio-XPS-15-9530:~/Documents/Shore/git/core-feature-tests$ 

as you can see the tests don't fail they just finish

Here is the output if I change the assertion (expect(true).to.be.eql(true)):

Navigation --
Test
• I am on page "https://www.test.com"
 ✓ OK in 1ms

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