Page MenuHomePhabricator

[SPIKE] Browser support for Wikipedia Preview
Closed, ResolvedPublic

Description

Goal

Define and document which browsers (mobile and desktop) we want Wikipedia Preview to be compatible with. This will development and testing.

Event Timeline

AMuigai renamed this task from [SPIKE] Browser support for Wikipedia Preview to [SPIKE] Mobile browser support for Wikipedia Preview.Apr 28 2020, 1:14 PM

There isn't any scope for this spike, based on the current ticket we have, the spike items can be

  1. Swipe up functionality - hopefully CSS3 can support all the animation
  2. Gallery view functionality
  3. API called - shouldn't be any problem with the api calling if we finish this PR to replace fetch with XMLHttpRequest
  4. Decide how we differentiate desktop and mobile browser - either a library or simply check the UA (but things sometimes not that easy as we think)
  5. Think of setup where the instrumentation / errorLogging code
  6. More ...

If we (engineer) find anything impossible feature before coding the project, this is the right place we raise the issue to the team.

I don't think this task is actionable. Browser support is to be considered for almost every CSS property or JavaScript API that are going to be used and we don't know what they all are up front.

I think a better approach is to define our target browsers and take that into account in our development and testing practices.

My vote would be to do something similar to MediaWiki: optimal experience for recent browsers[1] and degraded but still very much usable experience for everybody else[2], with the exception that browsers without JavaScript would not be supported at all since this feature is fundamentally driven by JavaScript.

[1] [2] Browser lists would have to be defined somehow so we can test.

@Jpita could you find out which tool(s) we have to test the Wikipedia-Previews component on a wide variety of browsers?

Also, it would be useful to know if any of your fellow QAs are testing MediaWiki's compatibility with older browsers.

@Jpita could you find out which tool(s) we have to test the Wikipedia-Previews component on a wide variety of browsers?

We have an account on crossbrowsertesting.com

image.png (600×2 px, 110 KB)

Also, it would be useful to know if any of your fellow QAs are testing MediaWiki's compatibility with older browsers.

@Jrbranaa should we discuss this on a meeting or should I ask on the mailing list?

@Jpita could you find out which tool(s) we have to test the Wikipedia-Previews component on a wide variety of browsers?

We have an account on crossbrowsertesting.com

image.png (600×2 px, 110 KB)

Do you have an account? We will need accounts for engineers (3). Is it possible?

@Jpita could you find out which tool(s) we have to test the Wikipedia-Previews component on a wide variety of browsers?

We have an account on crossbrowsertesting.com

image.png (600×2 px, 110 KB)

Do you have an account? We will need accounts for engineers (3). Is it possible?

I already have an account.
Mine was provided by @JLaytonWMF , I guess she can help us get more accounts?

image.png (422×1 px, 64 KB)

should we discuss this on a meeting or should I ask on the mailing list?

@Jpita, looks like you've already got an ask out to the team. If we don't see any movement on this over the next day or so, we'll surface it during our next meeting or perhaps at this week's QTE Office Hours.

Hi there,

For CrossBrowserTesting, we have an old free account with 10 seats that got grandfathered in. Currently, we have 1 seat available. For more seats, we would need to pay (and get this approved).

Hi there,

For CrossBrowserTesting, we have an old free account with 10 seats that got grandfathered in. Currently, we have 1 seat available. For more seats, we would need to pay (and get this approved).

I have accounts on crossbrowsertesting.com and saucelabs.com. The latter I use quite regularly. The only drawback of our current account on saucelabs.com is that live mobile devices are not available (it requires an account upgrade).
I used crossbrowsertesting.com only few times; should look into it again to see what features are available there.
And, yes, it'd be interesting to talk about browser compatibility testing during QTE Office Hours.

@Etonkovidova, we've (Performance team) started using Kobiton for native mobile testing, there's an overview on their experience next week during the EngProd summit. In addition, I talked to @zeljkofilipin and @ABorbaWMF about taking a peek at Kobiton, but I don't think it's bubbled to the top of the list yet :-) Both of these topics are probably good sub-topics to the broader compatibility testing task force we're looking to spin up.

SBisson renamed this task from [SPIKE] Mobile browser support for Wikipedia Preview to [SPIKE] Browser support for Wikipedia Preview.Jun 30 2020, 8:56 PM
SBisson updated the task description. (Show Details)

I've updated the README with the supported browsers copied form MediaWiki.

Let's use that as a starting point for testing from now on and adjust as needed.