Skip to content

Commit

Permalink
test: add intentional failures
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Feb 20, 2025
1 parent ae11347 commit c0a4ed8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test/suite/views/webview-app/app.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import App from '../../../../views/webview-app/app';

describe('App Component Test Suite', () => {
it('it renders the overview page', () => {
expect.fail('this is meant to fail');
render(<App />);
expect(screen.getByTestId('overview-page')).to.exist;
});
Expand Down
1 change: 1 addition & 0 deletions src/test/suite/views/webview-app/atlas-cta.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ describe('AtlasCta test suite', function () {
});

it('should render Atlas CTA', function () {
expect.fail('this is meant to fail');
render(<AtlasCta />);
expect(screen.getByText('Create free cluster')).to.not.be.null;
expect(screen.getByTestId('link-atlas')).to.not.be.null;
Expand Down

0 comments on commit c0a4ed8

Please sign in to comment.