Skip to content

feat(thumbnails): add cover image support with rero-invenio-thumbnails #12616

feat(thumbnails): add cover image support with rero-invenio-thumbnails

feat(thumbnails): add cover image support with rero-invenio-thumbnails #12616

Triggered via pull request February 10, 2026 07:57
Status Failure
Total duration 1h 13m 45s
Artifacts
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors
test (dev)
Process completed with exit code 1.
test (dev): tests/ui/documents/test_documents_api.py#L181
test_document_add_cover_url AssertionError: assert [{'content': ...ouverture=1'}] == [{'content': ...h/cover.png'}] At index 0 diff: {'type': 'relatedResource', 'content': 'coverImage', 'url': 'http://catalogue.bnf.fr/couverture?appName=NE&idArk=ark:/12148/cb45295904f&couverture=1', 'note': 'bnf'} != {'content': 'coverImage', 'type': 'relatedResource', 'url': 'http://images.rero.ch/cover.png'} Full diff: [ { 'content': 'coverImage', + 'note': 'bnf', 'type': 'relatedResource', - 'url': 'http://images.rero.ch/cover.png', + 'url': 'http://catalogue.bnf.fr/couverture?appName=NE&idArk=ark:/12148/cb45295904f&couverture=1', }, ]
test (dev): tests/ui/documents/test_documents_api.py#L48
test_document_create AssertionError: assert {'$schema': '...ote': 'bnf'}]} == {'$schema': '...© 1971'], ...} Omitting 20 identical items, use -vv to show Left contains 1 more item: {'electronicLocator': [{'content': 'coverImage', 'note': 'bnf', 'type': 'relatedResource', 'url': 'http://catalogue.bnf.fr/couverture?appName=NE&idArk=ark:/12148/cb45295904f&couverture=1'}]} Full diff: { '$schema': 'https://bib.rero.ch/schemas/documents/document-v0.0.1.json', 'adminMetadata': { 'encodingLevel': 'Minimal level', }, 'contribution': [ { 'entity': { 'authorized_access_point': 'Nebehay, Christian Michael', 'identifiedBy': { 'type': 'RERO', 'value': 'A003633163', }, 'type': 'bf:Person', }, 'role': [ 'aut', ], }, ], 'copyrightDate': [ '© 1971', ], 'dimensions': [ '18 cm', ], 'editionStatement': [ { 'editionDesignation': [ { 'value': 'Di 3 ban', }, { 'language': 'chi-hani', 'value': '第3版', }, ], 'responsibility': [ { 'value': 'Zeng Lingliang zhu bian', }, { 'language': 'chi-hani', 'value': '曾令良主编', }, ], }, { 'editionDesignation': [ { 'value': '
test (deploy)
The strategy configuration was canceled because "test.dev" failed
test (deploy)
The operation was canceled.
test (deploy): tests/ui/documents/test_documents_api.py#L181
test_document_add_cover_url AssertionError: assert [{'content': ...ouverture=1'}] == [{'content': ...h/cover.png'}] At index 0 diff: {'type': 'relatedResource', 'content': 'coverImage', 'url': 'http://catalogue.bnf.fr/couverture?appName=NE&idArk=ark:/12148/cb45295904f&couverture=1', 'note': 'bnf'} != {'content': 'coverImage', 'type': 'relatedResource', 'url': 'http://images.rero.ch/cover.png'} Full diff: [ { 'content': 'coverImage', + 'note': 'bnf', 'type': 'relatedResource', - 'url': 'http://images.rero.ch/cover.png', + 'url': 'http://catalogue.bnf.fr/couverture?appName=NE&idArk=ark:/12148/cb45295904f&couverture=1', }, ]
test (deploy): tests/ui/documents/test_documents_api.py#L48
test_document_create AssertionError: assert {'$schema': '...ote': 'bnf'}]} == {'$schema': '...© 1971'], ...} Omitting 20 identical items, use -vv to show Left contains 1 more item: {'electronicLocator': [{'content': 'coverImage', 'note': 'bnf', 'type': 'relatedResource', 'url': 'http://catalogue.bnf.fr/couverture?appName=NE&idArk=ark:/12148/cb45295904f&couverture=1'}]} Full diff: { '$schema': 'https://bib.rero.ch/schemas/documents/document-v0.0.1.json', 'adminMetadata': { 'encodingLevel': 'Minimal level', }, 'contribution': [ { 'entity': { 'authorized_access_point': 'Nebehay, Christian Michael', 'identifiedBy': { 'type': 'RERO', 'value': 'A003633163', }, 'type': 'bf:Person', }, 'role': [ 'aut', ], }, ], 'copyrightDate': [ '© 1971', ], 'dimensions': [ '18 cm', ], 'editionStatement': [ { 'editionDesignation': [ { 'value': 'Di 3 ban', }, { 'language': 'chi-hani', 'value': '第3版', }, ], 'responsibility': [ { 'value': 'Zeng Lingliang zhu bian', }, { 'language': 'chi-hani', 'value': '曾令良主编', }, ], }, { 'editionDesignation': [ { 'value': '