From 34b11194227783f326dbc77c50fb70638ddec357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Rivet?= Date: Fri, 18 Dec 2020 09:56:21 -0500 Subject: [PATCH] Updating CI Python images (#1507) --- .circleci/config.yml | 18 +++++++++--------- dash/testing/browser.py | 1 + tests/integration/renderer/test_iframe.py | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 072b75ed35..63e3db2308 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ jobs: artifacts: docker: - - image: circleci/python:3.7.6-stretch-node-browsers + - image: circleci/python:3.7.9-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -33,7 +33,7 @@ jobs: lint-unit-37: &lint-unit working_directory: ~/dash docker: - - image: circleci/python:3.7.6-stretch-node-browsers + - image: circleci/python:3.7.9-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -73,7 +73,7 @@ jobs: lint-unit-36: <<: *lint-unit docker: - - image: circleci/python:3.6.9-stretch-node-browsers + - image: circleci/python:3.6.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -95,7 +95,7 @@ jobs: build-core-37: &build-core working_directory: ~/dash docker: - - image: circleci/python:3.7.6-stretch-node-browsers + - image: circleci/python:3.7.9-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -133,7 +133,7 @@ jobs: build-core-36: <<: *build-core docker: - - image: circleci/python:3.6.9-stretch-node-browsers + - image: circleci/python:3.6.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -153,7 +153,7 @@ jobs: build-misc-37: &build-misc working_directory: ~/dash docker: - - image: circleci/python:3.7.6-stretch-node-browsers + - image: circleci/python:3.7.9-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -192,7 +192,7 @@ jobs: build-misc-36: <<: *build-misc docker: - - image: circleci/python:3.6.9-stretch-node-browsers + - image: circleci/python:3.6.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -341,7 +341,7 @@ jobs: test-37: &test working_directory: ~/dash docker: - - image: circleci/python:3.7.6-stretch-node-browsers + - image: circleci/python:3.7.9-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -386,7 +386,7 @@ jobs: test-36: <<: *test docker: - - image: circleci/python:3.6.9-stretch-node-browsers + - image: circleci/python:3.6.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB diff --git a/dash/testing/browser.py b/dash/testing/browser.py index e498617303..4a09d2a19b 100644 --- a/dash/testing/browser.py +++ b/dash/testing/browser.py @@ -431,6 +431,7 @@ def _get_chrome(self): capabilities = DesiredCapabilities.CHROME capabilities["loggingPrefs"] = {"browser": "SEVERE"} + capabilities["goog:loggingPrefs"] = {"browser": "SEVERE"} if "DASH_TEST_CHROMEPATH" in os.environ: options.binary_location = os.environ["DASH_TEST_CHROMEPATH"] diff --git a/tests/integration/renderer/test_iframe.py b/tests/integration/renderer/test_iframe.py index 9cabc9a13b..189209f4a1 100644 --- a/tests/integration/renderer/test_iframe.py +++ b/tests/integration/renderer/test_iframe.py @@ -57,4 +57,4 @@ def apply_cors(response): dash_duo.wait_for_element_by_id("btn").click() dash_duo.wait_for_element("#output-0").text == "0=1" - assert len(dash_duo.get_logs()) != 0 + assert dash_duo.get_logs() == []