Skip to content

Commit

Permalink
Fix testWebExtensionApi maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyjanenorton committed Sep 8, 2024
1 parent aea59c7 commit fd8f2f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/testWebExtensionApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('WebExtension API', function() {
await vpn.waitForCondition(async () => {
sentToClient(new ExtensionMessage('status'), sock);
const msg = await readResponseOfType('status', messagePipe);
return msg.status.vpn === 'StateOn';
return msg.status.vpn === 'StateOnPartial';
});
const currentstate =
await vpn.getMozillaProperty('Mozilla.VPN', 'VPNController', 'state');
Expand All @@ -53,7 +53,7 @@ describe('WebExtension API', function() {
await vpn.waitForCondition(async () => {
sentToClient(new ExtensionMessage('status'), sock);
const msg = await readResponseOfType('status', messagePipe);
return msg.status.vpn === 'StateOn';
return msg.status.vpn === 'StateOnPartial';
});
sentToClient(new ExtensionMessage('deactivate'), sock);
await vpn.waitForCondition(async () => {
Expand Down

0 comments on commit fd8f2f6

Please sign in to comment.