chore: List widget UI property pane test cases#19532
chore: List widget UI property pane test cases#19532laveena-en wants to merge 8 commits intoreleasefrom
Conversation
|
Welcome to the Appsmith community! Thank you for your first pull request and making this project better. 🤗 Please make sure that you raise a review request so your code change does not go unnoticed. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Test Plan Approved to be added once review complete & approval received from your reviewer. |
|
/ok-to-test sha=b8597a0 |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3854010578. |
|
The following are new failures, please fix them before merging the PR cypress/integration/Smoke_TestSuite/ClientSideTests/VisualTests/JSEditorIndent_spec.js |
|
The following are new failures, please fix them before merging the PR cypress/integration/Smoke_TestSuite_Fat/ClientSideTests/Refactoring/Refactoring_spec.ts |
|
The following are new failures, please fix them before merging the PR cypress/integration/Smoke_TestSuite/ClientSideTests/VisualTests/JSEditorIndent_spec.js |
85c48ba to
b8597a0
Compare
|
/ok-to-test sha=ee99793 |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3871474544. |
app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List_v1_Spec.ts
Outdated
Show resolved
Hide resolved
app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List_v1_Spec.ts
Outdated
Show resolved
Hide resolved
|
The following are new failures, please fix them before merging the PR cypress/integration/Smoke_TestSuite/ClientSideTests/Autocomplete/Autocomplete_JS_spec.ts |
|
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected. |
Signed-off-by: Laveena Enid <laveena@appsmith.com>
|
/ok-to-test sha=a0ded80 |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3965884582. |
The following are new failures, please fix them before merging the PRcypress/integration/Smoke_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List_v1_Spec.ts |
The following are new failures, please fix them before merging the PRcypress/integration/Smoke_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List_v1_Spec.ts cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List_v1_Spec.ts |
1 similar comment
The following are new failures, please fix them before merging the PRcypress/integration/Smoke_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List_v1_Spec.ts cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List_v1_Spec.ts |
| it("1. Validate if the 'items', 'server-side pagination', 'Visible', 'Animate Loading' and 'OnListItemClick' properties are present in the property pane", () => { | ||
| _.ee.SelectEntityByName("List1", "Widgets"); | ||
| _.agHelper.AssertElementVisible(_.locators._listWidgetItemsDatalabel); | ||
| _.agHelper.AssertElementVisible(_.locators._listWidgetPaginationlabel); |
There was a problem hiding this comment.
Can you try - _.agHelper.AssertContains('Visible', 'exists', 'label') & if this works - remove the locators defined.
There was a problem hiding this comment.
Mentioned utility worked, refactored it. Resolved in 54dacc4.
| _.agHelper.AssertElementVisible(_.locators._listWidgetVisiblelabel); | ||
| _.agHelper.AssertElementVisible(_.locators._listWidgetAnimateLoadinglabel); | ||
| _.agHelper.AssertElementVisible(_.locators._listWidgetClickEventlabel); | ||
| }); |
There was a problem hiding this comment.
Only one ''it' function. Is that all?
There was a problem hiding this comment.
The PR was for adding basic test cases for testing property pane, these statements were consolidated into a single 'it' function as per the review comment https://github.com/appsmithorg/appsmith/pull/19532/files/b8597a0caddafb18248e9828e9b4f02da0a5db19#r1063383684
Signed-off-by: Laveena Enid <laveena@appsmith.com>
Signed-off-by: Laveena Enid <laveena@appsmith.com>
|
/ok-to-test sha=54dacc4 |
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4097341680. |
The following are new failures, please fix them before merging the PR |
|
The following are new failures, please fix them before merging the PR cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/AppPageLayout_spec.js |
The following are new failures, please fix them before merging the PR |
|
The following are new failures, please fix them before merging the PR cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/AppPageLayout_spec.js |
| _.agHelper.AssertContains("Server Side Pagination", "exist", "label"); | ||
| _.agHelper.AssertContains("Visible", "exist", "label"); | ||
| _.agHelper.AssertContains("Animate Loading", "exist", "label"); | ||
| _.agHelper.AssertContains("onListItemClick", "exist", "label"); |
There was a problem hiding this comment.
Add few more validations into the spec & then this can be run & merged.
The written case looks ok.
Description
Added cypress tests to validate properties for the list widget on the property pane under
Content.Type of change
Cypress automation test-cases.
How Has This Been Tested?
Test Plan
Checklist:
Dev activity
QA activity: