Этот коммит содержится в:
Mario Vitale
2023-03-27 16:28:42 +02:00
родитель da7a6825ce
Коммит ba6b97fb62
1142 изменённых файлов: 44 добавлений и 44 удалений

26
e2e-tests/cypress/tests/fixtures/hooks/message_menus.json поставляемый Обычный файл
Просмотреть файл

@@ -0,0 +1,26 @@
{
"attachments": [{
"pretext": "This is the attachment pretext.",
"text": "This is the attachment text.",
"actions": [{
"name": "Select an option...",
"integration": {
"url": "http://localhost:3000/message_menus",
"context": {
"action": "do_something"
}
},
"type": "select",
"options": [{
"text": "Option 1",
"value": "option1"
}, {
"text": "Option 2",
"value": "option2"
}, {
"text": "Option 3",
"value": "option3"
}]
}]
}]
}

17
e2e-tests/cypress/tests/fixtures/hooks/message_menus_with_datasource.json поставляемый Обычный файл
Просмотреть файл

@@ -0,0 +1,17 @@
{
"attachments": [{
"pretext": "This is the attachment pretext.",
"text": "This is the attachment text.",
"actions": [{
"name": "Select an option...",
"integration": {
"url": "http://localhost:3000/message_menus_datasource",
"context": {
"action": "do_something"
}
},
"type": "select",
"data_source": "channels"
}]
}]
}