提交 f6054056 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

update: getDeviceInfo自动化测试例

上级 7783f427
...@@ -7,6 +7,7 @@ describe('ExtApi-GetDeviceInfo', () => { ...@@ -7,6 +7,7 @@ describe('ExtApi-GetDeviceInfo', () => {
const stringProperties = [ const stringProperties = [
'brand', 'deviceBrand', 'deviceId', 'model', 'deviceModel', 'brand', 'deviceBrand', 'deviceId', 'model', 'deviceModel',
'deviceType', 'devicePixelRatio', 'system', 'platform', 'uniRuntimeVersion', 'deviceType', 'devicePixelRatio', 'system', 'platform', 'uniRuntimeVersion',
'osName', 'osVersion', 'osLanguage', 'osTheme', 'romName', 'romVersion'
] ]
beforeAll(async () => { beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH) page = await program.reLaunch(PAGE_PATH)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册