Addons-frontend: All the integration tests run on Circle CI are broken

Created on 18 Sep 2019  路  12Comments  路  Source: mozilla/addons-frontend

All the integration tests run on Circle CI are broken after https://github.com/mozilla/addons-frontend/pull/8569.

It could be because there is no data for the hero shelves in the addons-server docker env, but I am not sure.

uitests p3

All 12 comments

cc @jrbenny35

I'll take a look. Seems the small test suite we have on deploy jobs is also failing with some kinda 500 error.

@willdurand @kumar303 what data is needed from server side for the new shelf?

@willdurand @kumar303 what data is needed from server side for the new shelf?

@bobsilverberg ^

@willdurand @kumar303 what data is needed from server side for the new shelf?

The results of calling the /hero/ endpoint: https://addons-server.readthedocs.io/en/latest/topics/api/hero.html#get--api-v4-hero-

@bobsilverberg what would be a good headline? Showing 500 page for error: Invariant Violation: The headline property is required

@bobsilverberg what would be a good headline? Showing 500 page for error: Invariant Violation: The headline property is required

As per https://addons-server.readthedocs.io/en/latest/topics/api/hero.html#secondary-hero-shelf, it can be any string. Realistically I'd make it a few words.

Updated the tests config but now running into an issue with pytest-xdist: https://github.com/mozilla/addons-server/pull/12502

How does a pytest plugin for addons-server tests affect ui tests for addons-frontend? Or is the issue not related this repo?

The tests on frontend pull from this repo, so I have to update things here until they get moved.

Looks like I had my github tabs mixed up. The frontend tests pull from server as that is where all the tests currently live.

Looks like these are passing now. Please re-open if that changes.

Was this page helpful?
0 / 5 - 0 ratings