Skip to content

Build: Use jquery-git in place of jquery-compat-git #1646

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

Closed
wants to merge 1 commit into from

Conversation

mgol
Copy link
Member

@mgol mgol commented Nov 12, 2015

jQuery Compat is not going to get released after all; jQuery UI should be tested
against jquery-git instead of jquery-compat-git.


Should I report a ticket about that? cc @scottgonzalez @jzaefferer

Once it's ready to get merged, please notify me so that I update the Jenkins setup to use the git version instead of compat-git.

@scottgonzalez
Copy link
Member

No need for a ticket. What are the supported browsers?

@mgol
Copy link
Member Author

mgol commented Nov 12, 2015

What are the supported browsers?

  • Desktop
    • Chrome: (Current - 1) and Current
    • Edge: Current
    • Firefox: (Current - 1) and Current
    • Internet Explorer: 9+
    • Safari: (Current - 1) and Current
    • Opera: Current
    • Yandex.Browser: Current
  • Mobile
    • Android: 4.0+ (plus limited 2.3 support)
    • iOS: 7+

@mgol
Copy link
Member Author

mgol commented Nov 12, 2015

Right, so the problem will be you're testing on IE8, it would require using a different browser set for the git part...

@mgol
Copy link
Member Author

mgol commented Nov 12, 2015

I'd go with the way jQuery TestSwarm is configured (by accepting externally passed browserSets parameter) and creating a new jquery-ui+jquery-git browser set that would be jquery-ui minus browsers not supported by jQuery Git (currently just IE 8).

Does that sound OK?

EDIT: Or maybe jquery-ui+jquery-3 instead of jquery-ui+jquery-git as this will need to be used more than just for the Git version once jQuery 3 gets released.

@scottgonzalez
Copy link
Member

Yup. And we already use configured browser sets:

browserSets: config.browserSets,

@mgol
Copy link
Member Author

mgol commented Nov 12, 2015

@scottgonzalez These are the browserSets from the JSON config on the TestSwarm server. Core uses it by default (look at the exact line I linked to) but allows to provide a browserSet name as a parameter to the testswarm Grunt task, this is required since the "UI + Core Git" job will need a different browserSet. So IMO a modification is still needed.

@mgol mgol force-pushed the jquery-compat-is-no-more branch from 70625f3 to 640b48f Compare November 13, 2015 17:45
mgol added a commit to mgol/jquery-ui that referenced this pull request Nov 13, 2015
This is needed to be able to test UI with Core Git that doesn't support IE 8.

Ref jquerygh-1646
@mgol
Copy link
Member Author

mgol commented Nov 13, 2015

@scottgonzalez I submitted PR #1648; this is a pre-requisite to make this one work. PTAL.

jQuery Compat is not going to get released after all; jQuery UI should be tested
against jquery-git instead of jquery-compat-git.
@mgol mgol force-pushed the jquery-compat-is-no-more branch from 640b48f to 7a37fae Compare November 13, 2015 19:22
@mgol
Copy link
Member Author

mgol commented Nov 13, 2015

PR updated. I modified the Jenkins jobs so that they use the git Core version so after merging this PR tests should run correctly.

@scottgonzalez
Copy link
Member

Thanks @mzgol! This looks good to me, but I'd like to have @jzaefferer chime in as well before merging.

@mgol
Copy link
Member Author

mgol commented Nov 13, 2015

I'd like to have @jzaefferer chime in as well before merging.

Should I disable the "jQuery UI - git core" Jenkins job until he approves it? It will currently fail as it now looks for the "git" key which is not present in the versions variable.

@scottgonzalez
Copy link
Member

You can, but if we end up with one or two failures in the meantime, I don't think anyone will be alarmed :-)

@mgol
Copy link
Member Author

mgol commented Nov 13, 2015

OK, fine. :) I'll wait then.

@jzaefferer
Copy link
Member

Looks good to me.

@mgol mgol deleted the jquery-compat-is-no-more branch November 14, 2015 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants