Merge branch release/21.7.4 of zentao/zentaopms (#10758)
This commit is contained in:
@@ -12,6 +12,7 @@ class linkStoryTester extends tester
|
||||
public function checkNoProductInfo()
|
||||
{
|
||||
$form = $this->initForm('execution', 'story', array('execution' => '3'), 'appIframe-execution');
|
||||
$form->wait(1);
|
||||
$form->dom->btn($this->lang->execution->linkStory)->click();
|
||||
$form->wait(1);
|
||||
if($form->dom->alertModal('text') == $this->lang->execution->errorNoLinkedProducts) return $this->success('执行未关联产品时提示正确');
|
||||
@@ -28,6 +29,7 @@ class linkStoryTester extends tester
|
||||
public function linkStory()
|
||||
{
|
||||
$form = $this->initForm('execution', 'linkstory', array('execution' => '2'), 'appIframe-execution');
|
||||
$form->wait(1);
|
||||
$name = $form->dom->firstName->getText();
|
||||
$form->dom->firstCheckbox->click();
|
||||
$form->dom->saveBtn->click();
|
||||
|
||||
@@ -13,7 +13,7 @@ class storyPage extends page
|
||||
'num' => "//*[@id='table-execution-story']/div[3]/div[2]/strong[1]",
|
||||
/* 列表 */
|
||||
'firstCheckbox' => "//*[@id='table-execution-story']/div[2]/div[1]/div/div[1]/div/div",
|
||||
'firstName' => "//*[@id='table-execution-story']/div[2]/div[1]/div/div[2]/div/a",
|
||||
'firstName' => "//*[@id='table-execution-story']/div[2]/div[1]//div[@data-col='title']//a",
|
||||
'firstPhase' => "//*[@id='table-execution-story']/div[2]/div[2]/div/div[6]/div/span",
|
||||
'firstAssignTo' => "//*[@id='table-execution-story']/div[2]/div[2]/div/div[7]/div/a/span",
|
||||
'firstUnlinkBtn' => "//*[@id='table-execution-story']/div[2]/div[3]/div/div/div/nav/a[last()]",
|
||||
|
||||
Reference in New Issue
Block a user