@@ -20,7 +20,7 @@ GUI-режим позволяет:
2020### Использование
2121
2222``` bash
23- npx hermione gui
23+ npx testplane gui
2424```
2525
2626## remove-unused-screens
@@ -48,31 +48,31 @@ npx hermione gui
4848Указываем папку, в которой надо искать неиспользуемые скриншоты:
4949
5050``` bash
51- npx hermione remove-unused-screens -p ' hermione -screens-folder'
51+ npx testplane remove-unused-screens -p ' testplane -screens-folder'
5252```
5353
5454Задаем маску, по которой будем искать скриншоты:
5555
5656``` bash
57- npx hermione remove-unused-screens -p ' screens/**/*.png'
57+ npx testplane remove-unused-screens -p ' screens/**/*.png'
5858```
5959
6060Задаем несколько масок для поиска скриншотов:
6161
6262``` bash
63- npx hermione remove-unused-screens -p ' screens/**/chrome/*.png' -p ' screens/**/firefox/*.png'
63+ npx testplane remove-unused-screens -p ' screens/**/chrome/*.png' -p ' screens/**/firefox/*.png'
6464```
6565
6666Задаем папку для поиска скриншотов и просим не задавать вопросов:
6767
6868``` bash
69- npx hermione remove-unused-screens -p ' hermione -screens-folder' --skip-questions
69+ npx testplane remove-unused-screens -p ' testplane -screens-folder' --skip-questions
7070```
7171
7272Выводим справочную информацию о команде:
7373
7474``` bash
75- npx hermione remove-unused-screens --help
75+ npx testplane remove-unused-screens --help
7676```
7777
7878## merge-reports
@@ -93,13 +93,13 @@ npx hermione remove-unused-screens --help
9393Пример использования:
9494
9595``` bash
96- npx hermione merge-reports path-to-database.db path-to-databaseUrls.json -d dest-report -h foo=bar
96+ npx testplane merge-reports path-to-database.db path-to-databaseUrls.json -d dest-report -h foo=bar
9797```
9898
9999Http-хедеры можно так же передавать с помощью переменной окружения - ` html_reporter_headers ` (имеет приоритет выше, чем cli-опция ` --header ` ). Пример:
100100
101101``` bash
102- html_reporter_headers=' {"foo":"bar"}' npx hermione merge-reports path-to-database.db path-to-databaseUrls.json -d dest-report -h baz=qux
102+ html_reporter_headers=' {"foo":"bar"}' npx testplane merge-reports path-to-database.db path-to-databaseUrls.json -d dest-report -h baz=qux
103103```
104104
105105В итоге ` path-to-databaseUrls.json ` будет запрошен с хедерами: ` {foo: 'bar', baz: 'qux'} ` .
0 commit comments