test: Cypress | CI Flaky fix (#28700)

## Description
- This PR fixes /SetProperty/WidgetPropertySetters2_spec.ts flaky CI
behavior
-

#### Type of change
- Script fix (non-breaking change which fixes an issue)

## Testing

#### How Has This Been Tested?
- [X] Cypress CI runs

## Checklist:
#### QA activity:
- [X] Added `Test Plan Approved` label after Cypress tests were reviewed
This commit is contained in:
Aishwarya-U-R 2023-11-08 09:37:44 +05:30 committed by GitHub
parent b37251fb53
commit 6dd428441e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,6 +207,7 @@ describe("Widget Property Setters - Part II - Tc #2409", () => {
false,
);
deployMode.DeployApp();
agHelper.Sleep(3000); //for the Api to run & button to disappear, for CI runs
agHelper.AssertElementAbsence(
locators._widgetInDeployed(draggableWidgets.BUTTON),
);