Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Download tests are failing on master since 0.20.x #11516

Closed
luixxiul opened this issue Oct 14, 2017 · 2 comments
Closed

Download tests are failing on master since 0.20.x #11516

luixxiul opened this issue Oct 14, 2017 · 2 comments
Assignees

Comments

@luixxiul
Copy link
Contributor

luixxiul commented Oct 14, 2017

Description

Download tests are failing on master since 0.20.x

0.19.x - passes: https://travis-ci.org/brave/browser-laptop/jobs/287397620#L3365
0.20.x - fails: https://travis-ci.org/brave/browser-laptop/jobs/287397555#L3896
0.21.x - fails: https://travis-ci.org/brave/browser-laptop/jobs/287397454#L3886
master - fails: https://travis-ci.org/brave/browser-laptop/jobs/287396823#L4067

Upgrade to C62
https://travis-ci.org/brave/browser-laptop/builds/287360179

Steps to Reproduce

  1. npm run test -- --grep='Downloads'
  2. on 0.20.x, npm run test -- --grep='downloadItem test'

Actual result:

  61 passing (9m)
  10 pending
  15 failing

  1) Downloads Location and file naming tests check if first download completes:
     Promise was rejected with the following reason: timeout
  Error

  2) Downloads Location and file naming tests check if second download completes and is renamed:
     Promise was rejected with the following reason: timeout
  Error

  3) Downloads Item and bar tests check if download bar is shown:
     Promise was rejected with the following reason: timeout
  Error

  4) Downloads Item and bar tests check if you can pause download:
     Error: An element could not be located on the page using the given search parameters.
      at element(".downloadItem") - moveToObject.js:47:17
      at waitForElementCount("[data-test-id="resumeButton"]", 1) - downloadItemTest.js:101:10

  5) Downloads Item and bar tests check if you can resume download:
     Error: Promise was rejected with the following reason: timeout
      at elements("[data-test-id="resumeButton"]") - brave.js:429:21

  6) Downloads Item and bar tests check if you can cancel download:
     Error: Promise was rejected with the following reason: timeout
      at elements("[data-test-id="pauseButton"]") - brave.js:429:21

  7) Downloads Item and bar tests check if you can re-download:
     Error: Promise was rejected with the following reason: timeout
      at elements("[data-test-id="redownloadButton"]") - brave.js:429:21

  8) Downloads Item and bar tests check if you can remove item from the list:
     Error: An element could not be located on the page using the given search parameters.
      at element(".downloadItem") - moveToObject.js:47:17
      at waitForElementCount(".downloadsBar", 0) - downloadItemTest.js:132:10

  9) Downloads Item and bar tests check if you can delete downloaded item:
     Error: Promise was rejected with the following reason: timeout
      at elements(".downloadsBar") - brave.js:429:21

Expected result:

Reproduces how often: [What percentage of the time does it reproduce?]

Brave Version

about:brave info:

Reproducible on current live release:

Additional Information

#10458

@luixxiul luixxiul changed the title Download tests are failing on master Download tests are failing on master since 0.20.x Oct 14, 2017
@luixxiul luixxiul added this to the 0.20.x (Beta Channel) milestone Oct 14, 2017
@luixxiul
Copy link
Contributor Author

Bumping up the milestone as this might be duping to #11518 and #11511

@luixxiul luixxiul modified the milestones: 0.20.x (Beta Channel), 0.19.x Hotfix 2 (Release channel) Oct 14, 2017
@bbondy bbondy modified the milestones: 0.20.x (Beta Channel), Backlog Oct 27, 2017
@luixxiul luixxiul added the 0.20.x issue first seen in 0.20.x label Nov 1, 2017
@luixxiul
Copy link
Contributor Author

Currently it works, so closing for now.

https://travis-ci.org/brave/browser-laptop/jobs/305196711#L5700

@luixxiul luixxiul removed this from the Triage Backlog milestone Nov 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants