From 9f725eac59aea38bfdc7fb83d030f6086c39d2b7 Mon Sep 17 00:00:00 2001 From: keeramis Date: Wed, 29 May 2024 14:50:11 -0700 Subject: [PATCH] e2e tests pass --- 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 a51d5d851..5906041cd 100644 --- a/test/e2e/wifi.e2e.js +++ b/test/e2e/wifi.e2e.js @@ -61,7 +61,7 @@ describe('Wi-Fi Commands [@device,@wifi]', () => { it('Adds a Wi-Fi network', async () => { const { stdout, stderr, exitCode } = await cli.run(['wifi', 'add', '--file', WIFI_CREDS_FILE]); - expect(stdout).to.include(`Wi-Fi network ${WIFI_SSID}' added successfully.`); + expect(stdout).to.include(`Wi-Fi network '${WIFI_SSID}' added successfully.`); expect(stderr).to.equal(''); expect(exitCode).to.equal(0); }); @@ -116,7 +116,7 @@ describe('Wi-Fi Commands [@device,@wifi]', () => { it('Clears networks from the device', async () => { // Let the device add a network and then clear it - await cli.run(['wifi', 'add', '--ssid', WIFI_SSID]); + await cli.run(['wifi', 'add', '--file', WIFI_CREDS_FILE]); const { stdout: listStdoutBeforeClearing } = await cli.run(['wifi', 'list']); const { stdout, stderr, exitCode } = await cli.run(['wifi', 'clear']); const { stdout : listStdoutAfterClearing } = await cli.run(['wifi', 'list']);