Skip to content
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

Smoke теcт на контролы #1885

Merged
merged 3 commits into from
Feb 25, 2020
Merged

Smoke теcт на контролы #1885

merged 3 commits into from
Feb 25, 2020

Conversation

sorovlad
Copy link

@sorovlad sorovlad commented Feb 11, 2020

#1773 Добавлен тест, который проверяет что пакет react-ui устанавливается и контролы из него отображаются в браузере без ошибок.
Для сreate-react-app создан шаблон cra-template-react-ui в который добавлены контролы.

Добавлен запуск на teamcity в ReactUI:Lint/Test.
Шаг Lint/Test теперь зависит от Build и берет из него собранный пакет.

Шаги:

  • Если запущен не в teamcity, то собирается пакет react-ui, иначе ищет уже собранный.
  • Создается тестовое приложение с помощью cra и шаблона cra-template-react-ui
  • В него устанавливается пакет react-ui
  • Запуск dev-server в тестовом приложении
  • Открытие страницы в puppeteer

@sorovlad sorovlad requested a review from wKich February 11, 2020 08:43
@sorovlad sorovlad force-pushed the smoke-tests branch 19 times, most recently from 8eb3e67 to 26c4c91 Compare February 14, 2020 10:16
@sorovlad sorovlad force-pushed the smoke-tests branch 3 times, most recently from 85df533 to 603f212 Compare February 18, 2020 04:38
@wKich wKich requested a review from Laiff February 18, 2020 09:08
packages/tests/package.json Outdated Show resolved Hide resolved
packages/tests/smoke.test.ts Outdated Show resolved Hide resolved
packages/tests/smoke.test.ts Outdated Show resolved Hide resolved
packages/tests/smoke.test.ts Outdated Show resolved Hide resolved
packages/tests/smoke.test.ts Outdated Show resolved Hide resolved
packages/tests/smoke.test.ts Outdated Show resolved Hide resolved
packages/tests/smoke.test.ts Outdated Show resolved Hide resolved
@wKich
Copy link
Member

wKich commented Feb 19, 2020

Добавь описание в первый комментарий PR, чтобы было сделано и ссылку на связную задачу

packages/react-ui-smoke-test/.babelrc.js Outdated Show resolved Hide resolved
packages/react-ui-smoke-test/package.json Outdated Show resolved Hide resolved
packages/react-ui-smoke-test/smoke.test.ts Outdated Show resolved Hide resolved
packages/react-ui-smoke-test/smoke.test.ts Show resolved Hide resolved
packages/react-ui-smoke-test/smoke.test.ts Outdated Show resolved Hide resolved
packages/react-ui-smoke-test/smoke.test.ts Outdated Show resolved Hide resolved
.teamcity/settings.kts Outdated Show resolved Hide resolved
@sorovlad sorovlad force-pushed the smoke-tests branch 4 times, most recently from da2646f to 52919db Compare February 20, 2020 08:52
@Laiff Laiff self-requested a review February 21, 2020 07:20
Laiff
Laiff previously approved these changes Feb 21, 2020
packages/react-ui-smoke-test/LICENSE Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants