Skip to content

Commit

Permalink
chore: minor update to test title
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshusinghs committed Dec 11, 2023
1 parent 5e8cf73 commit 1a3145b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/suite/views/webview-app/overview-page.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe('OverviewPage test suite', function () {
expect(screen.queryByTestId(connectionFormTestId)).to.not.exist;
});

it('should not on results from other connection attempts', function () {
it('should not display results from other connection attempts', function () {
render(<OverviewPage />);
screen.getByText('Open form').click();
screen.getByTestId('connect-button').click();
Expand All @@ -121,7 +121,7 @@ describe('OverviewPage test suite', function () {
new MessageEvent('message', {
data: {
command: MESSAGE_TYPES.CONNECT_RESULT,
connectionAttemptId: 1,
connectionAttemptId: 1, // different from the attempt id generated by our click
connectionSuccess: true,
connectionMessage: '',
},
Expand All @@ -136,7 +136,7 @@ describe('OverviewPage test suite', function () {
new MessageEvent('message', {
data: {
command: MESSAGE_TYPES.CONNECT_RESULT,
connectionAttemptId: 2,
connectionAttemptId: 2, // different from the attempt id generated by our click
connectionSuccess: false,
connectionMessage: 'something bad happened',
},
Expand Down

0 comments on commit 1a3145b

Please sign in to comment.