mirror of
https://github.com/hasura/graphql-engine.git
synced 2025-01-05 22:34:22 +03:00
fc753ffb42
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4849 GitOrigin-RevId: 10e0fd62344a0c5c7028ad480b747b7f64c9c773
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();
|
|
}
|