diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-10-29 14:23:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 14:23:16 +0300 |
commit | 67d7df05b92f6bc19f0be034a861caf5d85dc2c1 (patch) | |
tree | 622283d5f86eed5477cc00fdcf74170c4a79dfd0 /plugins/Live/tests/UI | |
parent | 31a5d09719182fde26f59aeccf0292576b2fb7cf (diff) |
Fix failing tests (#16629)
* updates expected test files
* fix ui test
Diffstat (limited to 'plugins/Live/tests/UI')
-rw-r--r-- | plugins/Live/tests/UI/DeactivatedFeatures_spec.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Live/tests/UI/DeactivatedFeatures_spec.js b/plugins/Live/tests/UI/DeactivatedFeatures_spec.js index d5febac4b9..508dfbe26f 100644 --- a/plugins/Live/tests/UI/DeactivatedFeatures_spec.js +++ b/plugins/Live/tests/UI/DeactivatedFeatures_spec.js @@ -256,10 +256,10 @@ describe("DeactivatedFeatures", function () { await page.goto("?module=CoreAdminHome&action=generalSettings"); await page.waitForNetworkIdle(); - const log = await page.$('#LivePluginSettings #activate_visitor_log'); + const log = await page.$('#LivePluginSettings #disable_visitor_log'); expect(log).to.be.ok; - const profile = await page.$('#LivePluginSettings #activate_visitor_profile'); + const profile = await page.$('#LivePluginSettings #disable_visitor_profile'); expect(profile).to.be.ok; }); @@ -268,10 +268,10 @@ describe("DeactivatedFeatures", function () { await page.reload(); await page.waitForNetworkIdle(); - const log = await page.$('#LivePluginSettings #activate_visitor_log'); + const log = await page.$('#LivePluginSettings #disable_visitor_log'); expect(log).to.be.not.ok; - const profile = await page.$('#LivePluginSettings #activate_visitor_profile'); + const profile = await page.$('#LivePluginSettings #disable_visitor_profile'); expect(profile).to.be.not.ok; }); @@ -281,10 +281,10 @@ describe("DeactivatedFeatures", function () { await page.click('[idsite="1"] .icon-edit'); await page.waitForNetworkIdle(); - const log = await page.$('[idsite="1"] #activate_visitor_log'); + const log = await page.$('[idsite="1"] #disable_visitor_log'); expect(log).to.be.ok; - const profile = await page.$('[idsite="1"] #activate_visitor_profile'); + const profile = await page.$('[idsite="1"] #disable_visitor_profile'); expect(profile).to.be.ok; }); @@ -295,10 +295,10 @@ describe("DeactivatedFeatures", function () { await page.click('[idsite="1"] .icon-edit'); await page.waitForNetworkIdle(); - const log = await page.$('[idsite="1"] #activate_visitor_log'); + const log = await page.$('[idsite="1"] #disable_visitor_log'); expect(log).to.be.not.ok; - const profile = await page.$('[idsite="1"] #activate_visitor_profile'); + const profile = await page.$('[idsite="1"] #disable_visitor_profile'); expect(profile).to.be.not.ok; }); |