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

Add Tests for SiteGen Editor Step #534

Merged
merged 7 commits into from
Apr 10, 2024
Merged

Conversation

avneet-raj
Copy link
Contributor

@avneet-raj avneet-raj commented Apr 5, 2024

Proposed changes

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@officiallygod officiallygod added the WIP PR is a Work in Progress and not ready for review. label Apr 8, 2024
@avneet-raj avneet-raj self-assigned this Apr 9, 2024
@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 Apr 9, 2024
@avneet-raj avneet-raj requested a review from officiallygod April 9, 2024 07:19
Comment on lines 20 to 29
cy.intercept( apiList.sitegen, ( req ) => {
siteGenMockAll( req );
} ).as( 'sitegenCalls' );

cy.intercept( apiList.homepages, ( req ) => {
homePagesMock( req );
} ).as( 'homePageCall' );
cy.timeout(120000);
cy.wait(5000);
cy.wait( 5000 );
Copy link
Member

Choose a reason for hiding this comment

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

Do we make the calls here? Like I don't think we can navigate to this step without all the meta calls being completed.

@arunshenoy99 arunshenoy99 merged commit 2222ba0 into trunk Apr 10, 2024
1 check passed
@arunshenoy99 arunshenoy99 deleted the cypress-editor-step-tests branch April 10, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Review The PR is in Code Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants