Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed Jun 3, 2024
1 parent e5503f3 commit 0f039be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/wifi.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('Wi-Fi Commands [@device,@wifi]', () => {
it('Joins a Wi-Fi network', async () => {
const { stdout, stderr, exitCode } = await cli.run(['wifi', 'join', '--file', WIFI_CREDS_FILE]);

expect(stdout).to.include(`Wi-Fi network '${WIFI_SSID}' configured and joined successfully.`);
expect(stdout).to.include(`Wi-Fi network '${WIFI_SSID}' configured successfully. Attempting to join...\nUse particle wifi current to check the current network.`);
expect(stderr).to.equal('');
expect(exitCode).to.equal(0);
});
Expand All @@ -78,7 +78,7 @@ describe('Wi-Fi Commands [@device,@wifi]', () => {
const { stdout, stderr, exitCode } = await cli.run(['wifi', 'join', '--ssid', WIFI_SSID]);

expect(listStdout).to.include(WIFI_SSID);
expect(stdout).to.include(`Wi-Fi network '${WIFI_SSID}' joined successfully.`);
expect(stdout).to.include(`Wi-Fi network '${WIFI_SSID}' configured successfully. Attemping to join...\nUse \'particle wifi current\' to check the current network.`);
expect(stderr).to.equal('');
expect(exitCode).to.equal(0);
});
Expand Down

0 comments on commit 0f039be

Please sign in to comment.