Skip to content

Commit 7735a1d

Browse files
committed
fix exception message
1 parent dad5df6 commit 7735a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/services/remote/remote.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function RemoteProvider({ getService }: FtrProviderContext) {
4444
try {
4545
await driver.executeScript(`window.${storageType}.clear();`);
4646
} catch (error) {
47-
if (!error.message.includes(`Failed to read the ${storageType} property from 'Window'`)) {
47+
if (!error.message.includes(`Failed to read the '${storageType}' property from 'Window'`)) {
4848
throw error;
4949
}
5050
}

0 commit comments

Comments
 (0)