Skip to content

Commit

Permalink
Added missing calls to load url
Browse files Browse the repository at this point in the history
  • Loading branch information
sponglord committed Dec 18, 2024
1 parent 2616420 commit 6869980
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import { BCMC_DUAL_BRANDED_VISA, DUAL_BRANDED_CARD, TEST_CVC_VALUE, TEST_DATE_VA
import { URL_MAP } from '../../../fixtures/URL_MAP';

test('BCMC logo should have correct alt text', async ({ bcmc }) => {
await bcmc.goto(URL_MAP.bcmc);
await bcmc.typeCardNumber('41');
expect(bcmc.rootElement.getByAltText(/bancontact card/i)).toBeTruthy();
});

test('Visa logo should have correct alt text', async ({ bcmc }) => {
await bcmc.goto(URL_MAP.bcmc);
await bcmc.typeCardNumber(VISA_CARD);
expect(bcmc.rootElement.getByAltText(/visa/i)).toBeTruthy();
});
Expand Down

0 comments on commit 6869980

Please sign in to comment.