Skip to content

Commit

Permalink
Disable offline MockBot
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Feb 27, 2020
1 parent d5ef203 commit 3613240
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions __tests__/customizableAvatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ describe('customizable avatar', () => {
const props = createDefaultProps();
const { driver, pageObjects } = await setupWebDriver({
height: 768,
props
props,
// TODO: [P1] #2954 Currently, offline MockBot has bugs that randomize the activity order.
useProductionBot: true
});

await driver.wait(uiConnected(), timeouts.directLine);
Expand Down Expand Up @@ -99,7 +101,9 @@ describe('customizable avatar', () => {
const props = createFullCustomizedProps();
const { driver, pageObjects } = await setupWebDriver({
height: 768,
props
props,
// TODO: [P1] #2954 Currently, offline MockBot has bugs that randomize the activity order.
useProductionBot: true
});

await driver.wait(uiConnected(), timeouts.directLine);
Expand Down Expand Up @@ -130,7 +134,9 @@ describe('customizable avatar', () => {
props = { ...props, styleOptions: { ...props.styleOptions, userAvatarInitials: undefined } };

const { driver, pageObjects } = await setupWebDriver({
props
props,
// TODO: [P1] #2954 Currently, offline MockBot has bugs that randomize the activity order.
useProductionBot: true
});

await driver.wait(uiConnected(), timeouts.directLine);
Expand Down Expand Up @@ -159,7 +165,9 @@ describe('customizable avatar', () => {
props = { ...props, styleOptions: { ...props.styleOptions, userAvatarInitials: undefined } };

const { driver, pageObjects } = await setupWebDriver({
props
props,
// TODO: [P1] #2954 Currently, offline MockBot has bugs that randomize the activity order.
useProductionBot: true
});

await driver.wait(uiConnected(), timeouts.directLine);
Expand Down Expand Up @@ -191,7 +199,9 @@ describe('customizable avatar', () => {

const { driver, pageObjects } = await setupWebDriver({
height: 768,
props
props,
// TODO: [P1] #2954 Currently, offline MockBot has bugs that randomize the activity order.
useProductionBot: true
});

await driver.wait(uiConnected(), timeouts.directLine);
Expand Down Expand Up @@ -224,7 +234,9 @@ describe('customizable avatar', () => {

const { driver, pageObjects } = await setupWebDriver({
height: 768,
props
props,
// TODO: [P1] #2954 Currently, offline MockBot has bugs that randomize the activity order.
useProductionBot: true
});

await driver.wait(uiConnected(), timeouts.directLine);
Expand Down Expand Up @@ -255,7 +267,9 @@ describe('customizable avatar', () => {
props = { ...props, locale: 'ar-EG', styleOptions: { ...props.styleOptions, userAvatarInitials: undefined } };

const { driver, pageObjects } = await setupWebDriver({
props
props,
// TODO: [P1] #2954 Currently, offline MockBot has bugs that randomize the activity order.
useProductionBot: true
});

await driver.wait(uiConnected(), timeouts.directLine);
Expand Down Expand Up @@ -284,7 +298,9 @@ describe('customizable avatar', () => {
props = { ...props, locale: 'ar-EG', styleOptions: { ...props.styleOptions, userAvatarInitials: undefined } };

const { driver, pageObjects } = await setupWebDriver({
props
props,
// TODO: [P1] #2954 Currently, offline MockBot has bugs that randomize the activity order.
useProductionBot: true
});

await driver.wait(uiConnected(), timeouts.directLine);
Expand Down Expand Up @@ -318,7 +334,9 @@ test('customize size and roundness of avatar', async () => {
botAvatarInitials: 'WC',
userAvatarInitials: 'WW'
}
}
},
// TODO: [P1] #2954 Currently, offline MockBot has bugs that randomize the activity order.
useProductionBot: true
});

await driver.wait(uiConnected(), timeouts.directLine);
Expand Down

0 comments on commit 3613240

Please sign in to comment.