关于Firebase测试实验室:
我目前正在尝试使用robo-directives
选项为Firebase测试实验室提供自定义登录,但它无效:
--robo-directives text:sign_in_email_edit_text=test@gmail.com,text:sign_in_password_edit_text=123456,click:sign_in_action_button=
找不到电子邮件字段,也没有点击登录按钮。它只会在密码字段中添加123456
123456
添加到密码字段任何提示?我想上个月它有效,但我找不到任何改变。我的编辑文本在TextInputEditText
内TextInputLayout
,而我的按钮是普通Button
。
其他信息:
gcloud version
Google Cloud SDK 175.0.0
bq 2.0.27
core 2017.10.09
gsutil 4.27
A robo directive was not used in the crawl.
答案 0 :(得分:0)
仅当我们选择dates = datas['Date']
serials = datas['Serial_No']
#24 lines like these
print(len(dates))
dt_dates = [datetime.strptime(date, '%Y-%m-%d %H:%M:%S') for date in dates]
#Simulate invalid date here
in_between_dates = []
in_between_serial = []
#24 lines like these
for i,d in enumerate(dt_dates,0):
try:
if d.date() >= Start_Date.get_date() and d.date() <= End_Date.get_date():
in_between_dates.append(d)
in_between_serial.append(serials[i])
except:
print('Invalid date skipped')
设备进行测试时,我们才遇到此问题。它适用于Virtual
设备...