Skip to content

Commit

Permalink
Update Angular to 17.2 to fix security vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
sbley committed Mar 1, 2024
1 parent b11c272 commit 64819b0
Show file tree
Hide file tree
Showing 5 changed files with 4,668 additions and 4,547 deletions.
26 changes: 13 additions & 13 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
6 changes: 3 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Dependencies saved to package.json using --save, --save-dev or --save-optional will be configured with an exact
# version rather than using npm's default semver range operator.
save-exact = true
# Dependencies saved to package.json using --save, --save-dev or --save-optional will be configured with an exact
# version rather than using npm's default semver range operator.
save-exact = true
216 changes: 108 additions & 108 deletions galen.config
Original file line number Diff line number Diff line change
@@ -1,108 +1,108 @@

# Range approximation
# ~~~~~~~~~~~~~~~~~~~~~
# Defines the approximation value for ranges when using "~" in galen page specs
# This value means how many pixels or percents should it take constructing a range
# e.g. if we define approximation as 5 then the following spec:
# height: ~ 50 px
# will actually be replaced by Galen with this:
# height: 45 to 55px
galen.range.approximation=2


# Custom Listeners
# ~~~~~~~~~~~~~~~~~~~~~~~
# A comma separated list of class paths to reporting listeners
# The defined listeners will be picked up by Galen and used for reporting
#
# galen.reporting.listeners=

# Headless Mode
# ~~~~~~~~~~~~~~~~~~~~
# In some browsers it is possible to use a headless mode where no UI is needed at runtime.
# Currently only supported on Chrome and Firefox.
#
# galen.browser.headless = true

# Using page urls from last checked page in HTML report
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# This property enables the use of last page url in a page test
# Needed when for some pages on the website there is no way to open it by direct url
# galen.reporting.html.useLastPageUrls = true

# Default browser
# ~~~~~~~~~~~~~~~~~~~~~~~~
# A browser that should be used by default in case it was not specified in galen test
galen.default.browser=firefox



# Color scheme spec precision
# ~~~~~~~~~~~~~~~~~~~~~~~~
# A value between 8 and 256 for color spectrum accuracy.
spec.colorscheme.precision = 256


# Full screenshots
# ~~~~~~~~~~~~~~~~~~~~
# In some browsers it is not possible to create a complete screenshot of whole page.
# With this property enabled Galen will scroll page and make screenshots of parts of it.
# Then it will assemble it in a one big screenshot
#
galen.browser.screenshots.fullPage = false
# the following parameter is need in case the upper parameter is set to true
# it sets the amount of time in milliseconds needed for a check that the page was scrolled when taking full page screenshots
galen.browser.screenshots.fullPage.scrollWait = 0



# Color scheme spec test color range
# ~~~~~~~~~~~~~~~~~~~~~~~~~
# A value between 0 and 256 which defined the range of nearby colors
# in spectrum which will be picked up for calculating the percentage of usage
spec.colorscheme.testrange = 6



# Running in Selenium Grid
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# You can run your tests in Selenium Grid without modifying the tests.
# Just enable the "galen.browserFactory.selenium.runInGrid" property
# and Galen will always choose a Selenium Grid instead of running tests against local browsers
# Also make sure you provide the proper url to grid
#
# galen.browserFactory.selenium.runInGrid = true
# galen.browserFactory.selenium.grid.url = http://localhost:4444/wd/hub
# galen.browserFactory.selenium.grid.browser =
# galen.browserFactory.selenium.grid.browserVersion =
# galen.browserFactory.selenium.grid.platform =


# Exit with fail code in case of any failures
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
galen.use.fail.exit.code = true


# Test file extension for standard test runner
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
galen.test.suffix=.test


# JavaScript Test file extension for JavaScript test runner
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
galen.test.js.file.suffix=.test.js



# Area finder for page elements
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Defines a method of extracting location and size of web element. By default 'native' is used, which means
# that Galen will use WebElement.getLocation() and WebElement.getSize() Java methods to construct area of page element.
# But on some devices (e.g. iPhone with iOS 8.0) this would not work and there you need to switch to another method.
# All possible methods
# - native - Uses WebDriver methods for getting location and size
# - jsbased - Uses JavaScript getBoundingClientRect() function in order to get area for page element.
# - jsbased_native - Uses 'jsbased' method but in case of error goes back to 'native' method
# - custom - Uses user-defined JavaScript for getting area of page element. If you use this method, you need to also
# provide a script via galen.browser.pageElement.areaFinder.custom.script property
galen.browser.pageElement.areaFinder = native
# Range approximation
# ~~~~~~~~~~~~~~~~~~~~~
# Defines the approximation value for ranges when using "~" in galen page specs
# This value means how many pixels or percents should it take constructing a range
# e.g. if we define approximation as 5 then the following spec:
# height: ~ 50 px
# will actually be replaced by Galen with this:
# height: 45 to 55px
galen.range.approximation=2
# Custom Listeners
# ~~~~~~~~~~~~~~~~~~~~~~~
# A comma separated list of class paths to reporting listeners
# The defined listeners will be picked up by Galen and used for reporting
#
# galen.reporting.listeners=
# Headless Mode
# ~~~~~~~~~~~~~~~~~~~~
# In some browsers it is possible to use a headless mode where no UI is needed at runtime.
# Currently only supported on Chrome and Firefox.
#
# galen.browser.headless = true
# Using page urls from last checked page in HTML report
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# This property enables the use of last page url in a page test
# Needed when for some pages on the website there is no way to open it by direct url
# galen.reporting.html.useLastPageUrls = true
# Default browser
# ~~~~~~~~~~~~~~~~~~~~~~~~
# A browser that should be used by default in case it was not specified in galen test
galen.default.browser=firefox
# Color scheme spec precision
# ~~~~~~~~~~~~~~~~~~~~~~~~
# A value between 8 and 256 for color spectrum accuracy.
spec.colorscheme.precision = 256
# Full screenshots
# ~~~~~~~~~~~~~~~~~~~~
# In some browsers it is not possible to create a complete screenshot of whole page.
# With this property enabled Galen will scroll page and make screenshots of parts of it.
# Then it will assemble it in a one big screenshot
#
galen.browser.screenshots.fullPage = false
# the following parameter is need in case the upper parameter is set to true
# it sets the amount of time in milliseconds needed for a check that the page was scrolled when taking full page screenshots
galen.browser.screenshots.fullPage.scrollWait = 0
# Color scheme spec test color range
# ~~~~~~~~~~~~~~~~~~~~~~~~~
# A value between 0 and 256 which defined the range of nearby colors
# in spectrum which will be picked up for calculating the percentage of usage
spec.colorscheme.testrange = 6
# Running in Selenium Grid
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# You can run your tests in Selenium Grid without modifying the tests.
# Just enable the "galen.browserFactory.selenium.runInGrid" property
# and Galen will always choose a Selenium Grid instead of running tests against local browsers
# Also make sure you provide the proper url to grid
#
# galen.browserFactory.selenium.runInGrid = true
# galen.browserFactory.selenium.grid.url = http://localhost:4444/wd/hub
# galen.browserFactory.selenium.grid.browser =
# galen.browserFactory.selenium.grid.browserVersion =
# galen.browserFactory.selenium.grid.platform =
# Exit with fail code in case of any failures
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
galen.use.fail.exit.code = true
# Test file extension for standard test runner
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
galen.test.suffix=.test
# JavaScript Test file extension for JavaScript test runner
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
galen.test.js.file.suffix=.test.js
# Area finder for page elements
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Defines a method of extracting location and size of web element. By default 'native' is used, which means
# that Galen will use WebElement.getLocation() and WebElement.getSize() Java methods to construct area of page element.
# But on some devices (e.g. iPhone with iOS 8.0) this would not work and there you need to switch to another method.
# All possible methods
# - native - Uses WebDriver methods for getting location and size
# - jsbased - Uses JavaScript getBoundingClientRect() function in order to get area for page element.
# - jsbased_native - Uses 'jsbased' method but in case of error goes back to 'native' method
# - custom - Uses user-defined JavaScript for getting area of page element. If you use this method, you need to also
# provide a script via galen.browser.pageElement.areaFinder.custom.script property
galen.browser.pageElement.areaFinder = native
Loading

0 comments on commit 64819b0

Please sign in to comment.