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

plasma-infra: Run cypress with --components #907

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Conversation

Yakutoc
Copy link
Collaborator

@Yakutoc Yakutoc commented Dec 12, 2023

Cypress

  • добавлена возможность запустить тест для перечисленных компонентов

Запуск команды "npm run cy:web:run-ct --components='calendar,button'" даст

Screenshot 2023-12-12 at 15 57 08

What/why changed

Для ускорения локальной разработки, была добавлена возможность указать для каких компонентов нужно запустить тесты.

Теперь команды

  • cy:{package}:run-ct
  • cy:{package}:run-ct-update-diffs

понимают аргумент --components='comp1, comp2'

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @salutejs/[email protected]
# or 
yarn add @salutejs/[email protected]

@Salute-Eva
Copy link
Contributor

Documentation preview deployed!

website: http://plasma.sberdevices.ru/pr/pr-907/
b2c storybook: http://plasma.sberdevices.ru/pr/pr-907/b2c-storybook/

Copy link
Contributor

⚡ Component performance testing

Result: 🟢 OK

@Salute-Eva
Copy link
Contributor

Theme Builder app deployed!

http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-907/

@Yakutoc Yakutoc marked this pull request as ready for review December 12, 2023 09:41
@Yakutoc Yakutoc requested review from TitanKuzmich and removed request for neretin-trike December 12, 2023 09:41
@Salute-Eva
Copy link
Contributor

Theme Builder app deployed!

http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-907/

cypress/cypress-get-specs.js Show resolved Hide resolved
@Yakutoc Yakutoc force-pushed the chore-cypress-local branch from f82dc61 to 7a139bc Compare December 18, 2023 05:59
@Salute-Eva
Copy link
Contributor

Theme Builder app deployed!

http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-907/

@Salute-Eva
Copy link
Contributor

Theme Builder app deployed!

http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-907/

Copy link
Contributor

@Yeti-or Yeti-or left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

только поменяй заголово pr на --components
и наверно это надо в Contribution.md добавить

@Yakutoc Yakutoc changed the title plasma-infra: Run cypress with --spec plasma-infra: Run cypress with --components Dec 19, 2023
@Salute-Eva
Copy link
Contributor

Theme Builder app deployed!

http://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-907/

@Yakutoc Yakutoc added this pull request to the merge queue Dec 19, 2023
Merged via the queue into dev with commit 40a64e7 Dec 19, 2023
23 checks passed
@Yakutoc Yakutoc deleted the chore-cypress-local branch December 19, 2023 04:53
@Salute-Eva
Copy link
Contributor

🚀 This PR is included in version: @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected] 🚀

This was referenced Dec 22, 2023
@Yakutoc Yakutoc mentioned this pull request Dec 22, 2023
@Salute-Eva
Copy link
Contributor

🚀 This PR is included in version: @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected], @salutejs/[email protected] 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants