Skip to content

Commit

Permalink
[TASK] run acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
achimfritz committed Dec 22, 2024
1 parent 50e08f6 commit ecf0ec0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Tests/Acceptance/Backend/ContentDefenderCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function canCreateChildIn2ColsContainerWithNoContentDefenderRestrictionsD
}
$I->waitForText('Header Only');
$I->see('Header Only');
$I->see('Regular Text Element');
$I->see('Images Only');
}

/**
Expand All @@ -81,7 +81,7 @@ public function doNotSeeNotAllowedContentElementsInNewContentElementWizard(Backe
$I->executeJS("document.querySelector('" . $I->getNewRecordWizardSelector() . "').filter('header ')");
}
$I->waitForText('Header Only');
$I->dontSee('Regular Text Element');
$I->dontSee('Images Only');
}

/**
Expand Down Expand Up @@ -124,7 +124,7 @@ public function doNotSeeNotAllowedContentElementsInNewContentElementWizardTrigge
$I->executeJS("document.querySelector('" . $I->getNewRecordWizardSelector() . "').filter('header ')");
}
$I->waitForText('Header Only');
$I->dontSee('Regular Text Element');
$I->dontSee('Images Only');
}

/**
Expand Down Expand Up @@ -164,7 +164,7 @@ public function doNotSeeNotAllowedContentElementsInCTypeSelectBoxWhenCreateNewEl
$I->switchToContentFrame();
$I->wait(0.5);
$I->see('textmedia', 'select');
$I->dontSee('Regular Text Element', 'select');
$I->dontSee('Images Only', 'select');
}

/**
Expand All @@ -185,7 +185,7 @@ public function doNotSeeNotAllowedContentElementsInCTypeSelectBoxWhenEditAnEleme
$I->click('#element-tt_content-502 a[title="Edit"]');
$I->waitForElement('#EditDocumentController');
$I->see('textmedia', 'select');
$I->dontSee('Regular Text Element', 'select');
$I->dontSee('Images Only', 'select');
}

/**
Expand Down Expand Up @@ -286,7 +286,7 @@ public function seeEditDocumentWhenAddingChildrenToColposWhereOnlyHeaderIsAllowe
$I->switchToContentFrame();
$I->wait(0.5);
$I->see('header', 'select');
$I->dontSee('Regular Text Element', 'select');
$I->dontSee('Images Only', 'select');
}

}

0 comments on commit ecf0ec0

Please sign in to comment.