Skip to content

Commit

Permalink
Delete console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Lorena Rodriguez Viruel authored and Maria Lorena Rodriguez Viruel committed Feb 6, 2024
1 parent 03e7233 commit b2c57b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ const invalidBarcodeImagePath = path.join(__dirname, '/images/invalid-barcode.jp

describe('Test Contact Search with Barcode Scanner', async () => {
before(async () => {
// eslint-disable-next-line no-undef
const currentUserAgent = await browser.execute(() => navigator.userAgent);
console.log('Barcode Scanner Current User Agent:', currentUserAgent);
await utils.saveDocs([...places.values(), person]);
await utils.createUsers([offlineUser]);
const canUseBarcodeScannerPermission = ['can_use_barcode_scanner'];
Expand Down
5 changes: 1 addition & 4 deletions tests/e2e/default-mobile/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,10 @@ exports.config = Object.assign(wdioBaseConfig.config, {
width: 600,
height: 960,
isMobile: true,
hasTouch: true,
hasTouch: true
},
userAgent: `Mozilla/5.0 (Linux; Android ${ANDROID_VERSION}; IN2010) AppleWebKit/537.36 (KHTML, like Gecko) ` +
`Chrome/${MOBILE_CHROME_VERSION} Mobile Safari/537.36`
});
// eslint-disable-next-line no-undef
const currentUserAgent = await browser.execute(() => navigator.userAgent);
console.log('Current User Agent:', currentUserAgent);
}
});

0 comments on commit b2c57b1

Please sign in to comment.