diff options
Diffstat (limited to 'plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js')
-rw-r--r-- | plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js b/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js index a61bd0db2a..2847220768 100644 --- a/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js +++ b/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js @@ -283,4 +283,14 @@ describe("SegmentSelectorEditorTest", function () { expect(await page.screenshot()).to.matchImage('complex_segment'); }); + + it('should not show "AND segmented reports are pre-processed (faster, requires cron)" when enable_create_realtime_segments = 0', async () => { + testEnvironment.overrideConfig('General', 'enable_create_realtime_segments', 0); + testEnvironment.save(); + await page.goto(url); + await page.click('.segmentationContainer .title'); + await page.click('.add_new_segment'); + await page.waitForNetworkIdle(); + expect(await page.screenshotSelector(selectorsToCapture)).to.matchImage('enabled_create_realtime_segments'); + }); }); |