Skip to content

Commit

Permalink
e2e tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed May 29, 2024
1 parent e901584 commit 9f725ea
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 @@ -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);
});
Expand Down Expand Up @@ -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']);
Expand Down

0 comments on commit 9f725ea

Please sign in to comment.