diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2019-05-14 02:46:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-14 02:46:55 +0300 |
commit | 4b81b3b8eea9d0e361a5219164b08b850a30392d (patch) | |
tree | 79a47fda381fa8fc4db28e0e93e7f991d13e5ab7 /tests | |
parent | accdec4ab34ece7b4a0aa3c34055fdaafd4fde08 (diff) |
Allow period used to generate scheduled report to be different from email schedule. (#13832)
* Allow period used to generate scheduled report to be different from email schedule.
* Apply review feedback.
* Add quick test.
* Update UI tests, fix for random failure.
* Update expected screenshot.
Diffstat (limited to 'tests')
3 files changed, 6 insertions, 4 deletions
diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_api_listing.png b/tests/UI/expected-screenshots/UIIntegrationTest_api_listing.png index 2c93fe73ed..a8c7414941 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_api_listing.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_api_listing.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42b762437323bdd584d2f9a5cdeb2eeeb70af5b7093c270687f0409fe2e77035 -size 4878901 +oid sha256:491bb5a3a774c5335bb8dcc92f37d04296f7af131baf9148d875d3ec97893d0c +size 4881326 diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_email_reports_editor.png b/tests/UI/expected-screenshots/UIIntegrationTest_email_reports_editor.png index fa52d2017a..e9c719ef7e 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_email_reports_editor.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_email_reports_editor.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a5cb44c0889c518cdbe263c24dc4d47dabcf481940f8f69511a5e3a0b4cb7721 -size 424507 +oid sha256:dcf0f4cd6d2b0011c0d01a414c2c61c9196151556d3966635de9c2c81f51f711 +size 462107 diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js index 817e41ccaa..408f2f5932 100644 --- a/tests/UI/specs/UIIntegration_spec.js +++ b/tests/UI/specs/UIIntegration_spec.js @@ -833,6 +833,8 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik? await visitorsOT.click(); await page.waitForNetworkIdle(); + await page.waitFor('.widgetpreview-preview .widget', { visible: true }); + await page.evaluate(function () { $('.formEmbedCode').each(function () { var val = $(this).val(); |