/**
  * @When /^I view the edit form for this field$/
  */
 public function iEditOrCreateContentOfThisType()
 {
     $this->visitPath(sprintf('/content/create/nodraft/%s/eng-GB/2', $this->contentTypeContext->getCurrentContentType()->identifier));
 }
Пример #2
0
 /**
  * @Then /^I am shown the content creation form$/
  */
 public function iAmShownTheContentCreationForm()
 {
     $uri = sprintf('/content/create/nodraft/%s/eng-GB/2', $this->contentTypeContext->getCurrentContentType()->identifier);
     $this->assertPageAddress($uri);
     $this->assertElementOnPage(sprintf('div.ezfield-identifier-%s input[type=text]', self::$constrainedFieldIdentifier));
 }