Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UI/specs/MeasurableManager_spec.js')
-rw-r--r--tests/UI/specs/MeasurableManager_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/UI/specs/MeasurableManager_spec.js b/tests/UI/specs/MeasurableManager_spec.js
index 500f2c0acc..74c1c1f97f 100644
--- a/tests/UI/specs/MeasurableManager_spec.js
+++ b/tests/UI/specs/MeasurableManager_spec.js
@@ -21,7 +21,7 @@ describe("MeasurableManager", function () {
function assertScreenshotEquals(screenshotName, done, test)
{
- expect.screenshot(screenshotName).to.be.captureSelector('.sitesManagerList,.sitesButtonBar,.sites-manager-header,.ui-dialog.ui-widget', test, done);
+ expect.screenshot(screenshotName).to.be.captureSelector('.sitesManagerList,.sitesButtonBar,.sites-manager-header,.ui-dialog.ui-widget,.modal.open', test, done);
}
it("should load correctly and should not use SitesManager wording as another type is enabled", function (done) {
@@ -45,7 +45,7 @@ describe("MeasurableManager", function () {
it("should load mobile app specific fields", function (done) {
assertScreenshotEquals("add_measurable_view", done, function (page) {
- page.click('.ui-dialog-content button:contains(Mobile App)');
+ page.click('.modal.open .btn:contains(Mobile App)');
page.evaluate(function () {
$('.form-help:contains(UTC time is)').hide();
});