PromucFlow_constructor/.github
Sagar Khalasi a182e7409d
chore: Return failure results (#36233)
## Description

**Problem:** When running Cypress tests multiple times with the
cypress-repeat-pro --force option, we only see success messages. This is
because the `--force` option may override or mask failures, leading to
misleading results.

**Solution:** To address this, we have added a step to check for
specific failure indicators in the test summary file. If the summary
indicates that there were any failed tests (i.e., `Total Failed: 0` is
not present), the GitHub Action step will fail. This ensures that
failures are properly highlighted and reported in the PR comments.


Fixes #`36232`  

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10806403675>
> Commit: 3a04b01650a4f92967d6b489eead5d61e48cb89a
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10806403675&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Wed, 11 Sep 2024 07:01:29 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced CI workflow to ensure GitHub Action fails if Cypress tests do
not pass, improving reliability.
  
- **Bug Fixes**
- Implemented a conditional check for test failures, providing clearer
feedback on test outcomes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-11 15:08:12 +05:30
..
ISSUE_TEMPLATE Update --bug-report.yaml 2024-05-02 12:38:29 +05:30
workflows chore: Return failure results (#36233) 2024-09-11 15:08:12 +05:30
config-test.json chore: updated label config to let us add performance on any independent issue (#20009) 2023-01-25 15:21:22 +05:30
config.json Updated Label Config 2024-09-10 21:32:31 +05:30
config.yml chore: Update the welcome bot message (#16444) 2022-09-01 16:12:07 +05:30
labeler.yml
pull_request_template.md chore: Include a closed question to PRs template (#32517) 2024-04-18 15:21:58 +05:30
release-drafter-template.yml chore: increment minor number for snapshot versions (#30487) 2024-01-22 10:02:57 +05:30
reviewers.yml fix: Added DS pod as reviewer for all PR that changes client (#23635) 2023-05-23 15:04:16 +05:30
semantic.yml