createId static method
String
createId({
- required TestDeviceInfo deviceInfo,
- String? suiteName,
- required String testName,
Implementation
static String createId({
required TestDeviceInfo deviceInfo,
String? suiteName,
required String testName,
}) {
final suitePrefix = suiteName?.isNotEmpty == true ? '${suiteName}_' : '';
return '${suitePrefix}${testName}_${deviceInfo.appIdentifier}_${deviceInfo.os}_${deviceInfo.systemVersion}_${deviceInfo.model}_${deviceInfo.device}_${deviceInfo.orientation}_${deviceInfo.pixels?.height}_${deviceInfo.pixels?.width}';
}