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

Fix failing cypress tests for design steps #364

Merged
merged 4 commits into from
Dec 26, 2023

Conversation

avneet-raj
Copy link
Contributor

No description provided.

@avneet-raj avneet-raj self-assigned this Nov 14, 2023
@avneet-raj avneet-raj added the WIP PR is a Work in Progress and not ready for review. label Nov 14, 2023
@avneet-raj avneet-raj added Code Review The PR is in Code Review and removed WIP PR is a Work in Progress and not ready for review. labels Nov 20, 2023
Copy link
Member

@officiallygod officiallygod left a comment

Choose a reason for hiding this comment

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

Just some small changes, Thanks.

@@ -90,7 +90,7 @@ describe( 'Theme Styles Menu and Preview', function () {
} );
} );

it( 'Check for the selected theme in Drawer', () => {
it.skip( 'Check for the selected theme in Drawer', () => {
Copy link
Member

Choose a reason for hiding this comment

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

Why don't we get rid of these from here? The skipped ones in this file? as we have addressed them in the preview step?

@@ -31,8 +23,8 @@ describe( 'Typography Step Test', function () {
);
} );

it( 'Check to make sure sidebar opens, content is in place and close sidebar', () => {
CheckIntroPanel( '__design-typography', 'Typography' );
it.skip( 'Check to make sure sidebar opens, content is in place and close sidebar', () => {
Copy link
Member

Choose a reason for hiding this comment

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

Why are we skipping this one?
It see that it is working in Colors.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I have to remove it because when we directly go to the page using URL the sidebar isn't present.
image
have a look at this screenshot.

Copy link
Member

Choose a reason for hiding this comment

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

Damn that should be a bug! 😕

Copy link
Contributor Author

@avneet-raj avneet-raj Nov 22, 2023

Choose a reason for hiding this comment

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

okay, I'll log a defect for this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -49,15 +49,15 @@ describe( 'Header menu Page', function () {
} );
Copy link
Member

Choose a reason for hiding this comment

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

In this I saw that now header menu takes time to load in the preview, should we also add a wait so that it gets rendered out as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

wait is already added, line 15

Copy link
Member

Choose a reason for hiding this comment

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

I meant after clicking on a new header pattern it renders very slowly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay

Copy link
Member

@officiallygod officiallygod left a comment

Choose a reason for hiding this comment

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

LGTM!

@avneet-raj avneet-raj added Ready to merge The Code Review and QA is done and it can be merged. and removed Code Review The PR is in Code Review labels Dec 5, 2023
@arunshenoy99 arunshenoy99 merged commit 6a20645 into trunk Dec 26, 2023
@arunshenoy99 arunshenoy99 deleted the fix/-Cypress-failing-design-steps branch December 26, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge The Code Review and QA is done and it can be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants