Skip to content

Commit

Permalink
[TASK] Stabilize acceptance tests
Browse files Browse the repository at this point in the history
Some acceptance tests tends to produce errors
in the JavaScript console. This can be mitigated
by using a higher waitTime for `useExistingSession`.

Additionally, missing badges are added to the
README.md file.

Releases: main
  • Loading branch information
sbuerk authored and lolli42 committed Sep 18, 2023
1 parent 1d9bed3 commit bdb9965
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
![tests](https://github.com/TYPO3/styleguide/workflows/tests/badge.svg)
![tests-ac-mariadb-mysqli](https://github.com/TYPO3/styleguide/actions/workflows/tests-ac-mariadb-mysqli.yml/badge.svg)
![tests-ac-mariadb-pdo-mysql](https://github.com/TYPO3/styleguide/actions/workflows/tests-ac-mariadb-pdo-mysql.yml/badge.svg)
![tests-ac-mysql-mysqli](https://github.com/TYPO3/styleguide/actions/workflows/tests-ac-mysql-mysqli.yml/badge.svg)
![tests-ac-mysql-pdo-mysql](https://github.com/TYPO3/styleguide/actions/workflows/tests-ac-mysql-pdo-mysql.yml/badge.svg)
![tests-ac-postgres](https://github.com/TYPO3/styleguide/actions/workflows/tests-ac-postgres.yml/badge.svg)

TYPO3 CMS Backend Styleguide
============================
Expand Down
2 changes: 1 addition & 1 deletion Tests/Acceptance/Backend/ModuleCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ModuleCest
*/
public function _before(BackendTester $I)
{
$I->useExistingSession('admin');
$I->useExistingSession('admin', 1);
$I->click(Topbar::$dropdownToggleSelector, self::$topBarModuleSelector);
$I->canSee('Styleguide', self::$topBarModuleSelector);
$I->click('Styleguide', self::$topBarModuleSelector);
Expand Down

0 comments on commit bdb9965

Please sign in to comment.