graphql-engine/console/cypress/e2e/settings/metadata/insecure-domain/test.ts
Stefano Magni fc753ffb42 console: Update Cypress to v10 and run the migration guide
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4849
GitOrigin-RevId: 10e0fd62344a0c5c7028ad480b747b7f64c9c773
2022-07-05 08:51:35 +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();
}