Skip to content

Commit

Permalink
Fix behat test
Browse files Browse the repository at this point in the history
  • Loading branch information
MishNajam committed Nov 29, 2023
1 parent 88ee7c8 commit 509fe81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service-front/app/features/context/UI/AccountContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -2078,11 +2078,11 @@ public function iClickTheOneLoginButton(): void
public function iHaveLoggedInToOneLogin($language): void
{
$this->iAmOnTheTemporaryOneLoginPage();
$this->iClickTheOneLoginButton();
$language = $language === 'English' ? 'en' : 'cy';
if ($language === 'cy') {
$this->iSelectTheWelshLanguage();
}
$this->iClickTheOneLoginButton();
}

/**
Expand Down

0 comments on commit 509fe81

Please sign in to comment.