browsertime 16.13.0 → 16.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 16.13.1 - 2022-08-10
4
+ ### Fixed
5
+ * Make sure that Android id is always picked up from the phone if tests run on Android [#1826](https://github.com/sitespeedio/browsertime/pull/1826).
6
+
3
7
  ## 16.13.0 - 2022-08-08
4
8
  ### Added
5
9
  * Upgraded to Edgedriver 104.
@@ -161,13 +161,16 @@ class Android {
161
161
  const name = (await adb.util.readAll(rawName)).toString().trim();
162
162
  const rawDevice = await this._runCommand(`getprop ro.product.device`);
163
163
  const device = (await adb.util.readAll(rawDevice)).toString().trim();
164
+ const rawId = await this._runCommand(`getprop ro.serialno`);
165
+ const id = (await adb.util.readAll(rawId)).toString().trim();
166
+
164
167
  const rawRelease = await this._runCommand(
165
168
  `getprop ro.build.version.release `
166
169
  );
167
170
  const androidVersion = (await adb.util.readAll(rawRelease))
168
171
  .toString()
169
172
  .trim();
170
- return { model, name, device, androidVersion };
173
+ return { model, name, device, androidVersion, id };
171
174
  }
172
175
 
173
176
  async pullNetLog(destination) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "description": "Browsertime",
3
- "version": "16.13.0",
3
+ "version": "16.13.1",
4
4
  "bin": "./bin/browsertime.js",
5
5
  "dependencies": {
6
6
  "@cypress/xvfb": "1.2.4",