From 0f039be166f1904fd00287adba6cdad02480c178 Mon Sep 17 00:00:00 2001 From: keeramis Date: Mon, 3 Jun 2024 12:56:49 -0700 Subject: [PATCH] Fix e2e tests --- test/e2e/wifi.e2e.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/wifi.e2e.js b/test/e2e/wifi.e2e.js index 6bf529d88..7d03d68c8 100644 --- a/test/e2e/wifi.e2e.js +++ b/test/e2e/wifi.e2e.js @@ -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); }); @@ -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); });