graphql-engine/console/cypress/integration/settings/metadata/insecure-domain/test.ts
Varun Choudhary 31fd4a3df2 console: support insecure TLS allowlist
https://github.com/hasura/graphql-engine-mono/pull/1985

Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 9d71ff7624346395c91720bca260a5219622555e
2021-08-26 14:08:14 +00:00

22 lines
585 B
TypeScript

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();
}