PromucFlow_constructor/app/client/cypress/manual_TestSuite/GSheetViewEdit_Spec.ts
Saroj f89e5b8612
test: Cypress - fix for selected gsheet (#25940)
## Description
- Fix for selected gsheet failure
- Added steps in ci-test-hosted to notify on slack
- Updated config to run the Airtable_basic_spec on the hosted instance
and skip it in regular runs

#### Type of change
- Cypress changes
- Workflow changes
## Testing
>
#### How Has This Been Tested?
- [x] Cypress

## Checklist:
#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-08-02 18:58:04 +05:30

38 lines
1.1 KiB
TypeScript

import {
agHelper,
dataSources,
deployMode,
entityExplorer,
homePage,
table,
} from "../support/Objects/ObjectsCore";
describe.skip("Authorized GSheet - in Edit & view mode", function () {
it("Open already created GSheet in View mode, navigate back to Edit mode, Validate dropdown values", () => {
homePage.NavigateToHome();
homePage.FilterApplication("GSheet");
agHelper.GetElement(homePage._applicationCard).trigger("mouseover");
homePage.LaunchAppFromAppHover();
table.WaitUntilTableLoad(0, 0, "v2");
deployMode.NavigateBacktoEditor();
//homePage.EditAppFromAppHover();
entityExplorer.SelectEntityByName("Api1");
dataSources.ValidateNSelectDropdown(
"Spreadsheet",
"Trial-GSheetAutomation",
);
dataSources.ValidateNSelectDropdown("Sheet name", "Analysis");
dataSources.RunQuery();
dataSources.AssertQueryResponseHeaders([
"Failing Spec",
"Reason",
"Pod",
"rowIndex",
]);
dataSources.AssertQueryTableResponse(
0,
"Regression_TestSuite/ClientSideTests/Git/GitWithJSLibrary/GitwithCustomJSLibrary_spec.js",
);
});
});