-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Иван Колобаев - тестирование #39
Open
vak1n
wants to merge
18
commits into
dima117:master
Choose a base branch
from
vak1n:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
c81643d
Игнор настроек IDE
vak1n 79eec83
Исправлена опечатка в readme
vak1n ac8b194
Добавлены nodemon, mocha и chai, nyc
vak1n 1760518
Линтер
vak1n a2e7b9f
Логические блоки и их сценарии
vak1n 61d23f4
Рефакторинг хелпера navigation
vak1n 7ca983d
Тесты для хелпера navigation
vak1n f955adf
Добавлена возможность инъекции mock для execFile
vak1n dc4a6ee
Тесты для хелпера git
vak1n 79f4b0a
В ридми добавлено юзер стори
vak1n ab4735f
Добавлено hermione
vak1n 42cb018
Мок репозитория для staging
vak1n afe9475
Интеграционные тесты
vak1n cb78d50
Дополнил ридми
vak1n e196754
Поправил ошибки в некстах ридми
vak1n f280043
Поправил описание некоторых интеграционных тестов
vak1n baf356d
Добавил используемую версию гита в ридми
vak1n 3b7a3c8
Удалил лишние примеры хуков из bare репо для тестов
vak1n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 2016, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"prettier" | ||
], | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
2, | ||
{ "SwitchCase": 1 } | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"single" | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
], | ||
"prettier/prettier": "error" | ||
}, | ||
"globals": { | ||
"describe": true, | ||
"it": true | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
node_modules | ||
.idea/ | ||
|
||
node_modules | ||
|
||
.nyc_output/ | ||
coverage/ | ||
|
||
hermione-html-report/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module.exports = { | ||
baseUrl: 'http://127.0.0.1:3000', | ||
gridUrl: 'http://127.0.0.1:4444/wd/hub', | ||
|
||
browsers: { | ||
firefox: { | ||
desiredCapabilities: { | ||
browserName: 'firefox' | ||
} | ||
}, | ||
chrome: { | ||
desiredCapabilities: { | ||
browserName: 'chrome' | ||
} | ||
} | ||
}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Здорово, что два браузера 👍 |
||
|
||
plugins: { | ||
'html-reporter/hermione': { | ||
path: 'hermione-html-report' | ||
} | ||
} | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"useTabs": false, | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"singleQuote": true | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const { resolve } = require('path'); | ||
|
||
const REPO = process.env.NODE_ENV === 'staging' ? resolve('./fixtures/repo.git') : resolve('.'); | ||
|
||
module.exports = { | ||
REPO | ||
}; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"log": [ | ||
{ | ||
"hash": "a650ac6d04e840290cf02bc4e8fcf917d2f1c4d0", | ||
"author": "Ivan Kolobaev", | ||
"timestamp": "2018-10-21 03:12:43 +0300", | ||
"msg": "Хелпер git переписан на класс" | ||
}, | ||
{ | ||
"hash": "bf6f83f2779b4829ee5301211352f3a3814feedb", | ||
"author": "Ivan Kolobaev", | ||
"timestamp": "2018-10-21 01:00:50 +0300", | ||
"msg": "Сценарии тестирования и тесты для хелпера navigation" | ||
}, | ||
{ | ||
"hash": "17605188faec24540ae3f413bb6d113821f76ea6", | ||
"author": "Ivan Kolobaev", | ||
"timestamp": "2018-10-21 00:21:31 +0300", | ||
"msg": "Линтер" | ||
}, | ||
{ | ||
"hash": "ac8b1946ecbcdec188a0c67c5187cd9884c0e56c", | ||
"author": "Ivan Kolobaev", | ||
"timestamp": "2018-10-21 00:03:04 +0300", | ||
"msg": "Добавлены nodemon, mocha и chai, nyc" | ||
}, | ||
{ | ||
"hash": "79eec830de6fa907a6f6a1e176f0e4d9dea3c600", | ||
"author": "Ivan Kolobaev", | ||
"timestamp": "2018-10-20 23:42:10 +0300", | ||
"msg": "Исправлена опечатка в readme" | ||
}, | ||
{ | ||
"hash": "c81643d8fa442b8bd2ed46569f158cd27977b916", | ||
"author": "Ivan Kolobaev", | ||
"timestamp": "2018-10-20 23:41:24 +0300", | ||
"msg": "Игнор настроек IDE" | ||
}, | ||
{ | ||
"hash": "90180910fc27a11272a3e5caeeb119a51e5c0545", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 12:49:56 +0300", | ||
"msg": "исправлена опечатка в readme" | ||
}, | ||
{ | ||
"hash": "cc2284293758e32c50fa952da2f487c8c5e8d023", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 12:36:32 +0300", | ||
"msg": "readme" | ||
}, | ||
{ | ||
"hash": "7e013ae0440ad6e91082599376a6aaebe20d2112", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 12:10:05 +0300", | ||
"msg": "codestyle" | ||
}, | ||
{ | ||
"hash": "f2df8ac23e817f6da01624a77ec050a0147f642a", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 12:02:11 +0300", | ||
"msg": "стили" | ||
}, | ||
{ | ||
"hash": "0f7b962409d6980236944164c5b0c9f43f9348e9", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 11:54:32 +0300", | ||
"msg": "хлебные крошки" | ||
}, | ||
{ | ||
"hash": "82810cf7d56476059477aaa5ff55c99ff191be29", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 11:25:59 +0300", | ||
"msg": "исправлена ошибка" | ||
}, | ||
{ | ||
"hash": "30fc48ec578e6b0052f6ab9ea7a118fb31574cdc", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 11:23:01 +0300", | ||
"msg": "ссылки на корневую папку" | ||
}, | ||
{ | ||
"hash": "f69c43393449afe9284f3fa20010695a5faa3849", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 11:20:57 +0300", | ||
"msg": "ссылки на корневую папку" | ||
}, | ||
{ | ||
"hash": "5dec08da64c3b090708aa8412924b26744d60597", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 11:19:59 +0300", | ||
"msg": "отображение списка коммитов" | ||
}, | ||
{ | ||
"hash": "144944153a24f28bd13bcd60aa7f588523649a53", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 11:17:57 +0300", | ||
"msg": "экранирование контента" | ||
}, | ||
{ | ||
"hash": "e91effac1a382d9569198e0625d5c979956e9870", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 11:16:20 +0300", | ||
"msg": "стили для списка коммитов" | ||
}, | ||
{ | ||
"hash": "1bd9b4848866f8d83cbb45b45193c695ffebb282", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 10:15:28 +0300", | ||
"msg": "навигация для страницы с контентом файла" | ||
}, | ||
{ | ||
"hash": "cdd4eb0149493540c34103e7ac2a49a5f67a917b", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 09:53:14 +0300", | ||
"msg": "просмотр содержимого файла" | ||
}, | ||
{ | ||
"hash": "172001aeb63bdfc4e3f01f29e30876022cf6ad45", | ||
"author": "Dmitry Andriyanov", | ||
"timestamp": "2018-10-16 09:02:52 +0300", | ||
"msg": "список файлов" | ||
} | ||
] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Расскажи как устанавливал selenium? Docker/локально/глобально?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Глобально. Про докер как то не подумал (