graphql-engine/console/cypress/integration/settings/metadata/insecure-domain/test.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
585 B
TypeScript
Raw Normal View History

import { testMode } from '../../../../helpers/common';
import {
addSuccessfulInsecureDomain,
deleteInsecureDomain,
duplicateAndEmptyDomainError,
} from './spec';
export const testInsecureDomainPage = () => {
describe('Insecure Domain', () => {
it('should successfully add insecure domain', addSuccessfulInsecureDomain);
it(
'should show error on passing duplicate and empty domain name',
duplicateAndEmptyDomainError
);
it('should delete domains one by one', deleteInsecureDomain);
});
};
if (testMode !== 'cli') {
testInsecureDomainPage();
}