superdesk/superdesk-client-core

View on GitHub
e2e/client/specs/suggest_spec.ts

Summary

Maintainability
A
0 mins
Test Coverage

import {monitoring} from './helpers/monitoring';
import {authoring} from './helpers/authoring';

// Live Suggest feature spec
describe('suggest', () => {
    beforeEach(() => {
        monitoring.openMonitoring();
    });

    it('should open with 0 items', () => {
        authoring.createTextItem();
        authoring.openLiveSuggest();
        expect(authoring.getSuggestedItems().count()).toBe(0);
    });
});