sponglord
a62f32ae06
Feature/detect unsupported sf fields ( #2495 )
...
* detect unrecognised data-cse attributes and don't create a SF for them
* Added unit test for new functionality
* added changeset
2023-12-20 12:51:12 +01:00
sponglord
952ae27819
Chore/v5 unit tests csf ( #2472 )
...
* Creating separate card-with-installments in Cards playground
* New unit test for validateForm
* Expanded test for validateForm
* setFocusOnFrame, improved types
* setFocusOnFrame unit test, first draft
* setFocusOnFrame unit test, final
* postMessageToIframe unit test
* processBrand unit test
* processAutoComplete unit test
* processAutoComplete unit test - removed logs
* postMessageToAllIframes unit test
* isConfigured unit test - final
* handleIframeConfigFeedback unit test
* handleFocus unit test
* handleOnBinValue unit test
* Don't bother testing console.log lines
* Removing this keyword from handleFocus function
* handleValidation unit test
* handleEncryption unit test - first draft
* handleEncryption unit test - final
* Added boolean onlyShowCard to easily turn of all other card examples in the Cards playground
* wireframe for handleBrandFromBinLookup.test.ts
* handleBrandFromBinLookup.test.ts - first draft
* handleBrandFromBinLookup.test.ts - final
* Expanded number of tests in initCSF.test.tsx
* createSecuredFields.test.tsx - first draft
* createSecuredFields.test.tsx - second draft
* createSecuredFields.test.tsx - final version
* createSecuredFields.test.tsx - testing that promise resolves
* createSecuredFields.test.tsx - testing that promise rejects
* Created createCardSecuredFields.test.ts to catch some edge cases in createSecuredFields functionality
* handleTab.test.ts - first draft
* handleTab.test.ts - final draft
* handleTab.test.ts - funnel tests through the expected entry point (handleSFShiftTab), to maximise coverage
* handleIOSTouchEvents.test.ts - first draft
* handleIOSTouchEvents.test.ts - second draft
* handleIOSTouchEvents.test.ts - cleaned up code
* handleIOSTouchEvents.test.ts - properly testing keypadFix scenario
* tidying up "partial" tests: cleaning up callbacks, using constants
* handleIOSTouchEvents.test.ts - adding final tests
* Removing some console.logs
* Cleaning up SecuredFields constants
2023-12-18 16:31:27 +01:00
Yu Long
5ec16b6756
test(klarna-widget): added tests ( #2493 )
2023-12-18 15:41:28 +01:00
github-actions[bot]
a2fe84f444
[ci] release main ( #2491 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-13 08:57:08 -03:00
Guilherme Ribeiro
d1c9282980
Fix: Loading logos when handling qrCode/await actions ( #2490 )
...
* fix: getting proper logos for actions
* changeset
2023-12-13 08:04:24 -03:00
github-actions[bot]
daeb70504a
[ci] release main ( #2479 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-12 13:35:31 +01:00
sponglord
b21c0f2aec
Bumping sf version to 4.8.0 ( #2488 )
...
* Bumping sf version to 4.8.0
* Adding changeset file
2023-12-11 12:26:03 +01:00
dependabot[bot]
92a832d35e
chore(deps-dev): bump vite from 4.5.0 to 4.5.1 in /packages/lib ( #2481 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.1/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.1/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 10:46:42 +01:00
renovate[bot]
b7ae59c801
chore(deps): update dependency eslint to v8.53.0 ( #2480 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 10:46:16 +01:00
renovate[bot]
3f5ed390fb
chore(deps): update dependency postcss-loader to v7 ( #2464 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 17:10:38 +01:00
renovate[bot]
943665fc98
chore(deps): update dependency lint-staged to v15 ( #2462 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 17:04:24 +01:00
sponglord
27419b5f61
Fix/detect in iframe fix ( #2475 )
...
* detectInIframe fn fix
* detectInIframe renamed to the more accurate (if lengthy!) detectInIframeInAccessibleDomain
* adding changeset file
* changed import in unit test
* Changed check for reading window.parent.location
* Clarified function name and purpose (via comments)
* update comment in changeset file
2023-12-06 12:57:52 +01:00
github-actions[bot]
cf61531b1d
[ci] release main
2023-12-04 12:41:40 +00:00
Guilherme Ribeiro
9b688845b9
Klarna B2B - Fixing logo on Drop-in ( #2458 )
...
* fix: getting icon using type() function instead of constructor type
* feat: changeset + removed duplicated methods
* fix: removed only frag on unit test
2023-12-04 13:40:12 +01:00
António Ferreira
9d04b6f7ee
Feature: Adds onAddressSelected to address lookup functionality ( #2406 )
...
* feat: adds onAddresSelected
* fix: change memo to callback
* fix: makes some fnc to useCallback
* feat: typings and blur on close
* add: changeset
* fix: typo in changset
* fix: exported debounce
* add: fix typings
* add: unit test to address search
* fix: assertion count
* fix: sonar cloud code smells
2023-12-04 13:11:06 +01:00
Guilherme Ribeiro
f0aefbdee3
Storybook - Adjusted GooglePay/ApplePay express stories ( #2468 )
2023-12-04 10:41:19 +01:00
Yu Long
54d056b38b
Fix/redirect component to pass browser info ( #2469 )
...
* fix(redirect): collect browserInfo
* test: add unit test
* refactor(giropay-redirect): remove formatData override
* chore: add the changeset
2023-12-04 10:36:19 +01:00
Guilherme Ribeiro
fcf40a1f71
Click to Pay - 3rd party cookies ( #2409 )
...
* feat: storing cookies
* feat: tests
* feat: timeout adjust
* fix: removed log
* fix: checking checkbox + styles
* fix: using input email
* feat: ui changes
* feat: removing truncating text feature
* feat: changeset
* fix: code review points
* fix: margins
* feat: translations
* feat: truncating text feature back
* feat: email
* fix: update drop shadow
2023-12-04 09:38:04 +01:00
Guilherme Ribeiro
d7b5dd7bb3
Click to Pay - Replacing loading gif by CSS animation ( #2435 )
...
* feat: ctp loading image improvement
* fix: changeset
2023-12-04 09:37:12 +01:00
sponglord
f461447e8b
card_stop adding credit/debit class to non-cards ( #2465 )
...
* card_stop adding credit/debit class to non-cards
* Adding changeset file
2023-11-23 14:09:53 +01:00
Guilherme Ribeiro
4e6f174da7
Updating Playwright to 1.39.0 ( #2448 )
...
* dep: updating version
* fix: ancv fix
* fix typo
2023-11-23 14:06:31 +01:00
sponglord
e5bc41897f
new playwright tests to replace the testcafe "usual suspects" ( #2438 )
...
* new playwright tests to replace the testcafe "usual suspects"
* Adding "regular" customCard tests for expiryDatePolicies
* Adding "separate" customCard tests for expiryDatePolicies
* Deleting replaced testcafe tests
* Creating dropin page, fixture, model and first test
* First dropin test, for default view of card brands, passes
* Test cover both defaultView and compactView
* cardBrands test moved to separate files inside a 'cardBrands' directory
* Test cover both defaultView and compactView when 'excluded' brands are present
* Utils added that creates Credit Card related references and functionalities for the Dropin
* Deleted replaced e2e tests
2023-11-23 13:19:49 +01:00
renovate[bot]
ea6fa108d6
chore(deps): update dependency eslint-plugin-testing-library to v6 ( #2456 )
...
* chore(deps): update dependency eslint-plugin-testing-library to v6
* fix: fix version
* fix: lint
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com >
2023-11-23 11:21:49 +01:00
renovate[bot]
4caeb839a4
chore(deps): update dependency @testing-library/jest-dom to v6 ( #2455 )
...
* chore(deps): update dependency @testing-library/jest-dom to v6
* feat: types
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com >
2023-11-23 10:53:18 +01:00
renovate[bot]
5ba3732016
chore(deps): update dependency @types/jest to v29.5.7 ( #2451 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 12:51:53 +01:00
renovate[bot]
4fd8435bec
chore(deps): update typescript-eslint monorepo to v5.62.0 ( #2446 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 10:50:19 +01:00
renovate[bot]
315aa45ea3
chore(deps): update dependency webpack-dev-server to v4.15.1 ( #2444 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 16:53:26 +01:00
renovate[bot]
a7bb79eeba
chore(deps): update dependency webpack-cli to v5.1.4 ( #2443 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:35:27 +01:00
renovate[bot]
8becb8dd06
chore(deps): update dependency sass to v1.69.5 ( #2442 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:34:46 +01:00
renovate[bot]
30a977e8e8
chore(deps): update dependency tslib to v2.6.2 ( #2434 )
...
* chore(deps): update dependency tslib to v2.6.2
* fix: fixed tslib type
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com >
2023-11-20 14:34:11 +01:00
renovate[bot]
80a095a6ee
chore(deps): update dependency vite to v4.5.0 ( #2436 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:33:44 +01:00
renovate[bot]
769d6c6774
chore(deps): update dependency eslint to v8.52.0 ( #2431 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:29:03 +01:00
renovate[bot]
c0435f268c
chore(deps): update dependency webpack to v5.89.0 ( #2437 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:19:15 +01:00
github-actions[bot]
ff8fb6fc0e
[ci] release main ( #2439 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-20 10:56:08 +01:00
Yu Long
639f69ff12
Merge pull request #2422 from Adyen/fix-riverty-terms-urls
...
fix: correct the Riverty consent links
2023-11-20 10:22:30 +01:00
Yu Long
37c25db99d
fix(CompanyDetails) company name
2023-11-17 14:28:15 +01:00
guilhermer
54a071db38
feat: translations
2023-11-17 13:09:04 +01:00
Yu Long
e8b2f02117
update stylelint rule
2023-11-17 13:07:39 +01:00
Yu Long
c6dac0b111
refactor: console a warning when no consent url
2023-11-16 13:27:33 +01:00
renovate[bot]
996507d3a1
chore(deps): update dependency stylelint to v15.11.0 ( #2432 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 16:27:44 +01:00
renovate[bot]
2b70be404b
chore(deps): update dependency concurrently to v8.2.2 ( #2429 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 13:35:10 +01:00
renovate[bot]
5ffd51c86c
chore(deps): update dependency @types/jest to v29.5.6 ( #2426 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 13:28:14 +01:00
renovate[bot]
3e5e707cce
chore(deps): update dependency sass to v1.69.4 ( #2419 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 11:26:01 +01:00
Yu Long
47bb84386a
fix: linting error
2023-11-08 15:20:43 +01:00
Yu Long
feda584cd4
fix: correct the Riverty consent links
2023-11-08 14:36:40 +01:00
renovate[bot]
dff5aa9887
chore(deps): update dependency concurrently to v8.2.1 ( #2401 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:19:29 +01:00
renovate[bot]
2e9d9f81d5
chore(deps): update dependency eslint to v8.51.0 ( #2413 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 11:35:27 +01:00
renovate[bot]
bb68dd3cfb
chore(deps): update dependency @testing-library/user-event to v14.5.1 ( #2400 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-06 14:50:15 +01:00
renovate[bot]
09dea3289e
chore(deps): update dependency vite to v4.4.11 ( #2378 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 15:33:33 +02:00
renovate[bot]
c069251574
chore(deps): update dependency @testing-library/jest-dom to v5.17.0 ( #2389 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 15:25:31 +02:00