Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functional tests fail starting with a certain test #1569

Closed
magsout opened this issue May 21, 2017 · 7 comments
Closed

Functional tests fail starting with a certain test #1569

magsout opened this issue May 21, 2017 · 7 comments

Comments

@magsout
Copy link
Member

magsout commented May 21, 2017

The tests fail on all branches. It would appear that the tests fail from: Going back in history updates issue list and URL state

× firefox on any platform - Issue-list - Going back in history updates issue list and URL state

Fx ANY: [✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓×××××✓✓✓✓×××✓\ ] 65/78, 15 fail

@zoepage
Copy link
Member

zoepage commented Jun 6, 2017

@miketaylr @brizental
Would one of you be able to take a look here? Thanks!

@miketaylr
Copy link
Member

I don't think this reproduces for me. @brizental does it for you?

@karlcow karlcow changed the title Test failed Functional tests fail starting with a certain test Jun 6, 2017
@brizental
Copy link
Contributor

brizental commented Jun 14, 2017

I just changed from Ubuntu to MacOS and this has started happening to me too... I'll have a look, now that I can reproduce it.

@miketaylr
Copy link
Member

whoops, this reproduces for me now (using v54 stable):

screen shot 2017-06-15 at 4 24 59 pm

@miketaylr
Copy link
Member

@brizental
Copy link
Contributor

The problem is that the goBack() function (https://github.com/webcompat/webcompat.com/blob/master/tests/functional/issue-list-non-auth.js#L320) should return a Promise but it never returns anything.

I tried to look and see if the problem is in our code, but I didn't find anything wrong, so I think that this might be a problem in Leadfoot, it only happens for the newest Firefox versions, like 54 and forward. I also tried to mess around with Leadfoot's code, but didn't have success.

Apparently everything is working fine, the URL changes right as it should and everything, it just gets stuck in some Promise limbo and never gets to the next line (https://github.com/webcompat/webcompat.com/blob/master/tests/functional/issue-list-non-auth.js#L321). Also if you manually refresh the page when it gets stuck it gets going again.

I'll keep on investigating, but just wanted to see if anybody has any ideia of what might be happening :)

@miketaylr
Copy link
Member

so I think that this might be a problem in Leadfoot, it only happens for the newest Firefox versions, like 54 and forward.

It's also possible it's a Geckodriver bug or regression: https://github.com/mozilla/geckodriver

miketaylr pushed a commit that referenced this issue Jun 30, 2017
Fixes #1569 - Gets 'Going back in history' test to work again.
brizental added a commit to brizental/webcompat.com that referenced this issue Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants