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

Fixes #1986 - Start migration to Intern 4 #1987

Merged
merged 4 commits into from
Jan 16, 2018

Conversation

brizental
Copy link
Contributor

Just a test so you guys can see how everything will look like. I will continue the migration from this branch.

@zoepage
Copy link
Member

zoepage commented Dec 18, 2017

Great work Bea! :)

s/guys/folks

@miketaylr
Copy link
Member

We can add Chrome back as a default once this lands, since it will put us on a modern digdug that supports pointing to the latest Chromedriver (the 2nd part of the issue that broke tests (the first being the travis trusty image update)).

@brizental
Copy link
Contributor Author

@miketaylr Yes, I think so. From the tests that I have already migrated, none of them have had any issues with Chorme, and surprise surprise, they don't even have many issues with Safari, we might be able to add both browsers by default, maybe.

@brizental
Copy link
Contributor Author

one happy sight.
screen shot 2018-01-12 at 00 00 05

What still needs to be done:

  • Merge in the latest changes to the tests.
  • Try to sort out one last bug in Safari (yeah, only one bug).

@miketaylr
Copy link
Member

one happy sight.

aww wyeah. :)

tests/intern.js Outdated
});

intern.run();

This comment was marked as abuse.

This comment was marked as abuse.

- Adds 'browsers' optional argument when running tests
- Changes folder structure separating functional and unit tests completely
- Also fixes webcompat#1977 and webcompat#1981.
@brizental
Copy link
Contributor Author

brizental commented Jan 13, 2018

TOTAL: tested 2 platforms, 166 passed, 0 failed

Oh yeah!

r? @miketaylr @vladikoff

@brizental
Copy link
Contributor Author

Forgot to mention: I will look at Safari issues after this is done. Even though we have much less errors, we are still getting a bunch of intermittents. Thought it would be best to send this in and finish this PR with Chrome and Firefox only for now :)

@brizental brizental changed the title [WIP] Fixes #1986 - Start migration to Intern 4 Fixes #1986 - Start migration to Intern 4 Jan 13, 2018
@miketaylr
Copy link
Member

Forgot to mention: I will look at Safari issues after this is done. Even though we have much less errors, we are still getting a bunch of intermittents. Thought it would be best to send this in and finish this PR with Chrome and Firefox only for now :)

Awesome agreed. Let me file an issue so we have a paper trail.

@miketaylr
Copy link
Member

Awesome agreed. Let me file an issue so we have a paper trail.

(bea pointed out that an issue already exists: #1704)

@@ -0,0 +1,68 @@
/* This Source Code Form is subject to the terms of the Mozilla Public

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

Copy link
Member

@miketaylr miketaylr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, i see you addressed @vladikoff's feedback.

thanks a lot @brizental. 💯 🍰

@miketaylr miketaylr merged commit 654db01 into webcompat:master Jan 16, 2018
@miketaylr
Copy link
Member

Now I guess I should read the Intern 4 changelog to see what cool new stuff we can do. :)

@karlcow
Copy link
Member

karlcow commented Jan 18, 2018

@brizental was there a reason to change the folder structure for unit tests?

@brizental
Copy link
Contributor Author

brizental commented Jan 18, 2018

@karlcow I thought that, since I was putting everything about the functional tests inside a functional folder, it would be nice to put everything about the unit tests inside a unitfolder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants