|
@@ 215-221 (lines=7) @@
|
| 212 |
|
* |
| 213 |
|
* @When I save the layout as custom |
| 214 |
|
*/ |
| 215 |
|
public function saveLayoutAsCustom() { |
| 216 |
|
$this->assertSession() |
| 217 |
|
->elementExists('named', ['link', 'Save as custom'], $this->openTab('Save')) |
| 218 |
|
->click(); |
| 219 |
|
|
| 220 |
|
$this->minkContext->iWaitForAjaxToFinish(); |
| 221 |
|
} |
| 222 |
|
|
| 223 |
|
/** |
| 224 |
|
* Saves the current IPE layout as a default layout. |
|
@@ 228-234 (lines=7) @@
|
| 225 |
|
* |
| 226 |
|
* @When I save the layout as default |
| 227 |
|
*/ |
| 228 |
|
public function saveLayoutAsDefault() { |
| 229 |
|
$this->assertSession() |
| 230 |
|
->elementExists('named', ['link', 'Save as default'], $this->openTab('Save')) |
| 231 |
|
->click(); |
| 232 |
|
|
| 233 |
|
$this->minkContext->iWaitForAjaxToFinish(); |
| 234 |
|
} |
| 235 |
|
|
| 236 |
|
/** |
| 237 |
|
* Places a block into a Panels IPE layout. |