mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
31fd4a3df2
https://github.com/hasura/graphql-engine-mono/pull/1985 Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com> GitOrigin-RevId: 9d71ff7624346395c91720bca260a5219622555e
22 lines
585 B
TypeScript
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();
|
|
}
|