diff --git a/demo/helpers/accounts.js b/demo/helpers/accounts.js index 6ed2ba6359..e6e199f943 100644 --- a/demo/helpers/accounts.js +++ b/demo/helpers/accounts.js @@ -5,12 +5,6 @@ const accounts = [ 'DEV0000000NIQ', 'DEV000NINONUS', 'DEV00NINONUSQ', - 'DEV0000000EAZ', - 'DEV0000000EAG', - 'DEV0000000PSZ', - 'DEV0000000PSG', - 'DEV0000000PMZ', - 'DEV0000000PMG', // pay later short term 'DEV0000000GPL', 'DEV00000GPLNQ', diff --git a/tests/functional/spec/non-snapshot-tests/payload.test.js b/tests/functional/spec/non-snapshot-tests/payload.test.js index 3df1bdd880..c43b90bd03 100644 --- a/tests/functional/spec/non-snapshot-tests/payload.test.js +++ b/tests/functional/spec/non-snapshot-tests/payload.test.js @@ -127,7 +127,7 @@ const runTest = async ({ describe('payload testing', () => { const config = { - account: 'DEV00000000NI', + account: 'DEV_US_NO_INTEREST', amount: 500, style: bannerStyles[0] }; @@ -277,7 +277,7 @@ describe('payload testing', () => { config, callback: async ({ bannerFrame, modalFrame }) => { await clickBanner(bannerFrame); - await modalFrame.click(selectors.button.contentHeader); + await modalFrame.click(selectors.button.applynow); }, matchComponentEvents: [ { diff --git a/tests/functional/spec/utils/selectors.js b/tests/functional/spec/utils/selectors.js index bd251a8a4b..988e9ba8ee 100644 --- a/tests/functional/spec/utils/selectors.js +++ b/tests/functional/spec/utils/selectors.js @@ -19,7 +19,7 @@ const selectors = { contentBackground: '.content-background', modalContent: '.content', modalMain: '.main', - contentBody: '.content-body', + contentBody: '.content__body', contentBodyTitle: '.content-body .title', contentBodyTerms: '.content-body .terms', contentHeader: '.content-header', @@ -44,6 +44,7 @@ const selectors = { contentHeader: '.content-header .button', btn: '.button', closeBtn: '#close-btn', + applynow: '.button .content__row', btnSecondary: '.button.secondary', // Used in DE modal instead of .btnSecondary btnMd: '.button.md',