Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.

Conversation

pzrq
Copy link
Contributor

@pzrq pzrq commented Nov 25, 2016

Based on mongodb-js/index-model@19eb5ce

Tested with the same Ubuntu VM @ 10% CPU execution cap scenario, this reproduces the beforeAll timeouts on master seen in mongodb-js/index-model#53 and resolves them after (and for good measure in my testing, reproduces the errors again if you go back to the before state, clearing out all mongodb-version-manager test cache files and killall mongod as well).

@pzrq pzrq changed the title Add mongodb-runner pretest Travis errors: Add mongodb-runner pretest and sudo: required Nov 25, 2016
pzrq added a commit to mongodb-js/data-service that referenced this pull request Nov 25, 2016
@pzrq
Copy link
Contributor Author

pzrq commented Nov 25, 2016

Note that mongodb-js/data-service#72 is an interesting case where we start the mongod via mongodb-runner on the non-default port 27018, which I don't know how to do via the command line, hence just extracting the mongodb-runner install npm run pretest hook as distinct from the fix in mongodb-js/index-model@19eb5ce

pzrq added a commit to mongodb-js/index-model that referenced this pull request Nov 25, 2016
pzrq added a commit to mongodb-js/collection-sample that referenced this pull request Nov 25, 2016
pzrq added a commit to mongodb-js/instance-model that referenced this pull request Nov 25, 2016
pzrq added a commit to mongodb-js/compass that referenced this pull request Nov 25, 2016
mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55
@pzrq pzrq changed the title Travis errors: Add mongodb-runner pretest and sudo: required COMPASS 443: Travis errors: Add mongodb-runner pretest and sudo: required Nov 25, 2016
pzrq added a commit to mongodb-js/compass that referenced this pull request Nov 25, 2016
mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55
pzrq added a commit to mongodb-js/compass that referenced this pull request Nov 25, 2016
mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55
pzrq added a commit to mongodb-js/compass that referenced this pull request Nov 25, 2016
mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55
durran pushed a commit to mongodb-js/data-service that referenced this pull request Nov 25, 2016
@durran durran merged commit 4970667 into master Nov 25, 2016
@durran durran deleted the pretest-install-mongodb-runner branch November 25, 2016 11:14
durran pushed a commit to mongodb-js/instance-model that referenced this pull request Nov 25, 2016
pzrq added a commit to mongodb-js/compass that referenced this pull request Nov 28, 2016
mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55
pzrq added a commit to mongodb-js/compass that referenced this pull request Nov 28, 2016
mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55
pzrq added a commit to mongodb-js/compass that referenced this pull request Nov 28, 2016
mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55
pzrq added a commit to mongodb-js/compass that referenced this pull request Nov 29, 2016
mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55
pzrq added a commit to mongodb-js/compass that referenced this pull request Nov 30, 2016
mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55
rueckstiess pushed a commit to mongodb-js/index-model that referenced this pull request Nov 30, 2016
* Standardise mongodb-runner CI

mongodb-js/connection-model#138

* Remove trailing comma
rueckstiess pushed a commit to mongodb-js/compass that referenced this pull request Nov 30, 2016
* Standardise mongodb-runner CI

mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

* Go back to the full pretest and post test hooks

Annoying as we can’t test multiple topologies, but probably a decent idea for Compass itself as we should delegate as much as possible to each public mongodb-js dependency.

Note: Needed as otherwise TravisCI hangs for 10 minutes then kills the job even though it completes with exit code 0, i.e. successfully.
e.g. https://travis-ci.com/10gen/compass/jobs/57691028

* Drop lts/boron

We can add it in when we decide we actually want to switch, as our private Travis seems to be a little under-powered at this time (build queues backing up).
rueckstiess pushed a commit to mongodb-js/collection-sample that referenced this pull request Nov 30, 2016
pzrq added a commit to mongodb-js/compass that referenced this pull request Jan 23, 2017
* Standardise mongodb-runner CI

mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

* Go back to the full pretest and post test hooks

Annoying as we can’t test multiple topologies, but probably a decent idea for Compass itself as we should delegate as much as possible to each public mongodb-js dependency.

Note: Needed as otherwise TravisCI hangs for 10 minutes then kills the job even though it completes with exit code 0, i.e. successfully.
e.g. https://travis-ci.com/10gen/compass/jobs/57691028

* Drop lts/boron

We can add it in when we decide we actually want to switch, as our private Travis seems to be a little under-powered at this time (build queues backing up).
pzrq added a commit to mongodb-js/compass that referenced this pull request Jan 25, 2017
…n Modal sometimes cause page refresh to 1.5-releases (#758)

* COMPASS-697: Backport COMPASS-666: Keyboard Enter on forms cause page refresh (#753)

NOTE: Due to merge conflicts in our rapidly evolving functional test suite since creating the 1.5.x branch, ‘data-test-id’ values and the actual code fix has been backported and manually tested, but the functional test changes have not been back ported.

* COMPASS 443: Standardise mongodb-runner CI (#633)

* Standardise mongodb-runner CI

mongodb-js/connection-model#138

NOTE: `npm run check && npm run test-unit` passes for me locally on macOS, but the functional tests `npm test ` still error with results:

  177 passing (50s)
  2 pending
  10 failing

  1) Compass #spectron when working with the application when working with collections when selecting a collection renders the sample collection in the title:
     Error: element (button[data-hook=start-button]) still not visible after 5000ms
      at elements("button[data-hook=start-button]") - isVisible.js:54:17
      at isVisible("button[data-hook=start-button]") - waitForVisible.js:37:22

  2) Compass #spectron when working with the application when working with collections when selecting a collection renders the schema tab:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#SCHEMA") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  3) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter the text in refine bar matches query:
     Error: Promise was rejected with the following reason: Error: An element could not be located on the page using the given search parameters ("input#refine_input").
      at elements("input#refine_input") - getValue.js:18:17
      at getValue("input#refine_input") - waitForValue.js:37:22

  4) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter samples the matching documents:
     Error: element (div.sampling-message) still not visible after 15000ms
      at elements("div.sampling-message") - isVisible.js:54:17
      at isVisible("div.sampling-message") - waitForVisible.js:37:22

  5) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter updates the schema view:
     Error: An element could not be located on the page using the given search parameters ("li.bubble code.selectable").
      at elements("li.bubble code.selectable") - getText.js:18:17
      at getText("li.bubble code.selectable") - compass-functional.test.js:120:16

  6) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter filters out non-matches from the document list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  7) Compass #spectron when working with the application when working with collections when selecting a collection when applying a filter includes documents that match the filter:
     Error: An element could not be located on the page using the given search parameters ("div.element-value-is-string").
      at elements("div.element-value-is-string") - getText.js:18:17
      at getText("div.element-value-is-string") - compass-functional.test.js:138:16

  8) Compass #spectron when working with the application when working with collections when working in the documents tab when viewing documents renders the documents in the list:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#DOCUMENTS") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  9) Compass #spectron when working with the application when working with collections when working in the explain tab when viewing the explain tab renders the stages:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#EXPLAIN_PLAN") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

  10) Compass #spectron when working with the application when working with collections when working in the indexes tab when viewing the indexes tab renders the indexes:
     Error: An element could not be located on the page using the given search parameters.
      at element("li#INDEXES") - click.js:12:17
      at elementIdDisplayed("0.9192226665154364-7") - isVisible.js:71:55

* Go back to the full pretest and post test hooks

Annoying as we can’t test multiple topologies, but probably a decent idea for Compass itself as we should delegate as much as possible to each public mongodb-js dependency.

Note: Needed as otherwise TravisCI hangs for 10 minutes then kills the job even though it completes with exit code 0, i.e. successfully.
e.g. https://travis-ci.com/10gen/compass/jobs/57691028

* Drop lts/boron

We can add it in when we decide we actually want to switch, as our private Travis seems to be a little under-powered at this time (build queues backing up).

* Standardise on no space

It’s that way on master, just too lazy to mine git log to cherry-pick the change that did it somewhere between 1.5 and 1.7, to pass code review comments.
#758

* Drop data-test-ids we do not need on 1.5-releases
gribnoysup pushed a commit to mongodb-js/compass that referenced this pull request Apr 26, 2021
* Standardise mongodb-runner CI

mongodb-js/connection-model#138

* Remove trailing comma
gribnoysup pushed a commit to mongodb-js/compass that referenced this pull request Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants