Skip to content

Commit

Permalink
fix: added authProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
darkoatanasovski committed Jan 12, 2023
1 parent 5c4f5a8 commit 6047d31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test-e2e/tests/account_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const firstName = 'John Q.';
const lastName = 'Tester';

Feature('account').retry(Number(process.env.TEST_RETRY_COUNT) || 0);
const configs = new DataTable(['config', 'resetPasswordType', 'canEditEmail']);
configs.add([testConfigs.svod, 'resetlink', true]);
configs.xadd([testConfigs.inplayerSvod, 'direct', false]);
const configs = new DataTable(['config', 'authProvider', 'resetPasswordType', 'canEditEmail']);
configs.add([testConfigs.svod, 'Cleeng', 'resetlink', true]);
configs.xadd([testConfigs.inplayerSvod, 'InPlayer', 'direct', false]);

Data(configs).Scenario('I can see my account data', async ({ I, current }) => {
loginContexts[current.config.label] = await I.beforeAccount(current.config, loginContexts[current.config.label], firstName, lastName);
Expand Down Expand Up @@ -45,7 +45,7 @@ Data(configs).Scenario('I can see my account data', async ({ I, current }) => {
I.see('Edit information');

I.see('Terms & tracking');
I.see(`I accept the Terms and Conditions of ${current.config.label}.`);
I.see(`I accept the Terms and Conditions of ${current.authProvider}.`);
I.see(consentCheckbox);

I.seeInCurrentUrl(constants.accountsUrl);
Expand Down

0 comments on commit 6047d31

Please sign in to comment.