Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run Webdriver tests from test.dart #1046

Closed
efortuna opened this issue Jan 4, 2012 · 5 comments
Closed

Unable to run Webdriver tests from test.dart #1046

efortuna opened this issue Jan 4, 2012 · 5 comments
Assignees
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test).

Comments

@efortuna
Copy link
Contributor

efortuna commented Jan 4, 2012

The original test.py script allowed you to run Selenium WebDriver tests from test.py by specifying --component=webdriver. This does not yet seem to be implemented for test.dart.

Examples, the following command worked with test.py: (apologies for the length of this command; I gave full paths to illustrate what I was doing)

./tools/test.py --component=webdriver --flag=ff --flag=--frog=/Users/efortuna/perfChart/dart/xcodebuild/Release_ia32/dart-sdk/bin/frogc --report --flag=--froglib=/Users/efortuna/perfChart/dart/xcodebuild/Release_ia32/dart-sdk/lib --timeout=20 --progress=color --mode=release language

The following command, however:
xcodebuild/Release_ia32/dart tools/test.dart --component=webdriver --flag=ff --flag=--frog=/Users/efortuna/perfChart/dart/xcodebuild/Release_ia32/dart-sdk/bin/frogc --report --flag=--froglib=/Users/efortuna/perfChart/dart/xcodebuild/Release_ia32/dart-sdk/lib --timeout=20 --progress=color --mode=release language

Causes this to print out:
Unknown value (webdriver) for option --component

@madsager
Copy link
Contributor

madsager commented Jan 4, 2012

Thanks Emily! Bill is looking into that. We will add support for this before removing the old test.py scripts.


Set owner to @whesse.
Added Accepted label.

@efortuna
Copy link
Contributor Author

efortuna commented Jan 4, 2012

Also, you may have this functionality already in test.dart, but just as a heads up for understanding the command I was running, you'll notice I'm (ab)using "--flag" (which in the python script goes to vm_flags) to specify additional information. I'm not the only one that has used this -- Siggi is using it for his "frogium" components as well, I believe.

@DartBot
Copy link

DartBot commented Jan 4, 2012

This comment was originally written by whe...@gmail.com


Yup, this is the one feature still missing. It should be easy to add tomorrow, now that I've refactored EnqueueBrowserTest. Thanks for the heads-up on --flag - I would probably have missed that.

@whesse
Copy link
Contributor

whesse commented Jan 12, 2012

Adding the --froglib-path and --frog-path variables remains to be done.

@whesse
Copy link
Contributor

whesse commented Jun 11, 2012

Added Fixed label.

@efortuna efortuna added Type-Defect area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). labels Jun 11, 2012
dart-bot pushed a commit that referenced this issue Apr 7, 2021
2021-04-07 irina.arkhipets@gmail.com Fixes #535: more nnbd tests for constant evaluation added.
2021-04-07 sgrekhov@unipro.ru Fixes #1068. Remove excessive - in a SharedOptions
2021-04-05 irina.arkhipets@gmail.com Fixes #535: more nnbd tests for constant evaluation added.
2021-04-05 irina.arkhipets@gmail.com Fixes #996: more tests added.
2021-04-05 irina.arkhipets@gmail.com Fixes #996: more tests added.
2021-04-05 irina.arkhipets@gmail.com Fixes #1067: added checks for old and new dart versions.
2021-04-05 irina.arkhipets@gmail.com Fixes #1066: added @Dart=2.12 to the initial version of the test, new test which checks recent dart behavior added.
2021-04-05 irina.arkhipets@gmail.com Fixes #1057: Expected result doe the tests with mailformed types updated.
2021-04-02 sgrekhov@unipro.ru Fixes #1062. Remove unnecessary assignment
2021-04-01 irina.arkhipets@gmail.com Fixes #1057: Expected result doe the tests with mailformed types updated.
2021-04-01 sgrekhov@unipro.ru Expected error code is fixed for Windows
2021-04-01 sgrekhov@unipro.ru Fixes #1060. Expected error message position updated
2021-04-01 sgrekhov@unipro.ru Fixes #1059. Expected error message updated
2021-04-01 sgrekhov@unipro.ru Fixes #1024. Adjust expected results for web platforms
2021-04-01 sgrekhov@unipro.ru #993. More Array tests added
2021-03-31 58489007+franklinyow@users.noreply.github.com Update LICENSE
2021-03-31 sgrekhov@unipro.ru #993. Array tests added
2021-03-31 irina.arkhipets@gmail.com Issue #1053: Missing Issue tag added, test expectation updated.
2021-03-30 irina.arkhipets@gmail.com Fixes #1054: Updated expectations for mailformed raw type variables.
2021-03-30 irina.arkhipets@gmail.com Fixes #1050: Updated expectations for mailformed raw type variables.
2021-03-30 irina.arkhipets@gmail.com Fixes #1050: Got rid of mailformed row type variable usage in i-2-b- tests.
2021-03-29 sgrekhov@unipro.ru Fixes #1043. Remove static warning as an expected result
2021-03-29 irina.arkhipets@gmail.com Fixes #1049: Correct expectation adjusted
2021-03-29 sgrekhov@unipro.ru Fixes #1048. Move tests to correct folder and change the description
2021-03-29 irina.arkhipets@gmail.com Fixes #1046: Test adjusted to work with the generic metadata feature enabled.
2021-03-29 sgrekhov@unipro.ru Fixes #1047. Change expected result to not to fail on JavaScript configurations
2021-03-29 sgrekhov@unipro.ru Fixes #1044. Change expected result to not to fail on JavaScript configurations
2021-03-26 irina.arkhipets@gmail.com Fixes #1029: Missing Issue tag added to the test.
2021-03-26 sgrekhov@unipro.ru Fixes #1042. Add check that produces different results for triple and double shifts
2021-03-26 sgrekhov@unipro.ru Fixes #1042. Fix built-in_types_t11.dart to expect correct results
2021-03-25 sgrekhov@unipro.ru Fixes #1019. Don't use type aliases in legacy libraries
2021-03-25 irina.arkhipets@gmail.com Fixes #1039: Old-style aliases corrected.
2021-03-25 sgrekhov@unipro.ru Fixes #988. Expect static type warning in a right way
2021-03-24 irina.arkhipets@gmail.com Issues #1029: Static expectation corrected.
2021-03-24 irina.arkhipets@gmail.com Issues #1035: Issue tag for the bug 45443 added.
2021-03-24 irina.arkhipets@gmail.com Merge branch 'master' of https://github.com/dart-lang/co19
2021-03-24 sgrekhov@unipro.ru #1023. Change SplayTreeMap and SplayTreeSet tests according to the new behavior
2021-03-23 sgrekhov@unipro.ru #1021. Remove expecting errors on web configurations for some negative numbers
2021-03-23 sgrekhov@unipro.ru Fixes #1034. Missed experimental flag added
2021-03-23 sgrekhov@unipro.ru #1033. Perform runtime check on big values for non-JavaScript configurations only
2021-03-23 irina.arkhipets@gmail.com Issues #1029: co19/Language/Generics/Superbounded_types/typedef3_A01_t06/02 corrected and does not expect a compile error now.

Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-mac-release-x64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-x64-try
Change-Id: I5fae01c7b48aba502da04638430f4f6de79ac745
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194241
Reviewed-by: William Hesse <whesse@google.com>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test).
Projects
None yet
Development

No branches or pull requests

4 participants