Skip to content

Commit

Permalink
Merge branch 'develop' into feature/rebased-standalone-search-bar
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeyer2115 authored Aug 18, 2021
2 parents 2f63d2c + 7d35d6d commit 2995740
Show file tree
Hide file tree
Showing 11 changed files with 275 additions and 157 deletions.
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ jobs:
- attach_workspace:
at: ~/answers
- run: ./.circleci/run_browserstack_acceptance.sh
useragent_acceptance_test:
docker:
- image: circleci/node:14.5-browsers
working_directory: ~/answers
steps:
- setup-workspace
- attach_workspace:
at: ~/answers
- run: ./.circleci/run_useragent_acceptance.sh
# verify all translations are present
translation_test:
docker:
Expand Down Expand Up @@ -188,13 +197,17 @@ workflows:
- browserstack_acceptance_test:
requires:
- build
- useragent_acceptance_test:
requires:
- build
- translation_test:
requires:
- build
- deploy_branch:
requires:
- unit_test
- browserstack_acceptance_test
- useragent_acceptance_test
- headless_acceptance_test
build_and_deploy_i18n:
jobs:
Expand All @@ -216,6 +229,9 @@ workflows:
- browserstack_acceptance_test:
requires:
- build_i18n
- useragent_acceptance_test:
requires:
- build_i18n
- translation_test:
requires:
- build_i18n
Expand All @@ -227,6 +243,7 @@ workflows:
requires:
- unit_test
- browserstack_acceptance_test
- useragent_acceptance_test
- headless_acceptance_test
- translation_test
- deploy_canary:
Expand All @@ -237,6 +254,7 @@ workflows:
- unit_test
- headless_acceptance_test
- browserstack_acceptance_test
- useragent_acceptance_test
build_and_deploy_hold:
jobs:
- build_i18n:
Expand Down Expand Up @@ -264,6 +282,12 @@ workflows:
only: /^v.*/
requires:
- build_i18n
- useragent_acceptance_test:
filters:
tags:
only: /^v.*/
requires:
- build_i18n
- translation_test:
filters:
tags:
Expand All @@ -278,6 +302,7 @@ workflows:
requires:
- unit_test
- browserstack_acceptance_test
- useragent_acceptance_test
- headless_acceptance_test
- translation_test
- deploy_latest:
Expand Down
4 changes: 2 additions & 2 deletions .circleci/run_browserstack_acceptance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [[ $CIRCLE_BRANCH == release/*
|| $CIRCLE_BRANCH == master
|| $CIRCLE_BRANCH == support/* ]]
then
npx testcafe "browserstack:ie@11.0,browserstack:safari" --config-file ./.circleci/testcafe.json
npx testcafe "browserstack:ie@11.0,browserstack:safari" --config-file ./.circleci/testcafe.json -q
else
npx testcafe -c 2 "browserstack:ie@11.0" --config-file ./.circleci/testcafe.json
npx testcafe -c 2 "browserstack:ie@11.0" --config-file ./.circleci/testcafe.json -q
fi
4 changes: 2 additions & 2 deletions .circleci/run_headless_acceptance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [[ $CIRCLE_BRANCH == release/*
|| $CIRCLE_BRANCH == master
|| $CIRCLE_BRANCH == support/* ]]
then
npx testcafe -c 3 "chrome:headless,firefox:headless" --config-file ./.circleci/testcafe.json
npx testcafe -c 3 "chrome:headless,firefox:headless" --config-file ./.circleci/testcafe.json -q
else
npx testcafe -c 3 "chrome:headless" --config-file ./.circleci/testcafe.json
npx testcafe -c 3 "chrome:headless" --config-file ./.circleci/testcafe.json -q
fi
8 changes: 8 additions & 0 deletions .circleci/run_useragent_acceptance.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
export BROWSERSTACK_USE_AUTOMATE="1"
export BROWSERSTACK_PROJECT_NAME="Answers SDK"
export BROWSERSTACK_BUILD_ID="${CIRCLE_BRANCH} - ${CIRCLE_BUILD_NUM}"
COMMIT_MSG_TITLE=$(git log -n 1 --pretty=format:%s)
export BROWSERSTACK_TEST_RUN_NAME=$COMMIT_MSG_TITLE

npx testcafe chrome:headless,firefox:headless,browserstack:safari,browserstack:edge tests/acceptance/useragent/useragentsuite.js --config-file ./.circleci/testcafe.json
1 change: 0 additions & 1 deletion .circleci/testcafe.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"src": ["tests/acceptance/acceptancesuites/*.js", "!tests/acceptance/acceptancesuites/searchbaronlysuite.js"],
"quarantineMode": true,
"appCommand": "npx serve -l tcp://0.0.0.0:9999",
"appInitDelay": 4000
}
2 changes: 1 addition & 1 deletion conf/i18n/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ msgstr ""
msgid "Showing <em class=\"yxt-AlternativeVerticals-noResultsInfo--emphasized\">all [[currentVerticalLabel]]</em> instead."
msgstr ""

#: src/ui/speechrecognition/speechrecognizer.js:96
#: src/ui/speechrecognition/speechrecognizer.js:95
msgid "Speech Recognition is not available."
msgstr ""

Expand Down
Loading

0 comments on commit 2995740

Please sign in to comment.