1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-01 18:32:44 +02:00

Update acceptance test for BS5.

This commit is contained in:
Cameron
2022-04-06 19:33:03 -07:00
parent 2f6dca824f
commit dd7af9b222
4 changed files with 19 additions and 4 deletions

View File

@@ -28,9 +28,10 @@ class InstallCest
$this->checkAdminButtonWelcomeMessage($I);
$this->testNoUpdatesRequired($I);
$this->checkTinyMceIsInstalled($I);
$this->checkBootstrap5Navigation($I);
}
/*
public function installBootstrap3(AcceptanceTester $I)
{
$I->wantTo("Install e107 with bootstrap3");
@@ -45,7 +46,7 @@ class InstallCest
$I->see("United States");
$I->see("Blue");
}
}*/
public function installVoux(AcceptanceTester $I)
{
@@ -180,6 +181,18 @@ class InstallCest
$I->see("Paste as text by default");
}
private function checkBootstrap5Navigation(AcceptanceTester $I)
{
$I->amOnPage('/article-1');
$I->see('Chapter 1','a');
$I->amOnPage('/gallery/gallery-1');
$I->see('horse');
$I->amOnPage('/terms-of-use');
$I->see('Terms of Use','.breadcrumb-item');
}
private function checkAdminButtonWelcomeMessage(AcceptanceTester $I)
{