Skip to content

Enable server + browser functionality in tests #4748

@efortuna

Description

@efortuna

Right now we have two ways of running tests:

  1. from the command line with the VM (or v8, etc)
  2. in a browser.

There is a set of functionality that we're not testing, though: tests that require a local server to be running (on the VM) and also using a browser. An example might be we want to test FormData, and want to make sure the POST to the server received the data we thought we sent in the form. This requires us to fire up a server on the VM, and then open a browser (or DRT) and create a FormData and submit, which we currently can't do.

There are a lot of tests (AudioElement, FormData for example) where we're only testing very limited functionality because we don't have this in the test framework. Let's add this ability to our test framework so we can write and run better tests (and better track functionality regression)!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testCross-cutting test issues (use area- labels for specific failures; not used for package:test).closed-duplicateClosed in favor of an existing report

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions