dart-lang / dart-lang/test

Allow tests to identify the TestPlatform they are being run on.

Open
#105 1 comment 1 reaction 0 assignees View on GitHub
type-enhancement
Dominant language
Dart
Stars
536
Forks
232
Avg merge
1d 10h
Merged PRs (30d)
10

Description

I am working on an in-browser/webdriver hybrid testing method. This requires exposing a WebDriver API from the test server for each browser. From within the test, I need to know which of those WebDriver sessions to connect to (if running with multiple platforms simultaneously).

My current idea is to make the session id match up with the platform id. Then if I could grab the platform id in the test, I could create the correct webdriver client object.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the test server's per-browser WebDriver sessions and the TestPlatform API, since no files or tests are identified in the issue. Determine how a running test could receive its platform identifier and how that maps to the correct session; done means tests can reliably select the matching WebDriver client when multiple platforms run simultaneously.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.