Coder Social home page Coder Social logo

puppeteer / ispuppeteerwebdriverbidiready Goto Github PK

View Code? Open in Web Editor NEW
42.0 8.0 10.0 38.86 MB

Home Page: https://puppeteer.github.io/ispuppeteerwebdriverbidiready/

License: Apache License 2.0

HTML 15.85% JavaScript 80.14% Shell 4.00%
puppeteer webdriver-bidi

ispuppeteerwebdriverbidiready's Introduction

ispuppeteerwebdriverbidiready's People

Contributors

dependabot[bot] avatar hanselfmu avatar juliandescottes avatar lightning00blade avatar mathiasbynens avatar orkon avatar whimboo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ispuppeteerwebdriverbidiready's Issues

Count multiple expectation status as failure

Right now the graph doesn't display those test results that have multiple statuses in the expected json file. This actually leaves a disconnect behind, which makes it hard to explain.

@mathiasbynens could we please count multiple status entries as failures instead?

Thanks!

Display historical data of test expectations as graph

To improve the page to display current numbers and not those from the local copy of the expected data, we could do the following:

  1. Grab the JSON history data of the file

  2. For each entry:
    2.1. Retrieve the push date via entry[index][pushdate][0]
    2.2. Extract the revision via entry[index][node] and request the raw content of the file

  3. The number of PASS, FAIL, SKIP, and total tests could be then displayed in a graph like:

Screenshot 2020-05-13 at 09 42 34

I assume that requesting the data via fetch will work cross-domain? If that is the case it shouldn't be that hard to get a nice status history displayed.

Any suggestions for such a library we could use for the graphs?

Link to the Firefox delta graphs from the front page (instead of directly to the json file)

With the changes from #25 we got two new graphs added:

Sadly both are not accessible from the front page. My suggestion would be to add a link to the delta page from the front page via the Firefox (WebDriver BiDi) has XXX failing or skipped tests. The link to the JSON file we could then show on that particular delta page only.

@OrKoN @juliandescottes

Extend timeline of the graph to a reasonable amount of days

Right now the graph only shows the most recent 8 results and makes it impossible to actually overview the improvements that we have made over the last milestone (3 months duration). It would be great to extend the timeline to at least some (4?) weeks if possible.

We would appreciate if that could be done. Maybe it requires a different type of graph, which just displays two lines?

CC @OrKoN

Use Puppeteer's own test expectations file

Since the Puppeteer 17.1.3 release Puppeteer has a new expectation file:
https://github.com/puppeteer/puppeteer/blob/main/test/TestExpectations.json

Given that we consider dropping our own expectation file, which is currently used to build the data for ispuppeteerfirefoxready, the code in this repository should probably use the Puppeteer's own file.

@mathiasbynens what do you think? Should we change it, or maybe abandon this page? After talking to @OrKoN he had the idea with ispuppeteerbidiready instead.

Not correct reports for `skipped` test

I was looking around what test are still need for this and it seems that there is one more thing to consider when getting the correct data.
Some tests are disabled globally with it.only and not from TestExpecations.json.
The fix should be straight forward:
Get the Chrome CDP skipped test and remove them from failing and skipped for BiDi, not we should not remove them from passing as we already have test that pass in BiDi but fail in CDP.
I believe if the test is skipped in all 3 places we should remove its count from the dashboard as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.