Update error message

parent d3ae87b0
......@@ -26,7 +26,7 @@ const ERROR_FETCH_SITE_PROFILES = 'ERROR_FETCH_SITE_PROFILES';
const ERROR_MESSAGES = {
[ERROR_RUN_SCAN]: s__('OnDemandScans|Could not run the scan. Please try again.'),
[ERROR_FETCH_SITE_PROFILES]: s__(
'OnDemandScans|Could not fetch site profiles. Please try again.',
'OnDemandScans|Could not fetch site profiles. Please refresh the page, or try again later.',
),
};
......
......@@ -210,7 +210,9 @@ describe('OnDemandScansApp', () => {
const alert = findAlert();
expect(alert.exists()).toBe(true);
expect(alert.props('dismissible')).toBe(false);
expect(alert.text()).toContain('Could not fetch site profiles. Please try again.');
expect(alert.text()).toContain(
'Could not fetch site profiles. Please refresh the page, or try again later.',
);
});
});
......
......@@ -16655,7 +16655,7 @@ msgstr ""
msgid "OnDemandScans|Attached branch is where the scan job runs."
msgstr ""
msgid "OnDemandScans|Could not fetch site profiles. Please try again."
msgid "OnDemandScans|Could not fetch site profiles. Please refresh the page, or try again later."
msgstr ""
msgid "OnDemandScans|Could not run the scan. Please try again."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment