-
Notifications
You must be signed in to change notification settings - Fork 306
Open
Labels
needs-verificationNeeds to be verifiedNeeds to be verified
Description
Expected behavior
Pin a particular browser version on a remote Selenium grid.
"environments": [
{
"browserName": "chrome",
"browserVersion": "87.0.4280.66"
}
]Current behavior
Error: Invalid alias syntax "87.0.4280.66"
at resolveVersionAlias @ src/lib/resolveEnvironments.ts:174:10
@ src/lib/resolveEnvironments.ts:312:23
at Array.map @ anonymous
at resolveVersions @ src/lib/resolveEnvironments.ts:311:42
@ src/lib/resolveEnvironments.ts:36:27
at Array.map @ anonymous
at Object.resolveEnvironments [as default] @ src/lib/resolveEnvironments.ts:35:48
@ src/lib/executors/Node.ts:858:12
@ node_modules/@theintern/common/index.js:16:7174
Setting to "87" throws an error on the grid as it is not an exact match.
Possible solution
Remove number validation if it is not necessary for other services.
| throw new Error('Invalid alias syntax "' + version + '"'); |
Intern: 4.8.4
Metadata
Metadata
Assignees
Labels
needs-verificationNeeds to be verifiedNeeds to be verified