Skip to content

Run frontend server tests and fix failures #1658

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

Merged

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Jun 16, 2022

  • Update frontend_server_common infrastructure to behave similar to flutter tools
  • Serve the app from a base directory if specified in index.html
  • Add test code for index.html with base
  • Pass the root instead of the tab url in several places, simplify dart_uri.dart to match
  • Fix issues discovered in tests

Closes: #1657

@annagrin annagrin requested a review from elliette June 16, 2022 00:58
@@ -71,9 +86,10 @@ void testAll({
setUpAll(() async {
setCurrentLogWriter(debug: debug);
await context.setUp(
compilationMode: compilationMode,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the main issue that caused the tests not to run using frontend server. The rest of changes are fixing the failing tests that use a base in index.html after enabling them.

@annagrin
Copy link
Contributor Author

Temporarily disabled windows tests that use base in their index.html due to dart-lang/sdk#49277

@annagrin annagrin requested review from devoncarew and grouma June 17, 2022 16:52
Copy link
Contributor

@elliette elliette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[dwds] frontend server evaluation tests are not running
2 participants