You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there ... great framework, the API is the best I've seen in JS land. Just stared using it and hit an issue with error reporting, thinking I must be doing something wrong.
See like whenever something is failing a screenshot is being recorded, but the process just exits (exit code 0) and doesn't close the browser.
for example this simple flow ...
Scenario('New User Can Register', (I) => {
I.amOnPage('/');
I.see('Login');
I.click('Sign up for free');
I.fillField('name', 'Test ' + id);
I.fillField('email', 'test+' + id + '@atomic.io');
I.fillField('password', 'abcd1234');
I.click('Sign up');
I.see('Projects MONKEY');
});
One the last the last line I.see('Projects MONKEY'); the page really only says Projects
and in the output all I get is
• I am on page "/"
• I see "Login"
• I click "Sign up for free"
• I fill field "name", "Test 51133"
• I fill field "email", "test+51133@example.com"
• I fill field "password", "abcd1234"
• I click "Sign up"
• I see "Projects Monkey"
... and an extra chrome process still running ...
If I change to I.see('Projects') then I get the
• I see "Projects"
✓ OK in 6916ms
OK | 1 passed // 8s
Been doing a bit more digging (I kinda need to get past this before trying to sell it over raw WebdriverIO to the rest of my team)
Seems like it may have regressed since Version 0.2.8
With that version for the same test I get ...
• I click "Sign up"
• I see "Projects MONKEY"
✖ FAILED in 3119ms
-- FAILURES:
1) Basic Basic:
expected web page to include Projects MONKEY
+ expected - actual
-Sign up for free
-Get a 30-day free trial, no credit card required.
-Registration unsuccessful
-Name
Ok, reading other issues on this repo more thoroughly I see this is a dup of #98 and #93.
I've applied the change from PR #94 and seems to be working for me, though I think screenshots are now broken ... but they are not too important compared to this not working.
Activity
[-]Not reporting errors correctly[/-][+]Not reporting errors from I.see correctly[/+]smozely commentedon May 16, 2016
Been doing a bit more digging (I kinda need to get past this before trying to sell it over raw WebdriverIO to the rest of my team)
Seems like it may have regressed since Version 0.2.8
With that version for the same test I get ...
As expected
smozely commentedon May 18, 2016
Ok, reading other issues on this repo more thoroughly I see this is a dup of #98 and #93.
I've applied the change from PR #94 and seems to be working for me, though I think screenshots are now broken ... but they are not too important compared to this not working.