createCompareScreenshots
✔ should be a function
✔ should return 100 for same pictures
✔ should return 0 for different pictures
- fileNameTemplate
- По умолчанию
{configId}_{scenarioLabel}_{selectorIndex}-{selectorLabel}_{viewportIndex}-{vieportLabel}
- По умолчанию
- outputFormat (png|jpg|jpeg)
- По умолчанию "png"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"reference": "http://localhost:6401/files/cache/782ded7ea6416c9224129afbca37bf71/reference/1-list-1-mainul-1-small.png", | |
"selector": "main > ul", | |
"label": "list", | |
"error": "Не удалось создать скриншот", | |
"viewportLabel": "small" | |
}, | |
{ | |
"test": "http://localhost:6401/files/cache/782ded7ea6416c9224129afbca37bf71/test/2-full-document-1-document-1-small.png", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Copyright (C) 2017 Glayzzle (BSD3 License) | |
* @authors https://github.com/glayzzle/php-parser/graphs/contributors | |
* @url http://gla*yzzle.com | |
*/ | |
var Location = require('./ast/location'); | |
var Position = require('./ast/position'); | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "js30-cypress", | |
"id": "js30-cypress", | |
"results": [ | |
{ | |
"success": false, | |
"status": "failed", | |
"title": "4. Просмотр загруженных изображений", | |
"file": "cypress/integration/all.features", | |
"blocks": [ |
- Научиться публиковать пакеты на gitlab.htmlacademy.dev
- Заменить все @htmlacademy на @dev внутри package.json
- Заменить все упоминания @htmlacademy в коде на @dev
- Добавить publishConfig
- Поменять поле repository в package.json
- Создать репозиторий dev/courses-packages
- Добавить remote gitlab
- Запушить репозиторий на gitlab.htmlacademy.dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"email": { | |
"type": "resend", | |
"postmark": { | |
"token": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", | |
"from": "mail@htmlacademy.ru" | |
}, | |
"resend": { | |
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", | |
"from": "main@htmlacademy.pro" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rabbitMQ": { | |
"connectionUrl": "amqp://localhost:5672", | |
"queueName": "notification-queue" | |
}, | |
"email": { | |
"postmark": { | |
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", | |
"from": "mail@htmlacademy.ru" | |
} |
- courses-config
- Точно используется в courses-core
- Содержит информацию про
- Путь к image-magick compare
- Пути к каталогам с логами и данным серверных проверок
- Урл на котором работает express
- Роуты для обработки запросов от клиентского приложения
- Состояние статистики (включено/выключено)