From 46d0b8a4958b19a677430cfd6a8ec16a673c659d Mon Sep 17 00:00:00 2001 From: Pedro de Oliveira Guedes Date: Wed, 5 Jan 2022 15:14:54 -0300 Subject: [PATCH] Chrome eval metod test improvements. --- api/chrome/features/steps/steps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/chrome/features/steps/steps.py b/api/chrome/features/steps/steps.py index c762d2b..1377218 100644 --- a/api/chrome/features/steps/steps.py +++ b/api/chrome/features/steps/steps.py @@ -75,5 +75,5 @@ def step_impl(context): @then("this command must give back a value") def step_impl(context): - assert 'value' in context.eval_value['result']['result'], "The command did not worked as expected." + assert context.eval_value != None, "The command did not worked as expected." context.client.stop() \ No newline at end of file