Closed Jinksi closed 7 months ago
The e2e test suite in file shopper-bnpls-checkout.spec.js is failing due to a missing selector when attempting to change the shopper account currency.
shopper-bnpls-checkout.spec.js
https://github.com/Automattic/woocommerce-payments/blob/bb876e12d97b1bc07fa10f1e51b1ffd42f5f5c09/tests/e2e/specs/wcpay/shopper/shopper-bnpls-checkout.spec.js#L36-L39
Which calls the function changeAccountCurrencyTo: https://github.com/Automattic/woocommerce-payments/blob/bb876e12d97b1bc07fa10f1e51b1ffd42f5f5c09/tests/e2e/utils/flows.js#L167
changeAccountCurrencyTo
develop
E2E Tests - Pull Request / WC - latest | wcpay - shopper
npm run test:e2e -- tests/e2e/specs/wcpay/shopper/shopper-bnpls-checkout.spec.js
No node found for selector: #wcpay_selected_currency
Please add your planning poker estimate with Zenhub @timur27
Describe the bug
The e2e test suite in file
shopper-bnpls-checkout.spec.js
is failing due to a missing selector when attempting to change the shopper account currency.https://github.com/Automattic/woocommerce-payments/blob/bb876e12d97b1bc07fa10f1e51b1ffd42f5f5c09/tests/e2e/specs/wcpay/shopper/shopper-bnpls-checkout.spec.js#L36-L39
Which calls the function
changeAccountCurrencyTo
: https://github.com/Automattic/woocommerce-payments/blob/bb876e12d97b1bc07fa10f1e51b1ffd42f5f5c09/tests/e2e/utils/flows.js#L167To Reproduce
develop
E2E Tests - Pull Request / WC - latest | wcpay - shopper
, example.npm run test:e2e -- tests/e2e/specs/wcpay/shopper/shopper-bnpls-checkout.spec.js
.No node found for selector: #wcpay_selected_currency