File tree Expand file tree Collapse file tree
tests/acceptance/features/bootstrap Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 <div class="warning-info"><?php p ($ l ->t ('This share is password-protected ' )); ?> </div>
1818 <?php endif ; ?>
1919 <?php if (isset ($ _ ['wrongpw ' ])): ?>
20- <div class="warning"><?php p ($ l ->t ('The password is wrong. Try again. ' )); ?> </div>
20+ <div class="warning wrongPasswordMsg "><?php p ($ l ->t ('The password is wrong or expired. Please try again or request a new one . ' )); ?> </div>
2121 <?php endif ; ?>
2222 <p>
2323 <label for="password" class="infield"><?php p ($ l ->t ('Password ' )); ?> </label>
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public static function authenticateButton() {
4848 * @return Locator
4949 */
5050 public static function wrongPasswordMessage () {
51- return Locator::forThe ()->xpath ( " //*[@class = ' warning' and normalize-space() = 'The password is wrong. Try again.'] " )->
51+ return Locator::forThe ()->css ( " . warning .wrongPasswordMsg " )->
5252 describedAs ("Wrong password message in Authenticate page " );
5353 }
5454
You can’t perform that action at this time.
0 commit comments