Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kate/80180/Update_DP2P_content_on_cashier_page #7233

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('<CashierOnboarding />', () => {
expect(screen.getByText('Deposit with Deriv P2P')).toBeInTheDocument();
expect(
screen.getByText(
'Deposit in your local currency via peer-to-peer exchange with fellow traders in your country.'
'Deposit with your local currency via peer-to-peer exchange with fellow traders in your country.'
)
).toBeInTheDocument();
});
Expand Down Expand Up @@ -268,7 +268,7 @@ describe('<CashierOnboarding />', () => {
const node_list = screen.getAllByTestId('dt_cashier_onboarding_detail_div');
const deposit_with_dp2p_detail_div = Array.from(node_list).find(node =>
node.textContent.includes(
'Deposit in your local currency via peer-to-peer exchange with fellow traders in your country.'
'Deposit with your local currency via peer-to-peer exchange with fellow traders in your country.'
)
);
fireEvent.click(deposit_with_dp2p_detail_div);
Expand All @@ -289,7 +289,7 @@ describe('<CashierOnboarding />', () => {
const node_list = screen.getAllByTestId('dt_cashier_onboarding_detail_div');
const deposit_with_dp2p_detail_div = Array.from(node_list).find(node =>
node.textContent.includes(
'Deposit in your local currency via peer-to-peer exchange with fellow traders in your country.'
'Deposit with your local currency via peer-to-peer exchange with fellow traders in your country.'
)
);
fireEvent.click(deposit_with_dp2p_detail_div);
Expand All @@ -307,7 +307,7 @@ describe('<CashierOnboarding />', () => {
const node_list = screen.getAllByTestId('dt_cashier_onboarding_detail_div');
const deposit_with_dp2p_detail_div = Array.from(node_list).find(node =>
node.textContent.includes(
'Deposit in your local currency via peer-to-peer exchange with fellow traders in your country.'
'Deposit with your local currency via peer-to-peer exchange with fellow traders in your country.'
)
);
fireEvent.click(deposit_with_dp2p_detail_div);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const createDp2pProvider = onClick => {
return {
detail_click: onClick,
detail_description: localize(
'Deposit in your local currency via peer-to-peer exchange with fellow traders in your country.'
'Deposit with your local currency via peer-to-peer exchange with fellow traders in your country.'
),
detail_header: localize('Deposit with Deriv P2P'),
};
Expand Down