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

chore(pd): move tests and actions changed into chore_release-pd #17588

Merged

Conversation

y3rsh
Copy link
Member

@y3rsh y3rsh commented Feb 26, 2025

Get tests running against current PD work

This pull request is to get our release branches for pd using the latest Cypress tests and to use the latest PD workflow and code coverage settings.

@y3rsh y3rsh self-assigned this Feb 26, 2025
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Please upload report for BASE (chore_release-pd-8.4.3@aab113b). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...rotocolSteps/StepForm/StepTools/MixTools/index.tsx 0.00% 3 Missing ⚠️
...rc/molecules/CheckboxExpandStepFormField/index.tsx 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                    Coverage Diff                    @@
##             chore_release-pd-8.4.3   #17588   +/-   ##
=========================================================
  Coverage                          ?   18.58%           
=========================================================
  Files                             ?     2740           
  Lines                             ?   211530           
  Branches                          ?     6522           
=========================================================
  Hits                              ?    39322           
  Misses                            ?   172208           
  Partials                          ?        0           
Flag Coverage Δ
protocol-designer 18.58% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...rc/molecules/CheckboxExpandStepFormField/index.tsx 4.08% <0.00%> (ø)
...rotocolSteps/StepForm/StepTools/MixTools/index.tsx 0.77% <0.00%> (ø)

@y3rsh y3rsh marked this pull request as ready for review February 26, 2025 19:14
@y3rsh y3rsh requested review from a team as code owners February 26, 2025 19:14
@y3rsh y3rsh requested review from ncdiehl11 and removed request for a team February 26, 2025 19:14
Comment on lines +400 to +406
/**
* "Rename Mix step"
*/
Rename: (): StepThunk => ({
call: () => {
cy.log('Renaming Mix Step ---------------------------')
cy.get(MixLocators.RenameBtn).should('exist').should('be.visible').click()
Copy link
Member Author

Choose a reason for hiding this comment

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

Having the docstring on top of the function lets you see it in your IDE.

cy.log gets the description into they Cypress UI so you may easily read which function you are in when composing or fixing tests.

@skowalski08 @alexjoel42

Copy link
Contributor

@alexjoel42 alexjoel42 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the work on this. Going to much easier to use/more effective in catching issues when working on pre-release builds.

comment:
# add flags to `layout` configuration to show up in the PR comment
layout: 'reach, diff, flags, files'
- '**/*.{mjs,css,cjs,mts}'
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@y3rsh y3rsh merged commit 9d461f8 into chore_release-pd-8.4.3 Feb 27, 2025
16 checks passed
@y3rsh y3rsh deleted the cypress-tests-into-chore_release-pd-8.4.3 branch February 27, 2025 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants