Skip to content

Commit

Permalink
Merge pull request #1715 from Adyen/fix/ensure_side_menu_in_giftCard_…
Browse files Browse the repository at this point in the history
…playground

Ensure side menu shows on Gift card playground page & other small fixes
  • Loading branch information
sponglord authored Aug 29, 2022
2 parents ebf08be + 6384e88 commit d211a14
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test('#1 Testing optional expiryDatePolicy - how UI & state respond', async t =>
.eql(false);
});

test('#2 Testing optional expiryDatePolicy - how securedField responds', async t => {
test('#2 Testing optional expiryDatePolicy, in regular Custom Card - how securedField responds', async t => {
// Wait for field to appear in DOM
await cardPage.numHolder();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ test('#1 Testing optional expiryDatePolicy - how UI & state respond', async t =>
.eql(false);
});

test('#2 Testing optional expiryDatePolicy - how securedFields respond', async t => {
test('#2 Testing optional expiryDatePolicy, in Custom Card w. separate date fields - how securedFields respond', async t => {
// Wait for field to appear in DOM
await cardPage.numHolder();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('PayButton', () => {
secondaryAmount: { currency: 'HRK', value: 7534 }
});
// secondary amount indicators
expect(wrapper.text()).toContain('/');
expect(wrapper.text()).toContain(PAY_BTN_DIVIDER);
expect(wrapper.text()).toContain('75.34');

expect(wrapper.getDOMNode().nodeName).toBe('BUTTON');
Expand Down
3 changes: 2 additions & 1 deletion packages/playground/src/pages/GiftCards/GiftCards.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ <h2>Gift Card Component (w/ Sessions)</h2>
</p>
</div>
</main>

<script type="text/javascript">
window.htmlPages = <%= JSON.stringify(htmlWebpackPlugin.htmlPages) || '' % >;
window.htmlPages = <%= JSON.stringify(htmlWebpackPlugin.htmlPages) || '' %>;
</script>
</body>
</html>

0 comments on commit d211a14

Please sign in to comment.