mirror of
https://github.com/hanzo-ml/katib.git
synced 2026-09-24 00:31:27 +00:00
15 lines
436 B
TypeScript
15 lines
436 B
TypeScript
describe('New Experiment form page', () => {
|
|
beforeEach(() => {
|
|
cy.mockDashboardRequest();
|
|
cy.mockTrialTemplate();
|
|
});
|
|
|
|
it('New Experiment form page loads template without errors', () => {
|
|
cy.visit('/new');
|
|
cy.wait(['@mockDashboardRequest', '@mockTrialTemplate']);
|
|
|
|
// after fetching the data the page should not have an error snackbar
|
|
cy.get('[data-cy-snack-status=ERROR]').should('not.exist');
|
|
});
|
|
});
|