jjzjj

seeInField

全部标签

php - seeInField 找到元素,而 fillField 没有 - CodeCeption

我是CodeCeption的新手。我在正文中有以下html,在CodeCeption验收测试中,我有以下代码`wantTo('fillfieldtest');$I->amOnPage('/');$I->seeInField('#contentId',123);$I->fillField('#contentId',222397);?>`seeInField测试成功通过,但fillField抛出错误抱歉,我无法填写字段“#contentId”,222397InvalidArgumentException:当前节点列表为空这阻止了我继续前进。帮我解决这个问题。 最