mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
5764174087
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5535 GitOrigin-RevId: 0544edf4d8fdd1a6a8cc326a8b107ee47d2389c3
40 lines
1.3 KiB
TypeScript
40 lines
1.3 KiB
TypeScript
import { viewOnboarding, hideNow, dontShowAgain } from './spec';
|
|
import { testMode } from '../../helpers/common';
|
|
import { setMetaData } from '../validators/validators';
|
|
import { getIndexRoute } from '../../helpers/dataHelpers';
|
|
|
|
const setup = () => {
|
|
// Temporarily skipped because of its flakiness, see: https://github.com/hasura/graphql-engine-mono/issues/5433
|
|
// TODO: Fix and restore it
|
|
describe.skip('Setup route', () => {
|
|
it('Visit the index route', () => {
|
|
cy.visit(getIndexRoute());
|
|
setMetaData();
|
|
});
|
|
});
|
|
};
|
|
|
|
export const runActionsTests = () => {
|
|
describe('onboarding', () => {
|
|
// Temporarily skipped because of its flakiness, see: https://github.com/hasura/graphql-engine-mono/issues/5433
|
|
// TODO: Fix and restore it
|
|
it.skip('should show onboarding guide', viewOnboarding);
|
|
|
|
// Temporarily skipped because of its flakiness, see: https://github.com/hasura/graphql-engine-mono/issues/5433
|
|
// TODO: Fix and restore it
|
|
it.skip('should hide when user click on Hide Now', hideNow);
|
|
|
|
// Temporarily skipped because of its flakiness, see: https://github.com/hasura/graphql-engine-mono/issues/5433
|
|
// TODO: Fix and restore it
|
|
it.skip(
|
|
'should hide forever when user click on Dont Show again',
|
|
dontShowAgain
|
|
);
|
|
});
|
|
};
|
|
|
|
if (testMode !== 'cli') {
|
|
setup();
|
|
runActionsTests();
|
|
}
|