diff --git a/client/web/divkit/tests/hermione/json/regression/gallery_items_posing.hermione.js b/client/web/divkit/tests/hermione/json/regression/gallery_items_posing.hermione.js index 831b1abd6..77737ee6c 100644 --- a/client/web/divkit/tests/hermione/json/regression/gallery_items_posing.hermione.js +++ b/client/web/divkit/tests/hermione/json/regression/gallery_items_posing.hermione.js @@ -1,5 +1,5 @@ describe('regression', () => { - describe('Gallery items posing', () => { + xdescribe('Gallery items posing', () => { beforeEach(async function() { await this.browser.execute(() => { window.divkitLogs = []; diff --git a/test_data/regression_test_data/gallery/gallery-items-posing.json b/test_data/regression_test_data/gallery/gallery-items-posing.json index 6e111a7ab..fd8716522 100644 --- a/test_data/regression_test_data/gallery/gallery-items-posing.json +++ b/test_data/regression_test_data/gallery/gallery-items-posing.json @@ -41,6 +41,11 @@ }, "card": { "log_id": "gallery-paging", + "variables": [{ + "name": "text_position", + "type": "string", + "value": "start" + }], "states": [ { "state_id": 0, @@ -85,21 +90,42 @@ { "id": "block_1", "type": "text_block", - "text": "Item 0" + "text": "Item 0", + "visibility_action": { + "log_id": "item0", + "log_limit": 0, + "url": "div-action://set_variable?name=text_position&value=start" + } + }, { "id": "block_2", "type": "text_block", - "text": "Item 1" + "text": "Item 1", + "visibility_action": { + "log_id": "item1", + "log_limit": 0, + "url": "div-action://set_variable?name=text_position&value=center" + } }, { "id": "block_3", "type": "text_block", - "text": "Item 2" + "text": "Item 2", + "visibility_action": { + "log_id": "item2", + "log_limit": 0, + "url": "div-action://set_variable?name=text_position&value=center" + } }, { "type": "text_block", - "text": "Item 3" + "text": "Item 3", + "visibility_action": { + "log_id": "item3", + "log_limit": 0, + "url": "div-action://set_variable?name=text_position&value=center" + } } ] }, @@ -125,7 +151,7 @@ "bottom-left": 8 } }, - "alignment_horizontal": "start", + "alignment_horizontal": "@{text_position}", "alignment_vertical": "center", "type": "text_14_18_regular", "paddings": { diff --git a/test_data/regression_test_data/index.json b/test_data/regression_test_data/index.json index d640b2b60..1b9009709 100644 --- a/test_data/regression_test_data/index.json +++ b/test_data/regression_test_data/index.json @@ -1902,7 +1902,7 @@ "Try to scroll again" ], "expected_results": [ - "Current item always stick to the text" + "Current item always stick to the text." ], "file": "gallery/gallery-items-posing.json" },