Commit cf013b7
E2E testing and make synchronization between old and new settings page (#2927)
* set ids
* test case
* e2e testing for newGeneralMarketplace
* e2e testing for vendor onboarding section
* Construct mapping new social onboarding page with old setting page and fixing this page bugs
* fix bugs and enhancement of vendor - vendor capabilities page
* e2e test for vendor capabilities page
* admin settings: Data driven test
* Re-organized the test cases and fix the menu DOM id duplication
* update: general settings
* Add aria label for radio
* Add e2e tests for new General
> marketplace settings
* fix: e2e admin page inheritance
* e2e: Update test steps
* feat: Add checkbox field type support for toggle switches in admin settings tests
- Add new 'checkbox' field type to adminSettingsPageNew.ts to handle DOM elements with 'enabled' class
- Update selector logic to click on visible label while checking state from hidden input element
- Add Enable Single Seller Mode field to old dataset in generalMarketplace.spec.ts
- Update test values and selectors for marketplace settings synchronization testing
- Add debug logging for checkbox state verification
* Updated radio type for handling old and new radio buttons
* debug: Add console logging for checkbox state verification in admin settings tests
* fix: resolve E2E test timeout errors in General settings migration test
- Fix async iteration by replacing forEach with for...of loop to properly await operations
- Increase element visibility timeout from 10s to 15s for old admin page
- Add explicit wait for element attachment before scrolling
- Improve page stabilization with longer waits for old admin interface
- Add conditional navigation check to prevent unnecessary operations
Resolves timeout errors:
- TimeoutError on #dokan_settings_general selector
- Test ended error due to unwaited async operations
* feat: add reloadUrl method and optimize E2E test performance
- Add reloadUrl method to AdminSettingsPageNew for forced page reload
- Fix missing await statements in updateSettings method
- Remove unnecessary waitForTimeout calls to improve test speed
- Restructure General settings migration test with two separate tests:
* Test 1: New settings to old settings synchronization
* Test 2: Old settings to new settings synchronization
- Optimize element visibility checks and navigation timing
This improves test reliability and reduces overall test execution time.
* Rename the steps
* e2e test for generalMarketplace page
* Vendor Onboarding Page
* pages of vendor section
* Set ID of showHide fields
* test: add E2E testcases for General pages
* Social Onboarding Page
* improvement
* test: add E2E testcases for General pages
* Delete tests/pw/tests/e2e/productAdvertisement.spec.ts
* Vendor Capabilities Page
* Vendor Subscription Page
* Single Product Milti-vendor Page
* Moderation RMA Page
* Updated VendorSubscription Page
* Moderation pages templets
* Moderation Store Support Page
* Moderation Live Chat Page
* Moderation Abuse Report Page
* Implement mapping of delivery time page between new and old page
* Implement mapping of new shipment settings page with old setting page
* Shipment settings Page
* Shipment Delivery Time Page
* Updated Shipment Settings Page
* Implement proper option filed of Privacy Policy Page (Compliance -> Privacy )
* Complaince Privacy Page
* Compliance EU Complaince Page
* Fix keys of Shipping Fee, Product Tax Fee and Shipping Tax Fee from vendor to seller as old page
* Transaction Fees Page
* Fixed Commission Page Mapping
* Transaction Commission Page
* Transaction reverse Withdrawal
* Implement mapping of Minimum Withdraw Limit and Withdraw Threshold of transaction withdraw page
* Transaction Withdraw Page
* updated e2e test for Available Vendor Section Display Position field ( Vendor SPMV )
* Fix component for tooltip
* fix mb
* updated
* Testing (fix mapping)
* Make code workable for callback functions and map customer details visibility
* Callback function for COD Payments
* Fix (add_tooptip) function for text type field
* Make dokanFieldLabel component ready for haldeling tooltip using our DokanTooltip component
* Make tooltip message correct(helper_text to tooltip) of dokan component (DokanFieldLabel and DokanSwitch)
* Give and fix tooltip message of Vendor Onboarding page
* Fix 'textarea' field tooltip section
* Fixed 'copy' component tooltip section
* fix 'showhide' component tooltip section
* updated
* Implement settings for keeping existing data with updated data
* Implement Callback Functions for Moderation -> Abuse and RMA reasons field
* Implement callback function for Welcome Wizard field
* Implement callback function for Eendor Extra Fields
* Implement callback function for Customer Extra Fields
* Implement callback function for Delivery support
* Implement Callback Function for Penalty Actions After Grace Period filed and fix option names
* new-admin-settings-printful-ai-wholesale-page-e2e-testing (#2973)
* in progress
* Ai Content generation page e2e
* Add SMS gateway and Email vendor verification settings mapper (#2977)
* e2e test for generalMarketplace page
* Vendor Onboarding Page
* pages of vendor section
* Set ID of showHide fields
* Social Onboarding Page
* Vendor Capabilities Page
* Vendor Subscription Page
* Single Product Milti-vendor Page
* Moderation RMA Page
* Updated VendorSubscription Page
* Moderation pages templets
* Moderation Store Support Page
* Moderation Live Chat Page
* Moderation Abuse Report Page
* Implement mapping of delivery time page between new and old page
* Implement mapping of new shipment settings page with old setting page
* Shipment settings Page
* Add SMS gateway and Email vendor verification settings mapper
* Update mapper for change Ui design
---------
Co-authored-by: Moudud Ahmed <abdulkader225704@gmail.com>
Co-authored-by: Kamruzzaman <kzamanbn@gmail.com>
* Implement callback function for Discount Editing field
* Implement callback function for Shipment Status field
* Set tooltips of filelds of vendor capabilities and vendor subscription page
* Set comission page Heading description and tooltips of this page fields
* Complete Quote Settings and Product Advertisement Settings test (#2972)
* Vendor verification email sms page e2e test (#2982)
* Add SMS gateway and Email vendor verification settings mapper
* EmailAndSmsGatewayPagee2eTest
* Appearance tab e2e test (#2995)
* Add SMS gateway and Email vendor verification settings mapper
* EmailAndSmsGatewayPagee2eTest
* e2etesting in progress
* appearance_tab_e2e_test
* Vendor verification e2e test (#2998)
* Vendor verification page e2e test
* Vendor Verification page e2e test
* Appearance > Color Customizer mapper (#2999)
* Verification Sms Gateways Page Redegin (#3021)
* feat: add single product preview settings mapper with legacy compatibility (#3034)
* Add tooltip in new admin settings and redesign (#3036)
* Doc link update (#3001)
* Appearance > Color Customizer mapper
* New ui doc link updated In Ai Assist page
* fix curly brace
* fix store Page Store Header Template (#3037)
* fix e2e for field 'Show Customer info'
* fix e2e for field 'welcome wizard' (Inverted value)
* remove subscription cancel and alert email locators from e2e
---------
Co-authored-by: Md Mahbub Rabbani <mahbub.rucse@gmail.com>
Co-authored-by: SHAMIM <111671483+Shamim-97@users.noreply.github.com>
Co-authored-by: Kamruzzaman <kzamanbn@gmail.com>1 parent d29b315 commit cf013b7
68 files changed
Lines changed: 8678 additions & 219 deletions
File tree
- assets/src/images
- store
- verification
- includes/Admin
- Settings
- Pages
- src
- admin/dashboard/pages/settings/Elements
- Fields
- CustomizeRadio
- components
- fields
- tests/pw
- pages
- tests/e2e
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Loading
Loading
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
202 | 207 | | |
203 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
204 | 227 | | |
205 | 228 | | |
206 | 229 | | |
| |||
1325 | 1348 | | |
1326 | 1349 | | |
1327 | 1350 | | |
1328 | | - | |
| 1351 | + | |
1329 | 1352 | | |
1330 | | - | |
| 1353 | + | |
1331 | 1354 | | |
1332 | 1355 | | |
1333 | 1356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | 179 | | |
186 | 180 | | |
187 | 181 | | |
188 | | - | |
| 182 | + | |
189 | 183 | | |
190 | 184 | | |
191 | 185 | | |
192 | 186 | | |
193 | 187 | | |
194 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
198 | | - | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
199 | | - | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
203 | | - | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
| 211 | + | |
| 212 | + | |
214 | 213 | | |
215 | 214 | | |
216 | 215 | | |
217 | 216 | | |
218 | 217 | | |
219 | | - | |
220 | | - | |
221 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
222 | 227 | | |
223 | 228 | | |
224 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
81 | 91 | | |
82 | 92 | | |
83 | 93 | | |
| |||
106 | 116 | | |
107 | 117 | | |
108 | 118 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 119 | + | |
113 | 120 | | |
114 | 121 | | |
115 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
222 | 228 | | |
223 | 229 | | |
224 | 230 | | |
| |||
0 commit comments