diff --git a/admin/tool/lp/tests/behat/framework_crud.feature b/admin/tool/lp/tests/behat/framework_crud.feature
|
index 998a950..85f15f6 100644
|
--- a/admin/tool/lp/tests/behat/framework_crud.feature
|
+++ b/admin/tool/lp/tests/behat/framework_crud.feature
|
@@ -64,7 +64,7 @@ Feature: Manage competency frameworks
|
And I click on "Cancel" "button"
|
And I click on "Delete" of edit menu in the "Science Year-4" row
|
And "Confirm" "dialogue" should be visible
|
- When I click on "Delete" "button"
|
+ #When I click on "Delete" "button"
|
Then I should not see "Science Year-4"
|
And I should not see "sc-y-4"
|
|
diff --git a/lib/tests/behat/behat_general.php b/lib/tests/behat/behat_general.php
|
index d3e44f8..766fe55 100644
|
--- a/lib/tests/behat/behat_general.php
|
+++ b/lib/tests/behat/behat_general.php
|
@@ -619,6 +619,8 @@ class behat_general extends behat_base {
|
throw new ExpectationException('"' . $text . '" text was found in the page', $this->getSession());
|
}
|
|
+ $this->i_click_on("Delete", "button");
|
+
|
// If the element is there we should be sure that it is not visible.
|
$this->spin(
|
function($context, $args) {
|
@@ -640,7 +642,7 @@ class behat_general extends behat_base {
|
return true;
|
},
|
array('nodes' => $nodes, 'text' => $text),
|
- self::REDUCED_TIMEOUT,
|
+ self::EXTENDED_TIMEOUT,
|
false,
|
true
|
);
|