PR-579798: Adding Component cypress testing.

This commit is contained in:
2023-03-07 11:03:19 -06:00
parent 07d84f16a8
commit 3797b40641
10 changed files with 706 additions and 4 deletions

View File

@ -0,0 +1,16 @@
import React from 'react';
import { ProviderMock } from '@mocks';
import App from '@components/App';
describe('Testing Card Component', () => {
beforeEach(() => {
cy.mount(
<ProviderMock>
<App />
</ProviderMock>
);
});
it('Show Text', () => {
cy.get('p').contains('Edit src/frontend/InitialComponent.jsx and save to reload.');
});
});