Skip to content

Commit

Permalink
Regexp fix for Jenkins job automation test (locale) (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiotrowski1 authored Feb 14, 2020
1 parent 39b50a8 commit d02bfb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion functional/cypress-tests/cypress/support/widgetAssertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ export function validateIframeEmbed(widget) {
export function validateJenkinsJob(widget) {
widget
.assertText('p', 'master-branch')
.assertText('p', /[0-9]{2}.[0-9]{2}.[0-9]{4}, [0-9]{2}:[0-9]{2}:[0-9]{2}/)
.assertText(
'p',
/[0-9]{2}[.|/][0-9]{2}[.|/][0-9]{4}, [0-9][0-9]?:[0-9]{2}:[0-9]{2}/
)
.assertText('p', '0.25 [s]')
.assertText('span', '#6')
.progressVisible();
Expand Down

0 comments on commit d02bfb4

Please sign in to comment.