Skip to content

Commit 0f039be

Browse files
committed
Fix e2e tests
1 parent e5503f3 commit 0f039be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/wifi.e2e.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe('Wi-Fi Commands [@device,@wifi]', () => {
6767
it('Joins a Wi-Fi network', async () => {
6868
const { stdout, stderr, exitCode } = await cli.run(['wifi', 'join', '--file', WIFI_CREDS_FILE]);
6969

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

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

0 commit comments

Comments
 (0)