Page MenuHomePhabricator

Write tests to protect app based API queries based on assumptions made on content.
Closed, InvalidPublic

Description

The apps currently make certain assumptions about the contents of the mobile view response - for example the existence of srcsets. On completion of an audit (see sub tasks) we should write tests to assert that the mobileview API responds with the expected content.

These tests should be run on a per commit basis.

Event Timeline

We need the list of assumptions.

Edit: nm, I see the subtask

Jdlrobson changed the task status from Open to Stalled.Jun 30 2016, 5:43 PM
phuedx renamed this task from Write browser tests to protect app based API queries based on assumptions made on content. to Write tests to protect app based API queries based on assumptions made on content..Sep 9 2016, 8:44 PM

These tests should be run on a per commit basis.

Why not start with nightly? I don't remember discussing this so it'd be handy to have the rationale in the task.

ovasileva lowered the priority of this task from High to Medium.Mar 6 2017, 7:43 PM
Jdlrobson lowered the priority of this task from Medium to Low.May 17 2017, 9:21 AM
Jdlrobson added a subscriber: Niedzielski.

@Niedzielski i suggest you open a task when this is needed. Don't see much point in keeping this task open until that happens.