Skip to content

Commit

Permalink
update no snaps test
Browse files Browse the repository at this point in the history
  • Loading branch information
surekhaw committed Nov 12, 2024
1 parent 360df11 commit ed378de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 0 additions & 6 deletions demo/helpers/accounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ const accounts = [
'DEV0000000NIQ',
'DEV000NINONUS',
'DEV00NINONUSQ',
'DEV0000000EAZ',
'DEV0000000EAG',
'DEV0000000PSZ',
'DEV0000000PSG',
'DEV0000000PMZ',
'DEV0000000PMG',
// pay later short term
'DEV0000000GPL',
'DEV00000GPLNQ',
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/spec/non-snapshot-tests/payload.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const runTest = async ({

describe('payload testing', () => {
const config = {
account: 'DEV00000000NI',
account: 'DEV_US_NO_INTEREST',
amount: 500,
style: bannerStyles[0]
};
Expand Down Expand Up @@ -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: [
{
Expand Down
3 changes: 2 additions & 1 deletion tests/functional/spec/utils/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit ed378de

Please sign in to comment.