mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
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();
|
||
|
}
|